T09 · Insecure Skill Coding Practices
- Location
scripts/file_utils.py- Finding
Remote order numbers escape the local order-storage directory
- Content
View full analysis
Impact
An orderNo such as '../../../../audit-target' resolves to ~/audit-target.json on Linux/macOS. The script creates or truncates that file with the agent's permissions. Existing writable JSON configuration or other application state can therefore be overwritten when their parent directories exist. The .json suffix and structured document limit the write; arbitrary code execution is not established.
