T09 · Insecure Skill Coding Practices
- Location
scripts/stock_analyst.py:536- Finding
Path Traversal Through Unsanitized Ticker in Report Filename
- Content
View full analysis
.json` to the attacker-controlled path. 5. `open(filename, "w")` resolves the traversal and writes outside the current directory. 6. If the resolved destination already exists and the process can write to it, the destination is truncated and replaced with JSON report content. ### Impact Assessment Exploitation grants filesystem write capability under the privileges ...[truncated 455 chars]- Remediation
View remediation
