Context-Inappropriate Capability
High
- Confidence
- 98% confidence
- Finding
- This hook can invoke `execSync('npm install --production')` against a skill-controlled directory at runtime, which creates an unnecessary code-execution and supply-chain surface for a recall handler. If the package manifest or registry resolution is influenced, the install step may execute lifecycle scripts or pull attacker-controlled code with the agent's privileges.
