instruction-cleanup
Pass
Audited by Gen Agent Trust Hub on Oct 29, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill's primary function is to read, analyze, and rewrite instruction files such as CLAUDE.md and AGENTS.md, which could contain untrusted or malicious instructions from external sources.\n
- Ingestion points: Reads content from files including
CLAUDE.md,AGENTS.md,.claude/rules/, andMEMORY.md.\n - Boundary markers: No explicit delimiters or boundary markers are defined to isolate untrusted content during processing.\n
- Capability inventory: The skill uses file-read/write capabilities and shell command execution (
grep,touch,rm).\n - Sanitization: No sanitization or validation logic is specified for the content extracted from instruction files.\n- [COMMAND_EXECUTION]: The skill instructs the agent to execute shell commands in Phase 3 to manage a coordination flag in the system's temporary directory. These commands include
touchandrmon paths derived from project variables, and the use of subshells withprintf,cksum, andawkfor logic.
Audit Metadata