Context-Inappropriate Capability
Medium
- Confidence
- 94% confidence
- Finding
- The script automatically sources local .env files and exports all variables into the environment, which is more powerful than simply reading a few configuration values. In shell, source executes file contents as code, so a malicious or tampered .env can run arbitrary commands and expose secrets when the script is invoked.
