Tainted flow: 'SESSION_STATE' from os.environ.get (line 26, credential/environment) → open (file write)
Medium
- Category
- Data Flow
- Content
output = "\n".join(lines) with open(SESSION_STATE, "w") as f: f.write(output) print(f"✅ Dumped {len(rows)} working memory slots to SESSION-STATE.md")- Confidence
- 93% confidence
- Finding
- with open(SESSION_STATE, "w") as f:
