Mondoo advisory · npm
Glassworm Unicode Attack: Malicious npm Packages Use Invisible Unicode Characters to Hide Payloads
Multiple npm packages were identified as part of the "Glassworm" campaign, which uses invisible Unicode characters from the Private Use Area (PUA) to encode malicious payloads within seemingly empty strings. The hidden code is decoded at runtime and passed to eval(), executing arbitrary JavaScript that steals tokens, credentials, and secrets.
The attack is particularly dangerous because the malicious payload is invisible in virtually every editor, terminal, and code review interface. The campaign was coordinated across GitHub, npm, and VS Code Marketplace between March 3-9, 2026, using…
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources