T01 · Skill Instruction Hijacking
- Location
SKILL.md:14- Finding
Untrusted Remote Instructions Are Injected into Subagent Prompts
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill openly routes work to downloaded subagents, but it can run changing remote instructions and keep them for future use without strong verification or user approval.
Install only if you are comfortable with this skill fetching third-party agent instructions from GitHub, storing them locally, and using them to steer delegated work. For sensitive repositories or security/infrastructure tasks, prefer reviewed local agents, pinned and hash-verified sources, or require explicit approval before any download or dispatch.
SKILL.md:14Untrusted Remote Instructions Are Injected into Subagent Prompts
SKILL.md:31Mutable Remote Agent Payloads Are Retrieved Without Cryptographic Integrity Verification
SKILL.md:23Untrusted Agent Instructions Are Persistently Cached and Reused Across Sessions
Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
**If download fails** (non-zero exit or empty file):
- Run: `rm -f "${AGENTS_DIR:-$HOME/.claude/agents}/AGENT_NAME.md"`
- Tell the user: "Could not download AGENT_NAME — handling this task directly."
- Do the work yourself. Do not retry.
The skill description and top-level guidance instruct the model to consult this dispatcher before a very wide range of engineering work, including security audits and code review. That broad activation scope can cause unnecessary delegation to dynamically fetched prompts, increasing the chance that untrusted remote agent content influences sensitive tasks without strong user intent or trust boundaries.
The phrase 'when you encounter a specialized task' is ambiguous and leaves routing decisions to a loose heuristic, which can trigger dispatch on many ordinary requests. In this skill, that ambiguity is more dangerous because dispatch may lead to downloading and executing instructions from external agent files, expanding the attack surface and reducing predictability.