rules-file-optimizer
Pass
Audited by Gen Agent Trust Hub on Nov 22, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes rule files and session transcripts which are untrusted external inputs. Malicious instructions within these files could influence the agent's behavior during the optimization phase.\n
- Ingestion points: Rules files (e.g.,
CLAUDE.md) and session transcripts (.jsonlfiles) are read by the included scripts.\n - Boundary markers: No explicit delimiters are used to isolate untrusted content during processing.\n
- Capability inventory: The agent performs file reads, script execution, and rule generation based on the input data.\n
- Sanitization: No sanitization is applied to the input text before it is analyzed or merged.\n- [DATA_EXFILTRATION]: The skill accesses session transcripts located in
~/.claude/projects/. These files contain sensitive interaction history. This access is expected for the skill's core purpose of measuring rule compliance.\n- [EXTERNAL_DOWNLOADS]: The documentation inscripts/compare_prompts.pymentions usingcurlto fetch reference rule files from GitHub repositories, though the provided code only operates on local files.
Audit Metadata