Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

1451+ Articles
151+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. News
  3. The Miasma Worm Source Code Briefly Leaked on GitHub
The Miasma Worm Source Code Briefly Leaked on GitHub
NEWS

The Miasma Worm Source Code Briefly Leaked on GitHub

The Miasma credential-stealing worm framework was briefly open-sourced on GitHub before removal, potentially enabling copycat attacks against open-source...

Dylan H.

News Desk

June 10, 2026
3 min read

The source code for the Miasma credential-stealing attack framework was briefly made public on GitHub before being taken down, BleepingComputer reported on June 10, 2026. The exposure, even if short-lived, raises significant concerns about the proliferation of supply chain attack tooling.

Background: What Is Miasma?

Miasma is a sophisticated self-spreading worm framework designed to conduct supply chain attacks across open-source ecosystems. It first came to widespread attention in mid-2026 after a series of coordinated attacks targeting npm, PyPI, and GitHub repositories. The framework is capable of:

  • Credential theft from developer machines via compromised packages
  • Self-propagation through poisoned dependencies that spread to downstream packages
  • CI/CD pipeline compromise by stealing GitHub tokens and secrets
  • Cross-ecosystem spreading across npm, PyPI, and Go modules

The Miasma worm was responsible for attacks that compromised major packages including targets in the TanStack ecosystem, Mistral AI, and Guardrails AI — infections that cascaded into breaches at organizations including GitHub, Grafana, and OpenAI.

The Leak

According to BleepingComputer, an unknown actor briefly published what appears to be the Miasma source code to a public GitHub repository on or around June 10, 2026. GitHub removed the repository after it was flagged, but not before the code was likely mirrored or archived by other parties.

The leak may have been:

  • A deliberate publication by a disgruntled insider or rival threat actor
  • An accidental exposure through a misconfigured private repository
  • A deliberate information operation intended to democratize the attack tooling

This pattern mirrors the Shai-Hulud worm source code release from May 2026, where TeampCP released the worm's code publicly — an act that immediately spawned a wave of copycat infections.

Why This Is Significant

The public availability of sophisticated worm source code dramatically lowers the barrier to entry for supply chain attacks. Previously, mounting a Miasma-style attack required significant technical expertise. With source code available — even briefly — the knowledge can propagate through threat actor communities, enabling lower-skill actors to adapt and deploy the framework.

Security researchers noted that within hours of the Shai-Hulud source release in May 2026, new variant infections began appearing across npm. A similar acceleration is now possible with Miasma.

Recommended Defensive Actions

For organizations and developers concerned about Miasma-style attacks:

  1. Audit installed packages — Review dependencies for recently published versions from unfamiliar accounts
  2. Rotate all secrets — Any GitHub tokens, npm access tokens, or CI/CD secrets should be rotated immediately if exposure is suspected
  3. Enable npm 2FA gating — npm's recently introduced 2FA-gated publishing reduces risk from compromised maintainer accounts
  4. Monitor for unexpected outbound connections — Miasma-compromised packages often establish connections to attacker-controlled infrastructure
  5. Lock dependency versions — Use lockfiles and verify package integrity hashes

Timeline of Miasma Activity

DateEvent
June 2026Miasma targets Microsoft GitHub repositories (73 repos hit)
June 2026IronWorm and new Miasma variant hit npm
June 10, 2026Miasma source code briefly leaked on GitHub

The brief GitHub exposure of Miasma's source code represents a critical inflection point. Organizations should treat this as an active threat escalation and review their supply chain security posture immediately.

#Malware#Supply Chain#GitHub#Miasma#Worm#Credential Theft

Related Articles

Miasma Supply Chain Attack Compromises Red Hat npm Packages with Credential-Stealing Worm

A new Mini Shai-Hulud supply chain campaign codenamed Miasma has compromised Red Hat's @redhat-cloud-services npm packages, deploying a self-propagating…

5 min read

Claude Code Leak Used to Push Infostealer Malware on GitHub

Threat actors are capitalising on the Claude Code source code leak by creating fake GitHub repositories that impersonate the leaked source to deliver...

6 min read

Rust-Written IronWorm Hits NPM Supply Chain

IronWorm, a self-propagating supply chain worm written in Rust, is targeting npm developers to steal credentials and reuse them to spread across the software supply channel — echoing the Shai-Hulud methodology.

4 min read
Back to all News