T09 · Insecure Skill Coding Practices
Warning
- Location
tool.py:67- Finding
Input File Truncation Through Unsafe Same-Path Output Handling
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a simple Markdown sorting tool, but its output handling can accidentally erase the input file if used for true in-place sorting.
Install only if you are comfortable using it carefully: write sorted output to a different file, keep backups or version control for important notes, and avoid commands that use the same file as both input and output until the tool adds safe in-place handling.
tool.py:67Input File Truncation Through Unsafe Same-Path Output Handling