Context-Inappropriate Capability
High
- Confidence
- 98% confidence
- Finding
- The code accepts a caller-controlled output_path, converts it to a Path, and writes a ZIP/XLSX file there after only making relative paths base-directory-relative. Because absolute paths are allowed and there is no allowlist, canonicalization check, or confirmation step, a caller can overwrite arbitrary writable files on the host, which is especially risky in an agent environment where tool inputs may be influenced by untrusted users.
