Log inGet a Demo

context7

High · Risk 70

The skill is vulnerable to prompt injection via untrusted external API content and insecurely handles API keys, risking credential exposure through environment variable persistence.

Findings (8)

Content Injection

High

targets Perception

1 finding
#1Indirect prompt injection riskhighindirect prompt injection80% confidenceline 48

The skill fetches documentation content from an external REST API and instructs the agent to process it. If the API response contains malicious instructions, the agent will execute them as part of its workflow. [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

7 findings
#1Organization name detectedmediumpii exposure56% confidence

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

A**
#2Organization name detectedmediumpii exposure63% confidence

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

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

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

L******
#4Organization name detectedmediumpii exposure99% confidence

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

M**
#5Network access detectedmedium80% confidence

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

#6Organization name detectedmediumpii exposure71% confidenceline 11

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

*
#7Credential exposure via environment variablelowcredential theft70% confidenceline 92

The skill encourages users to set a 'CONTEXT7_API_KEY' environment variable, which may be persisted in shell history or environment files, potentially exposing the key to other processes or logs.

export CONTEXT7_API_KEY="your-api-key"