Log inGet a Demo

context7

High · Risk 70

The skill is vulnerable to prompt injection via untrusted external API content and risks the exfiltration of sensitive environment variables through insecure configuration practices.

Findings (12)

Content Injection

High

targets Perception

1 finding
#1Indirect prompt injection via API responsehighprompt injection80% confidenceline 48

The skill fetches documentation content from an external REST API and presents it to the agent for processing. If the API is compromised or malicious, it can inject instructions into the agent's context, leading to arbitrary command execution or data exfiltration. [ensemble: confirmed by 3/3 passes; severity set to the agreed median (ADR-0067).]

scripts/context7.sh docs "<library-id>" "<topic>" "<mode>"

Behavioural Control

Medium

targets Action

11 findings
#1Organization name detectedmediumpii exposure50% confidence

NER model detected organization in skill content (confidence: 0.50)

O*
#2Organization name detectedmediumpii exposure51% confidence

NER model detected organization in skill content (confidence: 0.51)

D*******
#3Organization name detectedmediumpii exposure54% confidence

NER model detected organization in skill content (confidence: 0.54)

D***
#4Organization name detectedmediumpii exposure55% confidence

NER model detected organization in skill content (confidence: 0.55)

R*
#5Organization name detectedmediumpii exposure59% confidence

NER model detected organization in skill content (confidence: 0.59)

N*****
#6Organization name detectedmediumpii exposure76% confidence

NER model detected organization in skill content (confidence: 0.76)

L******
#7Organization name detectedmediumpii exposure92% confidence

NER model detected organization in skill content (confidence: 0.92)

M**
#8Network access detectedmedium80% confidence

Code contains network access patterns (HTTP requests, socket connections).

#9Organization name detectedmediumpii exposure71% confidenceline 11

NER model detected organization in skill content (confidence: 0.71)

*
#10Organization name detectedmediumpii exposure60% confidenceline 46

NER model detected organization in skill content (confidence: 0.60)

N**
#11Credential exposure via environment variablelowcredential theft60% confidenceline 86

The skill encourages users to set a CONTEXT7_API_KEY environment variable, which could be exfiltrated if the agent is compromised or if the script logs environment variables to an external endpoint.

export CONTEXT7_API_KEY="your-api-key"