2026-10-29NOTABLESafeDep and JFrog: the testmetest npm worm now runs on import, so --ignore-scripts does not stop it; 42 repos armed
Miasma
campaign · campaign:miasma-redhat-npm-supply-chain
Worm backdooring 32 @redhat-cloud-services npm packages; a TeamPCP / Mini Shai-Hulud variant.
Coverage
5
3 about it · 2 mentions · first 2026-06-02 → last 2026-10-29
Latest activity
2026-10-29
SafeDep and JFrog: the testmetest npm worm now runs on import, so --ignore-scripts does not stop it; 42 repos…
Peak priority
high
2 high · 1 notable
Targets
technology
sectors: technology, public-sector, education
Sources cited
21
12 hosts
2026-06-025 appearances2026-10-29
Action items (1)
Do-now tasks recorded on the entries about Miasma, newest first. Check the date before acting on an older one.
- Compare every lockfile and CI cache against the package list in SafeDep's post; on each host that installed or imported a listed package, disconnect it, remove persistence first and only then rotate the GitHub, npm, cloud and SSH credentials it could read, because the worm wipes the home directory when the stolen GitHub token is revoked.2026-10-29SafeDep and JFrog: the testmetest npm worm now runs…
Defender insights
What each entry about Miasma tells a defender to do, newest first.
Exposure · detection
Relationships explore in graph
Typed, source-stated connections from the entity registry; each edge cites the entry whose reporting establishes it.
attributed to
overlaps with
- M-RED-TEAMWiz notes shared technical fingerprints (javascript-obfuscator config, 'miasma'-branded persistence service and relay tags) but 'minimal resemblance' beyond those references and makes no definitive attribution
- testmetest npm wormSafeDep finds the worm shares code with the June Miasma worm and has not confirmed the lineage; JFrog says its evidence does not establish that the original operators are responsible
Story timeline
Every entry that names Miasma, newest first. Rows tagged mention only name it in passing: they are listed for completeness and add nothing to the action items, pivots or ATT&CK profile on this page.
- 2026-10-29testmetest: an npm worm in the Miasma and Shai-Hulud family now starts when an application imports the package, so install with --ignore-scripts no longer protects, and JFrog finds 42 third-party GitHub repositories already armed with its publisher
- 2026-07-14AsyncAPI npm packages backdoored via a GitHub Actions pull_request_target token theft, delivering a multi-stage IPFS implant (M-RED-TEAM)
- 2026-06-12npm v12 will disable install scripts by default, audit CI/CD pipelines before July
- 2026-06-09TeamPCP open-sources its Mini Shai-Hulud framework, spawning a new "Phantom Gyp" derivative
- 2026-06-02"Miasma" worm backdoors 32 Red Hat Cloud Services npm packages via OIDC trusted-publishing abuse
Hunting pivots
Affected products
ATT&CK techniques (9 across 9 tactics)
9 techniques observed across 2 entries about this entity, derived from entry metadata and body evidence, never asserted without a published entry behind it · pinned to MITRE ATT&CK v20.1 · compare on the matrix · Navigator layer (JSON)
- Initial AccessSupply Chain Compromise: Compromise Software Supply Chain
- ExecutionCommand and Scripting Interpreter: JavaScript
- PersistenceBoot or Logon Autostart Execution: XDG Autostart Entries
- Privilege EscalationBoot or Logon Autostart Execution: XDG Autostart Entries
- StealthObfuscated Files or Information · Virtualization/Sandbox Evasion: System Checks
- Credential AccessUnsecured Credentials: Credentials In Files · Credentials from Password Stores
- DiscoveryVirtualization/Sandbox Evasion: System Checks
- ExfiltrationExfiltration Over Web Service: Exfiltration to Code Repository
- ImpactData Destruction
Initial Access TA0001
T1195.002Supply Chain Compromise: Compromise Software Supply Chain×1
Adversaries may manipulate application software prior to receipt by a final consumer for the purpose of data or system compromise. Supply chain compromise of software can take place in a number of ways, including manipulation of the application source code, manipulation of the update/distribution mechanism for that software, or replacing compiled releases with a modified version.
Evidence: 2026-10-29/testmetest-npm-worm-runs-on-import-ignore-scripts · ATT&CK page ↗
Execution TA0002
T1059.007Command and Scripting Interpreter: JavaScript×2
Adversaries may abuse various implementations of JavaScript for execution. JavaScript (JS) is a platform-independent scripting language (compiled just-in-time at runtime) commonly associated with scripts in webpages, though JS can be executed in runtime environments outside the browser.
Evidence: 2026-10-29/testmetest-npm-worm-runs-on-import-ignore-scripts · 2026-06-02/miasma-worm-backdoors-32-red-hat-cloud-services-npm-packages · ATT&CK page ↗
Persistence TA0003
T1547.013Boot or Logon Autostart Execution: XDG Autostart Entries×1
Adversaries may add or modify XDG Autostart Entries to execute malicious programs or commands when a user’s desktop environment is loaded at login. XDG Autostart entries are available for any XDG-compliant Linux system. XDG Autostart entries use Desktop Entry files (`.desktop`) to configure the user’s desktop environment upon user login. These configuration files determine what applications launch upon user login, define associated applications to open specific file types, and define applications used to open removable media.
Evidence: 2026-06-02/miasma-worm-backdoors-32-red-hat-cloud-services-npm-packages · ATT&CK page ↗
Privilege Escalation TA0004
T1547.013Boot or Logon Autostart Execution: XDG Autostart Entries×1
Adversaries may add or modify XDG Autostart Entries to execute malicious programs or commands when a user’s desktop environment is loaded at login. XDG Autostart entries are available for any XDG-compliant Linux system. XDG Autostart entries use Desktop Entry files (`.desktop`) to configure the user’s desktop environment upon user login. These configuration files determine what applications launch upon user login, define associated applications to open specific file types, and define applications used to open removable media.
Evidence: 2026-06-02/miasma-worm-backdoors-32-red-hat-cloud-services-npm-packages · ATT&CK page ↗
Stealth TA0005
T1027Obfuscated Files or Information×1
Adversaries may attempt to make an executable or file difficult to discover or analyze by encrypting, encoding, or otherwise obfuscating its contents on the system or in transit. This is common behavior that can be used across different platforms and the network to evade defenses.
Evidence: 2026-10-29/testmetest-npm-worm-runs-on-import-ignore-scripts · ATT&CK page ↗
T1497.001Virtualization/Sandbox Evasion: System Checks×1
Adversaries may employ various system checks to detect and avoid virtualization and analysis environments. This may include changing behaviors based on the results of checks for the presence of artifacts indicative of a virtual machine environment (VME) or sandbox. If the adversary detects a VME, they may alter their malware to disengage from the victim or conceal the core functions of the implant. They may also search for VME artifacts before dropping secondary or additional payloads. Adversaries may use the information learned from Virtualization/Sandbox Evasion during automated discovery to shape follow-on behaviors.
Evidence: 2026-10-29/testmetest-npm-worm-runs-on-import-ignore-scripts · ATT&CK page ↗
Credential Access TA0006
T1552.001Unsecured Credentials: Credentials In Files×1
Adversaries may search local file systems and remote file shares for files containing insecurely stored credentials. These can be files created by users to store their own credentials, shared credential stores for a group of individuals, configuration files containing passwords for a system or service, or source code/binary files containing embedded passwords.
Evidence: 2026-10-29/testmetest-npm-worm-runs-on-import-ignore-scripts · ATT&CK page ↗
T1555Credentials from Password Stores×1
Adversaries may search for common password storage locations to obtain user credentials. Passwords are stored in several places on a system, depending on the operating system or application holding the credentials. There are also specific applications and services that store passwords to make them easier for users to manage and maintain, such as password managers and cloud secrets vaults. Once credentials are obtained, they can be used to perform lateral movement and access restricted information.
Evidence: 2026-06-02/miasma-worm-backdoors-32-red-hat-cloud-services-npm-packages · ATT&CK page ↗
Discovery TA0007
T1497.001Virtualization/Sandbox Evasion: System Checks×1
Adversaries may employ various system checks to detect and avoid virtualization and analysis environments. This may include changing behaviors based on the results of checks for the presence of artifacts indicative of a virtual machine environment (VME) or sandbox. If the adversary detects a VME, they may alter their malware to disengage from the victim or conceal the core functions of the implant. They may also search for VME artifacts before dropping secondary or additional payloads. Adversaries may use the information learned from Virtualization/Sandbox Evasion during automated discovery to shape follow-on behaviors.
Evidence: 2026-10-29/testmetest-npm-worm-runs-on-import-ignore-scripts · ATT&CK page ↗
Exfiltration TA0010
T1567.001Exfiltration Over Web Service: Exfiltration to Code Repository×1
Adversaries may exfiltrate data to a code repository rather than over their primary command and control channel. Code repositories are often accessible via an API (ex: https://api.github.com). Access to these APIs is often over HTTPS, which gives the adversary an additional level of protection.
Evidence: 2026-10-29/testmetest-npm-worm-runs-on-import-ignore-scripts · ATT&CK page ↗
Impact TA0040
T1485Data Destruction×1
Adversaries may destroy data and files on specific systems or in large numbers on a network to interrupt availability to systems, services, and network resources. Data destruction is likely to render stored data irrecoverable by forensic techniques through overwriting files or data on local and remote drives. Common operating system file deletion commands such as <code>del</code> and <code>rm</code> often only remove pointers to files without wiping the contents of the files themselves, making the files recoverable by proper forensic methodology. This behavior is distinct from Disk Content Wipe and Disk Structure Wipe because individual files are destroyed rather than sections of a storage disk or the disk's logical structure.
Evidence: 2026-10-29/testmetest-npm-worm-runs-on-import-ignore-scripts · ATT&CK page ↗
Entries about Miasma (3)
Co-occurring entities
Derived: referenced by the same focused operational entries (weekly summaries and report roundups don't count); ×N counts the shared entries.
- Mini Shai-Hulud×3
- TeamPCP×3
- @asyncapi/generator×1
- @asyncapi/generator-components×1
- @asyncapi/generator-helpers×1
- @asyncapi/specs×1
- AsyncAPI npm supply-chain compromise via GitHub Actions (M-RED-TEAM)×1
- GitHub Actions×1
Where this entity is cited
Source distribution
- thehackernews.com4 (19%)
- socket.dev3 (14%)
- bleepingcomputer.com2 (10%)
- research.jfrog.com2 (10%)
- safedep.io2 (10%)
- wiz.io2 (10%)
- aikido.dev1 (5%)
- github.blog1 (5%)
- other4 (19%)
All cited sources (21)
- aikido.devAikido Securityhttps://www.aikido.dev/blog/red-hat-npm-packages-compromised-credential-stealing-worm
- bleepingcomputer.comBleepingComputerhttps://www.bleepingcomputer.com/news/security/github-announces-npm-security-changes-to-tackle-supply-chain-attacks/
- bleepingcomputer.comBleepingComputerhttps://www.bleepingcomputer.com/news/security/red-hat-npm-packages-compromised-to-steal-developer-credentials/
- github.blogGitHub Changeloghttps://github.blog/changelog/2026-06-09-upcoming-breaking-changes-for-npm-v12/
- isc.sans.eduSANS ISC diaryhttps://isc.sans.edu/diary/33060
- microsoft.comMicrosoft Threat Intelligencehttps://www.microsoft.com/en-us/security/blog/2026/07/15/unpacking-asyncapi-npm-supply-chain-compromise-import-time-payload-delivery/
- opensourcemalware.comOpenSourceMalware, The Blight Reaches Microsofthttps://opensourcemalware.com/blog/miasma-reaches-azure
- research.jfrog.comJFrog Security Researchhttps://research.jfrog.com/post/beyond-testmetest-42-hijacked-github-repos/
- research.jfrog.comJFrog Security Researchhttps://research.jfrog.com/post/shai-hulud-miasma-alright-lets-see-if-this-works/
- safedep.ioSafeDephttps://safedep.io/asyncapi-generator-supply-chain-attack-miasma-rat/
- safedep.ioSafeDep (living post, updated 2026-10-27)https://safedep.io/testmetest-npm-worm-miasma-variant
- socket.devSocket Securityhttps://socket.dev/blog/miasma-mini-shai-hulud-hits-leoplatform-npm-packages-go-ecosystem
- socket.devSockethttps://socket.dev/blog/mini-shai-hulud-campaign-hits-red-hat-cloud-services-npm-packages
- socket.devSocket, 2026-06-07https://socket.dev/blog/shai-hulud-descends-to-hades-miasma-pypi-wave
- thehackernews.comThe Hacker Newshttps://thehackernews.com/2026/06/github-to-disable-npm-install-scripts.html
- thehackernews.comThe Hacker News, 2026-06-09https://thehackernews.com/2026/06/hades-pypi-attack-19-packages-poisoned.html
- thehackernews.comThe Hacker Newshttps://thehackernews.com/2026/06/miasma-malware-targets-npm-packages-and.html
- thehackernews.comThe Hacker News, 2026-06-06https://thehackernews.com/2026/06/miasma-worm-hits-73-microsoft-github.html
- unit42.paloaltonetworks.comPalo Alto Networks Unit 42https://unit42.paloaltonetworks.com/monitoring-npm-supply-chain-attacks/
- wiz.ioWizhttps://www.wiz.io/blog/m-red-team-asyncapi-supply-chain-compromise-via-github-actions
- wiz.ioWiz Researchhttps://www.wiz.io/blog/miasma-supply-chain-attack-targeting-redhat-npm-packages