context7
Pass
Audited by Gen Agent Trust Hub on Aug 10, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
uvtool to execute a local Python script (scripts/mcpcall.py) whenever a user requests library resolution or documentation fetching. - [EXTERNAL_DOWNLOADS]: The helper script
scripts/mcpcall.pydefines standard Python dependencies (mcp,anyio,httpx,httpx-sse) in its metadata block, which are downloaded from official package registries at runtime. - [DATA_EXFILTRATION]: The skill connects to
https://mcp.context7.com/mcpto retrieve documentation. This process transmits theCONTEXT7_API_KEYprovided in the environment variable to the service provider for authentication via a Bearer token. - [PROMPT_INJECTION]: The skill acts as a surface for indirect prompt injection because it ingests third-party documentation and code examples from an external API.
- Ingestion points: Results from
session.call_toolinscripts/mcpcall.pyare output directly to the agent's context. - Boundary markers: No explicit delimiters or instructions are used to warn the agent about potential instructions embedded in the external documentation.
- Capability inventory: The script performs network requests and prints output; the risk involves the agent potentially following malicious instructions contained within the fetched content.
- Sanitization: Content from the API is processed and printed without filtering or escaping.
Audit Metadata