Intent-Code Divergence
Medium
- Confidence
- 96% confidence
- Finding
- The skill first says analysis MUST only use read-only tools, but immediately adds an exception allowing file creation in `.shield_security/` during security analysis. This inconsistency can mislead an agent into performing workspace writes when the user did not clearly authorize modification, violating least-privilege expectations and increasing the chance of unintended persistence or tampering.
