Intent-Code Divergence
High
- Confidence
- 99% confidence
- Finding
- The API advertises sending commands to a Claude Code session, but instead interpolates the provided command into a shell string and executes it directly with execSync. This is dangerous because callers may trust the abstraction and pass agent-generated or untrusted text expecting Claude Code mediation, while the implementation grants direct shell execution in the target workspace.
