tone-fix
Warn
Audited by Gen Agent Trust Hub on Oct 1, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONPERSISTENCEPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
install.pyscript and theadapters/opencode.jsfile execute shell commands usingpython3to run linting hooks, perform self-tests, and synchronize configuration changes across supported agent platforms. - [DYNAMIC_EXECUTION]: The skill utilizes dynamic execution patterns to load and run its components.
hooks/comment-lint.pyusesimportlib.utilto execute another script (commit-pr-lint.py) at runtime. Additionally,hooks/response-lint.pydynamically locates and imports a separate plugin module (metrics_v2) by modifyingsys.pathbased on the contents of the agent's plugin registry file located at~/.claude/plugins/installed_plugins.json. - [PERSISTENCE]: The
install.pyscript establishes persistence by modifying global agent configuration files, such as~/.claude/settings.json,~/.codex/hooks.json, and~/.config/opencode/opencode.json. These modifications register the skill's scripts as hooks that automatically trigger during various agent events, such as before tool execution or after a response is generated. - [PRIVILEGE_ESCALATION]: The installation process involves modifying high-level agent settings and creating symlinks within the user's home directory (e.g.,
~/.claude/rules,~/.claude/skills). This allows the skill to influence the agent's global behavior and processing logic across different projects and sessions by injecting its own rules and scripts into the host environment. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data such as code comments, commit messages, and conversation transcripts. Ingestion points include
sys.stdin, thetranscript_pathfile, andtool_inputfields. Whilestrip_protectedremoves backticks to prevent some accidental command execution, there are no robust boundary markers when the skill reflects violations back to the agent in thereasonfield. The skill possesses significant capabilities, including executing shell commands viaspawnSyncand modifying agent configuration files, making the lack of full sanitization of reflected content a potential vulnerability.
Audit Metadata