ghtier

These write-ups are not threat intelligence and are not kept up to date as an incident develops. They are here to show how each attack worked, so you can find and fix the same techniques in your own setup. For the latest on an incident, read its sources.

← All incidents

GlassWorm: editor extensions that steal GitHub tokens and force-push

October 2025 – March 2026 · Ongoing

Malicious VS Code, Cursor and Open VSX extensions took developers' GitHub tokens, which were then used to rebase each victim's latest commit with malware appended and force-push it over the default branch of their Python repositories, keeping the original message, author and date.

Access held
T0repoTokens and credentials
Scale
At least 151 GitHub repositories found by code search in 3 to 9 March 2026; StepSecurity found hundreds more
Full summary

GlassWorm hides its loader in invisible Unicode characters that look like an empty string in every editor, terminal and code review view. Aikido traced it to malicious npm packages in March 2025, compromised Open VSX extensions on 17 October 2025 and GitHub repositories from 31 October. The extension payload takes credentials from the developer's machine, GitHub tokens among them, from git's credential helper, VS Code's extension storage and other places. In March 2026 the stolen GitHub access was put to use: from 8 March StepSecurity found hundreds of accounts whose Python repositories had been rewritten. The attacker took the latest commit on the default branch, appended obfuscated code to setup.py, main.py or a similar file, and force-pushed the result, so the commit message, author and author date stayed the same and only the committer date showed the change. Anyone who installed one of those packages from GitHub ran the malware, which fetches its next stage through Solana. Aikido's code search found at least 151 repositories with the decoder between 3 and 9 March, and many more had already been deleted.

How it unfolded

Pick a step to zoom into it. A dashed line is a step the sources do not state. Blue dots are the checklist items that break the step.

Whole path

Compromised developer toolor extensionway inrepoDevelopers' GitHub tokensForce push or delete aprotected branchtechniqueCompromised Action orpackageway inTokens and credentialsInstallers' machinesPublish a malicious versionwith a stolen tokentechniquePoison the build orpublished package

The whole attack, one row per step. Pick a step on the left, or click a box in its row.

Frameworks

Part of

Ongoing. First seen October 2025, last seen 13 March 2026. At least 151 GitHub repositories found by code search in 3 to 9 March 2026; StepSecurity found hundreds more (as of 13 March 2026, source). Mapping by ghtier, not yet reviewed. Threat landscape

Sources

Reported by: Aikido, StepSecurity