Tainted flow: 'learning_file' from os.environ.get (line 52, credential/environment) → open (file write)
Medium
- Category
- Data Flow
- Content
记录时间: {datetime.now().isoformat()} """ with open(learning_file, "a") as f: f.write(content + "\n") return {"status": "success", "file": str(learning_file)}- Confidence
- 88% confidence
- Finding
- with open(learning_file, "a") as f:
