Close Menu
    Facebook X (Twitter) Instagram
    Wifi PortalWifi Portal
    • Blogging
    • SEO & Digital Marketing
    • WiFi / Internet & Networking
    • Cybersecurity
    • Tech Tools & Mobile / Apps
    • Privacy & Online Earning
    Facebook X (Twitter) Instagram
    Wifi PortalWifi Portal
    Home»Cybersecurity»GlassWorm Attack Uses Stolen GitHub Tokens to Force-Push Malware Into Python Repos
    Cybersecurity

    GlassWorm Attack Uses Stolen GitHub Tokens to Force-Push Malware Into Python Repos

    adminBy adminMarch 17, 2026No Comments3 Mins Read
    Facebook Twitter LinkedIn Telegram Pinterest Tumblr Reddit WhatsApp Email
    GlassWorm Attack Uses Stolen GitHub Tokens to Force-Push Malware Into Python Repos
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Ravie LakshmananMar 16, 2026Malware / Cryptocurrency

    The GlassWorm malware campaign is being used to fuel an ongoing attack that leverages the stolen GitHub tokens to inject malware into hundreds of Python repositories.

    “The attack targets Python projects — including Django apps, ML research code, Streamlit dashboards, and PyPI packages — by appending obfuscated code to files like setup.py, main.py, and app.py,” StepSecurity said. “Anyone who runs pip install from a compromised repo or clones and executes the code will trigger the malware.”

    According to the software supply chain security company, the earliest injections date back to March 8, 2026. The attackers, upon gaining access to the developer accounts, rebasing the latest legitimate commits on the default branch of the targeted repositories with malicious code, and then force-pushing the changes, while keeping the original commit’s message, author, and author date intact.

    This new offshoot of the GlassWorm campaign has been codenamed ForceMemo. The attack plays out via the following four steps –

    • Compromise developer systems with GlassWorm malware through malicious VS Code and Cursor extensions. The malware contains a dedicated component to steal secrets, such as GitHub tokens.
    • Use the stolen credentials to force-push malicious changes to every repository managed by the breached GitHub account by rebasing obfuscated malware to Python files named “setup.py,” “main.py,” or “app.py.”
    • The Base64-encoded payload, appended to the end of the Python file, features GlassWorm-like checks to determine if the system has its locale set to Russian. If so, it skips execution. In all other cases, the malware queries the transaction memo field associated with a Solana wallet (“BjVeAjPrSKFiingBn4vZvghsGj9KCE8AJVtbc9S8o8SC”) previously linked to GlassWorm to extract the payload URL.
    • Download additional payloads from the server, including encrypted JavaScript that’s designed to steal cryptocurrency and data.

    “The earliest transaction on the C2 address dates to November 27, 2025 — over three months before the first GitHub repo injections on March 8, 2026,” StepSecurity said. “The address has 50 transactions total, with the attacker regularly updating the payload URL, sometimes multiple times per day.”

    The disclosure comes as Socket flagged a new iteration of the GlassWorm that technically retains the same core tradecraft while improving survivability and evasion by leveraging extensionPack and extensionDependencies to deliver the malicious payload by means of a transitive distribution model.

    In tandem, Aikido Security also attributed the GlassWorm author to a mass campaign that compromised more than 151 GitHub repositories with malicious code concealed using invisible Unicode characters. Interestingly, the decoded payload is configured to fetch the C2 instructions from the same Solana wallet, indicating that the threat actor has been targeting GitHub repositories in multiple waves.

    The use of different delivery methods and code obfuscation methods, but the same Solana infrastructure, suggests ForceMemo is a new delivery vector maintained and operated by the GlassWorm threat actor, who has now expanded from compromising VS Code extensions to a broader GitHub account takeover.

    “The attacker injects malware by force-pushing to the default branch of compromised repositories,” StepSecurity noted. “This technique rewrites git history, preserves the original commit message and author, and leaves no pull request or commit trail in GitHub’s UI. No other documented supply chain campaign uses this injection method.”

    Attack ForcePush GitHub GlassWorm Malware Python Repos stolen Tokens
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Telegram Email
    Previous ArticleGoogle tests “Sponsored Shops” blocks in Shopping results
    Next Article Google I/O | Android Central
    admin
    • Website

    Related Posts

    NinjaOne Vulnerability Management enables real-time detection and autonomous patching

    March 16, 2026

    This popular image-saving Chrome extension was just flagged as malware

    March 16, 2026

    Telus Digital confirms hack as ShinyHunters claims credit for massive data theft

    March 16, 2026
    Add A Comment
    Leave A Reply Cancel Reply

    Search Blog
    About
    About

    At WifiPortal.tech, we share simple, easy-to-follow guides on cybersecurity, online privacy, and digital opportunities. Our goal is to help everyday users browse safely, protect personal data, and explore smart ways to earn online. Whether you’re new to the digital world or looking to strengthen your online knowledge, our content is here to keep you informed and secure.

    Trending Blogs

    3 CMS Platforms Control 73% Of The Market & Shape Technical SEO Defaults

    March 17, 2026

    Google I/O | Android Central

    March 17, 2026

    GlassWorm Attack Uses Stolen GitHub Tokens to Force-Push Malware Into Python Repos

    March 17, 2026

    Google tests “Sponsored Shops” blocks in Shopping results

    March 16, 2026
    Categories
    • Blogging (41)
    • Cybersecurity (808)
    • Privacy & Online Earning (123)
    • SEO & Digital Marketing (497)
    • Tech Tools & Mobile / Apps (992)
    • WiFi / Internet & Networking (131)

    Subscribe to Updates

    Stay updated with the latest tips on cybersecurity, online privacy, and digital opportunities straight to your inbox.

    WifiPortal.tech is a blogging platform focused on cybersecurity, online privacy, and digital opportunities. We share easy-to-follow guides, tips, and resources to help you stay safe online and explore new ways of working in the digital world.

    Our Picks

    3 CMS Platforms Control 73% Of The Market & Shape Technical SEO Defaults

    March 17, 2026

    Google I/O | Android Central

    March 17, 2026

    GlassWorm Attack Uses Stolen GitHub Tokens to Force-Push Malware Into Python Repos

    March 17, 2026
    Most Popular
    • 3 CMS Platforms Control 73% Of The Market & Shape Technical SEO Defaults
    • Google I/O | Android Central
    • GlassWorm Attack Uses Stolen GitHub Tokens to Force-Push Malware Into Python Repos
    • Google tests “Sponsored Shops” blocks in Shopping results
    • NinjaOne Vulnerability Management enables real-time detection and autonomous patching
    • This popular image-saving Chrome extension was just flagged as malware
    • Cisco extends its Secure AI Factory with Nvidia
    • Telus Digital confirms hack as ShinyHunters claims credit for massive data theft
    © 2026 WifiPortal.tech. Designed by WifiPortal.tech.
    • Home
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms and Conditions
    • Disclaimer

    Type above and press Enter to search. Press Esc to cancel.