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

incident, `incident:glassworm`. Page: https://ghtier.com/incidents/glassworm

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.

**Used:** [Force push or delete a protected branch](https://ghtier.com/attack-paths/technique-force-push.md) (Tier 1), [Publish a malicious version with a stolen token](https://ghtier.com/attack-paths/technique-malicious-release.md) (Tier 1)

**Sources:**
- [Glassworm returns: invisible Unicode malware found in 150+ GitHub repositories](https://www.aikido.dev/blog/glassworm-returns-unicode-attack-github-npm-vscode)
- [ForceMemo: hundreds of GitHub Python repos compromised via account takeover and force-push](https://www.stepsecurity.io/blog/forcememo-hundreds-of-github-python-repos-compromised-via-account-takeover-and-force-push)
- [GlassWorm attack uses stolen GitHub tokens to force-push malware into Python repos](https://thehackernews.com/2026/03/glassworm-attack-uses-stolen-github.html)

From ghtier (https://ghtier.com). Every entry and link: https://ghtier.com/data/graph.json. Tiers: https://ghtier.com/tier.
