Intent-Code Divergence
Medium
- Confidence
- 94% confidence
- Finding
- The CIS audit example wraps shell conditions in a string and executes them with `eval`, which is unsafe if any part of the condition can be influenced by untrusted input now or in future edits. In a skill that exposes `exec` and encourages automation, this pattern can turn audit logic into arbitrary command execution with the agent's privileges, especially since the documented environment expects root/sudo access.
