skills/mukul975/anthropic-cybersecurity-skills/analyzing-packed-malware-with-upx-unpacker/Gen Agent Trust Hub
analyzing-packed-malware-with-upx-unpacker
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and analyze untrusted binary samples (e.g.,
suspect.exe), which represents a potential attack surface where a malicious file could exploit vulnerabilities in the parsing libraries or analysis tools. - Ingestion points: Binary data is read and parsed in
SKILL.md(via heredoc scripts) andscripts/agent.py(viapefileandstruct). - Capability inventory: The skill performs file read/write operations and executes the
upxutility via system calls. - Boundary markers: The instructions explicitly advise using an isolated analysis VM without network connectivity as a security boundary.
- Sanitization: No programmatic sanitization of binary content is present, which is standard for analysis tools but remains a risk factor.
- [COMMAND_EXECUTION]: The
scripts/agent.pyscript executes theupxcommand-line utility using thesubprocess.runfunction. - Evidence: The implementation in
unpack_upxuses a list-based argument format["upx", "-d", "-o", output_path, filepath], which safely avoids shell interpolation and protects against simple command injection vectors through filenames.
Audit Metadata