Tp4
- Category
- MCP Tool Poisoning
- Confidence
- 97% confidence
- Finding
The declared description says this skill helps analyze staged/committed changes and recommend strategies such as split, squash, amend, staging discipline, security scanning, and commit-message guidance. The supplied code does not implement any of those review/recommendation functions. Instead, it acts as an automated trigger hook: it inspects JSON input for Bash tool calls, detects whether a real
git commitcommand was run successfully, parses the commit hash from stdout, and prints instructions to invoke acode-reviewersubagent. This is a materially different primary purpose and trigger model than the declared one. Although both relate broadly to commits/review, the actual code is specifically a post-commit automation trigger, which is undeclared.- Content
