rules
Pass
Audited by Gen Agent Trust Hub on Aug 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from
KNOWLEDGE.jsonlfiles and session history. This data is then passed to a specialist agent (bc-rules-organizer) for processing without explicit boundary markers or sanitization instructions in the delegation prompt to prevent the agent from obeying instructions embedded in the source data.\n- [DATA_EXPOSURE]: Thescripts/rules.shscript includes areadmode that executeshead -100 "$path". There are no path restrictions implemented in the script, meaning an agent could be coerced into reading sensitive files outside the project boundary if manipulated by an attacker.\n- [COMMAND_EXECUTION]: Inreviewmode, the skill attempts to spawn a specialist reviewer agent from the project's own.claude/agents/directory. This creates a risk where a malicious repository could define an agent that performs unauthorized actions when the user invokes the rules review command.\n- [COMMAND_EXECUTION]: Therules.shscript usessedto inject values into templates. While there are internal notes about avoiding delimiter characters, the values forprefixandpathsare derived from user input, which could potentially lead to template injection or file corruption if not strictly validated by the calling agent before script execution.
Audit Metadata