correct
Pass
Audited by Gen Agent Trust Hub on Nov 25, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONPRIVILEGE_ESCALATIONCREDENTIALS_UNSAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runto execute management scripts and the repository's own enforcer scripts (such asscripts/branch-first-hook.py) to verify compliance with local rules. - [INDIRECT_PROMPT_INJECTION]: The skill processes a rule registry (
rules.yaml) stored in the repository to drive agent behavior and automated checks. This represents an ingestion surface where repository content influences the enforcement logic. - [PRIVILEGE_ESCALATION]: The skill's
initcommand modifies the agent's configuration file (.claude/settings.json) to register new hooks. It also manages file system permissions usingchmodto ensure its scripts are executable. - [CREDENTIALS_UNSAFE]: The certification component (
scripts/rules_canary.py) retrieves theCLAUDE_CODE_OAUTH_TOKENfrom the macOS Keychain to run automated test sessions. It includes dedicated logic (sweep_token) to redact and delete this token from any generated logs or transcripts.
Audit Metadata