ac-hooks-manager
Warn
Audited by Gen Agent Trust Hub on Feb 17, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATION
Full Analysis
- COMMAND_EXECUTION (MEDIUM): The skill modifies
.claude/settings.jsonto register local shell scripts (autonomous-loop.sh,validate.sh) as persistent hooks that execute on every 'Stop', 'PreToolUse', and 'PostToolUse' event. - Evidence: The
install_hookandinstall_stop_hookfunctions programmatically update application configuration to point to executable scripts. - DATA_EXFILTRATION (LOW): The
autonomous-loop.shscript accesses sensitive session data, including conversation transcripts and current working directory state. - Evidence: The script reads
transcript_pathandcwdfrom JSON input provided during the 'Stop' event. - EXTERNAL_DOWNLOADS (LOW): The skill utilizes
npxto execute formatting tools, which may download packages at runtime. - Evidence: The 'PostToolUse' hook configuration uses
npx prettier --write "$FILE". - INDIRECT PROMPT INJECTION (LOW): The skill implements a decision-making loop that processes external transcript data to decide whether to 'block' agent termination.
- Ingestion Points:
transcript_pathis passed toanalyze.pyviaautonomous-loop.sh. - Boundary Markers: None identified; transcript content is processed as-is.
- Capability Inventory: The skill can modify local files, execute shell commands, and override agent termination logic.
- Sanitization: No sanitization of the transcript content is performed before analysis, allowing an attacker to potentially influence the 'CONTINUE' decision.
Audit Metadata