Context-Inappropriate Capability
Medium
- Confidence
- 89% confidence
- Finding
- The script automatically sources the first existing .env from several locations, including broad user-home paths, and does so with Bash `source`, which executes shell content rather than safely parsing key/value pairs. In a cron context this widens trust boundaries unnecessarily for a news-digest scheduler: a modified or malicious .env can inject commands, override environment variables, or load unrelated secrets into the process.
