Tainted flow: 'state_file' from os.environ.get (line 181, credential/environment) → open (file write)
Medium
- Category
- Data Flow
- Content
"""Persist state to JSON.""" STATE_DIR.mkdir(parents=True, exist_ok=True) state_file = STATE_DIR / "bounties.json" with open(state_file, "w") as f: json.dump(state, f, indent=2, default=str)- Confidence
- 84% confidence
- Finding
- with open(state_file, "w") as f:
