analyzing-packed-malware-with-upx-unpacker
Warn
Audited by Socket on Nov 28, 2026
1 alert found:
AnomalyAnomalyscripts/agent.py
LOWAnomalyLOW
scripts/agent.py
This utility analyzes PE files for packing indicators and may invoke UPX to unpack detected files. The primary security issue is command injection through unquoted target and output paths passed to subprocess.run(..., shell=True); severity is moderate and depends on an attacker controlling the supplied path and triggering the UPX branch. No network exfiltration, credential theft, or other clear malware behavior is present.
Confidence: 98%Severity: 57%
Audit Metadata