rules
Pass
Audited by Gen Agent Trust Hub on Nov 4, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes session history and external knowledge files to generate or refine rules in the .claude/rules/ directory, which directly influences subsequent agent behavior within the project. 1. Ingestion points: Learning data enters the agent context via KNOWLEDGE.jsonl files, user-supplied text paths, and the current session's conversation history. 2. Boundary markers: The skill targets specific Markdown files within the project's .claude/rules/ directory, using templates to maintain structure. 3. Capability inventory: The skill utilizes Write, Edit, and Bash tools for rule file management and spawns specialized sub-agents (e.g., brewcode:bc-rules-organizer) to process findings. 4. Sanitization: The skill employs a multi-step deduplication check (similarity, antonym, and duplicate checks) and a dedicated validation script (rules.sh) to ensure the frontmatter and structural integrity of the generated rules before they are applied.
Audit Metadata