Context-Inappropriate Capability
High
- Confidence
- 97% confidence
- Finding
- The hook shells out to an external program using a constructed command string and execSync, which introduces an unnecessary code-execution boundary inside a security control. Because the path and arguments are interpolated into a shell command, a malformed path, quoting edge case, or compromised external validator can turn the security hook itself into an execution primitive, and a failed or tampered validator directly affects all security decisions.
