Intent-Code Divergence
Medium
- Confidence
- 95% confidence
- Finding
- The state-tracking example stores an API key alongside routine status fields in a local JSON file, which encourages insecure secret handling and increases the chance of accidental disclosure through logs, sync, backups, or source control. Presenting the credential as normal state data makes misuse more likely because operators may treat the file as low sensitivity.
