hwpx
Warn
Audited by Socket on Aug 30, 2026
1 alert found:
SecuritySecurityscripts/office/unpack.py
MEDIUMSecurityMEDIUM
scripts/office/unpack.py
No direct evidence of intentional malware (exfiltration, backdoor, or command execution) is present in this code fragment. However, it is security-sensitive for untrusted archives: it can be vulnerable to Zip Slip/path traversal because ZIP entry names are used directly to construct destination paths, enabling writes outside the chosen output directory. It also lacks resource limits (DoS via zip bombs/large entries) and does not show explicit hardening for lxml XML parsing of attacker-controlled content.
Confidence: 74%Severity: 78%
Audit Metadata