retro
Fail
Audited by Gen Agent Trust Hub on Apr 1, 2026
Risk Level: HIGHCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
searchsubcommand is vulnerable to shell command injection. The user-providedTERMis interpolated directly into a bash command (python3 ~/.claude/scripts/learning-db.py search "TERM") without sanitization. This allows a user to execute arbitrary shell commands by including metacharacters like;,&, or$(). Additionally, thegraduatesubcommand usesTOPICandKEYvalues fetched from a database to construct a bash command (python3 ~/.claude/scripts/learning-db.py graduate TOPIC KEY "target:file/path"), which could lead to command injection if the database content is influenced by malicious input. - [PROMPT_INJECTION]: The skill contains a surface for indirect prompt injection within the
graduatesubcommand logic. - Ingestion points: Knowledge entries are read from
scripts/learning.dbvia thelearning-db.pyscript (relative to the user home directory). These entries are generated by external background processes like nightly 'auto-dream cycles'. - Boundary markers: Absent; the skill does not use delimiters or specific instructions to the agent to treat the database content as potentially unsafe data.
- Capability inventory: The skill utilizes
Bash,Edit,Read, andGreptools, providing the capability to modify files and execute commands across the repository. - Sanitization: Absent; the skill relies on the LLM's internal evaluation and a manual user approval step rather than programmatic sanitization or validation of the database content before it is written to skill files using the
Edittool.
Recommendations
- AI detected serious security threats
Audit Metadata