In short: On 13 March 2026, the security company Aikido Security described a new wave of the Glassworm campaign: attackers hide malicious code in invisible Unicode characters directly in the source code of open-source projects. A code search found at least 151 affected GitHub repositories, plus npm packages and a VS Code extension. For Swiss SMEs that use open-source components, this is a supply chain risk that code reviews alone cannot detect.
Key facts
- Published: 13 March 2026, Aikido Security (analysis, later updated)
- Period: according to Aikido, GitHub compromises between 3 and 9 March 2026
- Scale: at least 151 GitHub repositories containing the decoder pattern; the actual number is likely higher, as many repositories had already been deleted
- Other ecosystems: affected npm packages and an extension on the VS Code Marketplace (versions dated 12 March 2026)
- Technique: invisible Unicode characters that a small decoder turns into code and runs with
eval() - Source: Aikido Security: Glassworm returns
What happened?
Glassworm is not a new campaign: according to Aikido, extensions on Open VSX were already affected in October 2025. In March 2026, the technique resurfaced on a larger scale on GitHub, in npm and on the VS Code Marketplace.
The trick: the malicious code sits in Unicode characters that editors and review tools do not display. The injected string looks empty. Only at runtime does a short decoder read the characters, assemble bytes from them and execute them. In earlier cases, according to Aikido, the decoded code fetched a second script that could steal tokens, credentials and other secrets.
Among the affected repositories, Aikido names pedronauck/reworm and anomalyco/opencode-bench, as well as a Wasmer starter project. The commits were disguised as ordinary changes. Aikido considers it possible that the attackers use AI or rework older commits to blend in with each project; this has not been confirmed.
What this means for Swiss SMEs
Anyone who develops software or runs their own web applications almost always relies on open-source packages. A compromised package can steal credentials from developers and build servers.
- Pin dependencies: use lock files and apply updates deliberately instead of automatically pulling the latest version.
- Scan for invisible characters: according to Aikido, visual checks and standard linting are not enough. Add malware scanners or your own checks for unusual Unicode ranges to the CI pipeline.
- Rotate secrets: if you suspect a compromise, immediately replace tokens, API keys and passwords from development and build environments.
- Keep a software inventory: a software bill of materials (SBOM) quickly shows in an emergency whether an affected package is in use.
- Handle the incident methodically: steps and reporting channels are in the guide Cyber attack: what to do?; the guide on coverage explains whether the consequences of a compromised supply chain are insured.