T09 · Insecure Skill Coding Practices
- Location
scripts/patentmax_oa.py- Finding
Remote document metadata can escape the selected output directory
- Content
View full analysis
Impact
For example, a title of ../outside causes a downloaded .docx file to be created in the output directory's parent when that directory is writable. Absolute titles can redirect writes to other existing writable directories. Existing-file collision avoidance and the fixed .docx suffix limit the impact; arbitrary overwrite and code execution are not established.
