self-improving-agent
Pass
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from Claude Code's auto-memory system which can contain malicious instructions from previous session logs or tool outputs.
- Ingestion points: The
memory-analystagent reads~/.claude/projects/<project-path>/memory/MEMORY.mdand associated topic files (e.g.,debugging.md,patterns.md). - Boundary markers: None identified. The agent processes the raw markdown content of memory files.
- Capability inventory: The skill uses
cat,ls, andfindto read files and verify their existence. It can also suggest permanent changes to the project'sCLAUDE.mdand.claude/rules/files. - Sanitization: No sanitization or filtering of the ingested memory content is performed before analysis.
- [DATA_EXPOSURE]: The skill accesses the
~/.claude/projects/directory, which resides outside the project workspace and contains internal agent metadata and session history. - Evidence: The
/si:reviewcommand calculates the memory path using:MEMORY_DIR="$HOME/.claude/projects/$(pwd | sed 's|/|%2F|g; s|%2F|/|; s|^/||')/memory". - [COMMAND_EXECUTION]: The skill uses shell commands and pipelines to locate and verify files on the host system.
- Evidence: Use of
sed,pwd,ls, andfindwithin thereviewskill and thememory-analystagent instructions.
Audit Metadata