deobfuscating-powershell-obfuscated-malware
Fail
Audited by Snyk on Mar 14, 2026
Risk Level: CRITICAL
Full Analysis
HIGH W007: Insecure credential handling detected in skill instructions.
- Insecure credential handling detected (high risk: 0.80). The skill instructs the agent to deobfuscate and print/save full PowerShell content and extract IOCs, which would necessitate outputting any embedded secrets (API keys, tokens, or passwords) verbatim if present.
CRITICAL E006: Malicious code pattern detected in skill scripts.
- Malicious code pattern detected (high risk: 0.90). High risk — the content is a dual-use deobfuscation tool that explicitly decodes multi‑layer obfuscated PowerShell (Base64, FromBase64String, char arrays, tick marks, Replace/format strings, compressed blobs, XOR), hunts for and reconstructs Invoke-Expression/IEX chains, and contains code that writes and executes modified scripts (powershell -ExecutionPolicy Bypass -File), plus identifies web‑download cradles (WebClient/DownloadString/Invoke‑WebRequest), process/spawn APIs (Start‑Process), persistence/suppression indicators (ScheduledTask, Add‑MpPreference/Set‑MpPreference), and extraction of URLs/IPs/registry/file paths — all behaviors that enable hidden payload execution, remote code execution, backdoor activation and data exfiltration if used on malicious samples or repurposed by an attacker.
MEDIUM W013: Attempt to modify system services in skill instructions.
- Attempt to modify system services in skill instructions detected (high risk: 0.70). The prompt instructs executing potentially malicious PowerShell (including using "-ExecutionPolicy Bypass" and running generated scripts via subprocess), which can alter host state and effectively bypass a security mechanism even though it recommends an isolated VM; it does not, however, explicitly request sudo/privilege escalation or direct modification of system files/users.
Issues (3)
W007
HIGHInsecure credential handling detected in skill instructions.
E006
CRITICALMalicious code pattern detected in skill scripts.
W013
MEDIUMAttempt to modify system services in skill instructions.
Audit Metadata