What the Miasma campaign reveals about the new supply chain threat model and the underground market for developer credentials
Attackers used a stolen session cookie to poison software packages in the npm registry, demonstrating an industrial approach to supply chain attacks.
Overview
A stolen session cookieA small piece of data a website stores in your browser to remember that you are logged in sat in underground markets for seven weeks before attackers used it to poison 32 Red Hat packages in the npm software registryA central database of system settings on a computer or a public catalog that hosts software packages. This event, known as the Miasma campaign, compromised 89-plus npm packagesA reusable web code library published to the public npm registry for developers to install across three waves between June 1 and June 5. The attack affected repositories from Red Hat, Vapi.ai, and Microsoft Azure, with malicious packages delivered to an estimated 80,000 to 117,000 weekly downloads. The worm produced malicious packages with valid SLSA Build Level 3 provenanceThe verifiable record of where software, data, or media came from and how it was built attestationsCryptographic proof from hardware or a build server that a device or package was not tampered with, which defeated the highest tier of supply-chain integrityThe property that data was not changed verification. The rootThe highest administrator permission level on a system, with unrestricted control over all files and programs cause was a stolen developer credential that sat in infostealerMalware built to quietly copy saved passwords, browser cookies, and wallet keys from an infected device logsTimestamped records that servers and apps write whenever someone signs in, changes a setting, or makes a request before being weaponized. The third wave of the attack introduced persistence files that target AI coding assistants, expanding the threat to the developer's local environment.
Terms in this story
- session cookie
- A small piece of data a website stores in your browser to remember that you are logged in. If an infostealer or phishing proxy copies your session cookie, the attacker can import it into their own browser and step right into your logged-in account, skipping the password and multifactor check.
- session
- An active logged-in period of communication between a user or device and a server. Once you log in to a website, the server tracks your session so you can click from page to page without retyping your password on every screen.
- cookie
- A small piece of text that a website asks your browser to store and return on later visits. Online stores and portals use a cookie to remember who is logged in or what is in a shopping cart, which is why infostealer malware targets the browser database where cookies are stored.
- registry
- A central database of system settings on a computer or a public catalog that hosts software packages. In security news, the registry means either the operating system settings database where malware adds startup entries or a public package registry where developers download code libraries.
- npm packages
- A reusable web code library published to the public npm registry for developers to install. Web developers pull in dozens of npm packages when building a site, and attackers frequently publish malicious packages with lookalike names to steal developer credentials during installation. Security+ objective 2.2 lists the term
- provenance
- The verifiable record of where software, data, or media came from and how it was built. In software supply chain stories, provenance records prove which source repository and build server produced a package so users know it was not swapped by an attacker.
- attestations
- Cryptographic proof from hardware or a build server that a device or package was not tampered with. Before granting access to sensitive data, a server can require hardware attestation from a laptop or confidential cloud machine to verify that its boot code was not altered. Security+ objective 4.6 lists the term
- integrity
- The property that data was not changed. File checksums and digital signatures protect integrity so you know a downloaded software update or bank wire instruction was not altered in transit by an attacker. From the CYBR 101 room CYBR 101: What is a hash?
- root
- The highest administrator permission level on a system, with unrestricted control over all files and programs. An attacker who gains root privileges on a server can read any user's data, alter system settings, install kernel drivers, and hide their activity from ordinary accounts.
- infostealer
- Malware built to quietly copy saved passwords, browser cookies, and wallet keys from an infected device. Victims often download an infostealer through a fake game crack or malicious ad, and the stolen login cookies are then sold to ransomware crews on criminal markets. Security+ objective 2.4 lists the term
- logs
- Timestamped records that servers and apps write whenever someone signs in, changes a setting, or makes a request. During an investigation, responders examine security logs to trace when an attacker first logged in and which internal machines they accessed. Security+ objective 4.4 lists the term
- threat model
- A structured analysis of what assets a system protects, who might attack it, and how it could fail. Before launching a new app, engineers build a threat model to map out trust boundaries, likely attack paths, and the defenses needed at each step.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Tenable website. Cite the article, not this page.
Read the full article on Tenable (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Research and reports
"...the Miasma campaign reveals about the new supply chain threat model..." Found by reading the article; these exact words are in it - Security+ 2.2 Explain common threat vectors and attack surfaces.
"......the Miasma campaign reveals about the new supply chain threat model and the underground market for..." Found in the headline - Security+ 2.3 Explain various types of vulnerabilities.
"......the Miasma campaign reveals about the new supply chain threat model and the underground market for..." Found in the headline - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"......Key takeaways Miasma is a self-propagating npm worm derived from Mini Shai-Hulud that TeamPCP open-sourced..." Found in the opening sentences - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"......model and the underground market for developer credentials..." Found in the headline - Security+ 5.3 Explain the processes associated with third-party risk assessment and management.
"......the Miasma campaign reveals about the new supply chain threat model and the underground market for..." Found in the headline - CYBR 101 week 10: the web, cookies, phishing, incident response and logs
"A stolen session cookie sat in underground markets for seven weeks..." Found in the opening sentences - CYBR 101 week 9: malware, indicators and how detection works
"......Key takeaways Miasma is a self-propagating npm worm derived from Mini Shai-Hulud that TeamPCP open-sourced..." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Provide cybersecurity and supply chain risk management guidance.
"...stolen session cookie sat in underground markets for seven weeks..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role