Log inGet a Demo

code-executor

High · Risk 70

The skill executes arbitrary code with excessive system permissions and lacks integrity checks, enabling prompt injection attacks to exfiltrate sensitive environment credentials and execute unauthorized system commands.

Findings (10)

Content Injection

High

targets Perception

1 finding
#1Indirect prompt injection via subagenthighindirect prompt injection80% confidence

The architecture relies on the subagent writing and executing code based on instructions provided in the 'Task' prompt. An attacker could manipulate the task description to force the subagent to execute malicious code or exfiltrate data from the MCP environment.

Task({ subagent_type: "general-purpose", prompt: `...` })

Behavioural Control

High

targets Action

3 findings
#1Subagent code execution riskhighcommand execution90% confidenceline 101

The skill instructs the agent to launch subagents that execute arbitrary TypeScript/Python code via Bash with broad permissions (--allow-read, --allow-run, --allow-env). This creates a significant risk of unauthorized system access if the subagent is compromised or manipulated via prompt injection.

deno run --allow-read --allow-run --allow-env /tmp/script.ts
#2Unverified dependency executionmediumsupply chain70% confidence

The skill encourages executing scripts from the local filesystem (`scripts/`) without integrity verification. If these scripts are modified or replaced, the subagent will execute untrusted code with the privileges of the agent.

Always reference these when launching subagents: scripts/typescript/...
#3Potential for credential exposuremediumcredential theft60% confidenceline 101

The skill mandates setting `MCP_CONFIG_PATH` to a specific file. If this configuration file contains sensitive API keys or credentials, the subagent's ability to execute arbitrary code allows it to read and potentially exfiltrate these credentials.

MCP_CONFIG_PATH=~/.claude/subagent-mcp.json

Hygiene

Low

targets Packaging & Manifest

6 findings
#1Referenced file missing from skill packagelow90% confidence

SKILL.md links to "EXAMPLES.md" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime

[EXAMPLES.md](./EXAMPLES.md)
#2Referenced file missing from skill packagelow90% confidence

SKILL.md links to "PYTHON_GUIDE.md" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime

[PYTHON_GUIDE.md](./PYTHON_GUIDE.md)
#3Referenced file missing from skill packagelow90% confidence

SKILL.md links to "REFERENCE.md" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime

[REFERENCE.md](./REFERENCE.md)
#4Referenced file missing from skill packagelow90% confidence

SKILL.md links to "SUBAGENT_SETUP.md" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime

[SUBAGENT_SETUP.md](./SUBAGENT_SETUP.md)
#5Referenced file missing from skill packagelow90% confidence

SKILL.md links to "TYPESCRIPT_GUIDE.md" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime

[TYPESCRIPT_GUIDE.md](./TYPESCRIPT_GUIDE.md)
#6Missing licenseinfo100% confidence

Skill does not specify a license field. Specifying a license helps users understand usage terms.