rules-distill
Pass
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill inventories and reads the full text of all installed skills to extract principles. If a malicious skill is present, it could contain instructions designed to influence the 'Rules Distill' process to generate harmful rules or override system behaviors.
- Ingestion points: The
scan-skills.shscript identifiesSKILL.mdfiles, and the Phase 2 instructions specify providing the full text of these skills to a subagent. - Boundary markers: The subagent prompt templates do not include explicit delimiters or 'ignore' instructions for the provided skill content, which increases the likelihood of the LLM following instructions embedded within those skills.
- Capability inventory: The agent generates drafts for appending, revising, or creating rule files (markdown files) within the
~/.claude/rules/directory. - Sanitization: There is no evidence of sanitization, filtering, or validation of the content extracted from the analyzed skills before it is passed to the subagent for processing.
Audit Metadata