GlassWorm’s ForceMemo Offshoot Uses Stolen GitHub Tokens to Inject Malware Into Python Repositories

· Original article ↗

Summary

Researchers say GlassWorm’s ForceMemo offshoot uses tokens stolen through malicious VS Code and Cursor extensions to force-push obfuscated payloads into Python repositories, retrieving further payload URLs from a Solana transaction memo.

Key points

  • StepSecurity says ForceMemo uses GitHub tokens stolen by GlassWorm malware delivered through malicious VS Code and Cursor extensions.
  • The stolen tokens are reportedly used to force-push obfuscated code into Python files such as setup.py, main.py, and app.py across compromised repositories.
  • The injected code checks for a Russian system locale and, otherwise, reads a payload URL from a Solana transaction memo.
  • The payload reportedly downloads encrypted JavaScript and other files, including code designed to steal cryptocurrency and data.
  • StepSecurity says the earliest observed repository injections date to March 8, 2026; the force-push method preserves commit metadata and can hide changes from GitHub’s visible history.
  • Aikido separately linked a campaign affecting more than 151 GitHub repositories to the same Solana wallet, while Socket reported another GlassWorm distribution method using extension dependencies.

Article Details

Event Type
Software supply-chain attack using stolen GitHub tokens to force-push malware into Python repositories.
Impact
The article reports malicious code injected into hundreds of Python repositories. Users who install from a compromised repository or clone and execute its code may trigger additional payloads, including encrypted JavaScript designed to steal cryptocurrency and data; the article does not confirm successful theft.

MITRE ATT&CK

Threat Actors

Malware

Products

Related Articles