Tainted flow: 'RESULTS_FILE' from os.environ.get (line 36, credential/environment) → open (file write)
Medium
- Category
- Data Flow
- Content
combined = combined[-500:] try: with open(RESULTS_FILE, "w") as fh: json.dump(combined, fh, indent=2) log.info( "Results saved to %s (%d new, %d total).",- Confidence
- 90% confidence
- Finding
- with open(RESULTS_FILE, "w") as fh:
