codegraph
Fail
Audited by Gen Agent Trust Hub on Jul 10, 2026
Risk Level: CRITICALREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill instructions direct users and agents to download and immediately execute shell scripts from a remote, unverified personal GitHub repository using high-risk piping methods.
- Evidence (macOS/Linux):
curl -fsSL https://raw.githubusercontent.com/colbymchenry/codegraph/main/install.sh | shinSKILL.mdandreferences/installation.md. - Evidence (Windows):
irm https://raw.githubusercontent.com/colbymchenry/codegraph/main/install.ps1 | iexinreferences/installation.mdandreferences/troubleshooting.md. - [EXTERNAL_DOWNLOADS]: The skill promotes the installation of a global NPM package and other scripts from an external source that is not recognized as a trusted vendor.
- Evidence:
npm i -g @colbymchenry/codegraphinreferences/installation.md. - [COMMAND_EXECUTION]: The skill requires the execution of various CLI commands that modify the local filesystem, install software into agent configurations, and host a local MCP server.
- Evidence:
codegraph install,codegraph init -i, andcodegraph serve --mcpdocumented throughoutreferences/cli-reference.md. - [PROMPT_INJECTION]: The skill presents a surface for indirect prompt injection by ingesting untrusted data (project source code) and returning it to the agent's context where malicious instructions could be embedded.
- Ingestion points: Local codebase indexing via
codegraph init -idescribed inSKILL.md. - Boundary markers: Lacks explicit delimiters to isolate indexed code from the agent's instruction set, although it uses a
⚠️staleness banner for edited files. - Capability inventory: Extensive access to project source code via MCP tools like
codegraph_exploreandcodegraph_nodewhich return code snippets to the agent. - Sanitization: No evidence of sanitization or escaping of external code content before it is processed by the AI agent.
Recommendations
- HIGH: Downloads and executes remote code from: https://raw.githubusercontent.com/colbymchenry/codegraph/main/install.sh - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata