analyzing-macro-malware-in-office-documents
Fail
Audited by Snyk on Jul 16, 2026
Risk Level: HIGH
Full Analysis
HIGH W007: Insecure credential handling detected in skill instructions.
- Insecure credential handling detected (high risk: 1.00). This skill explicitly extracts and prints/deobfuscates VBA source and requires including deobfuscated code and decoded commands/URLs in the report, so any secrets embedded in macros would be output verbatim by the LLM (high exfiltration risk).
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (high risk: 0.85). The required workflow runs
scripts/agent.pyon a user-supplied Office document and ingests outsider-authored free text from that document’s embedded VBA/OLE streams and OOXML XML/.relscontents (e.g.,extract_vba_macros()readsvba_code, andcheck_dde()/check_external_relationships()decode XML text), which can then be included in the agent’s generated report/outputs and thus into any LLM context that consumes those outputs.
Issues (2)
W007
HIGHInsecure credential handling detected in skill instructions.
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata