BTC $71,807
2026 Bull Run Is Building Start trading with 5% OFF all fees
Sign Up Now
BTC $71,807
Bull Run 2026 | 5% Off Fees Open your Binance account today
Sign Up

AsyncAPI npm packages compromised, deliver Miasma botnet loader

AsyncAPI npm packages compromised in supply chain attack deploying Miasma botnet.

  • Four npm packages in the @asyncapi namespace were compromised, distributing a multi-stage botnet loader called Miasma.
  • The attack exploited the project’s own GitHub Actions release pipeline, publishing packages with valid provenance attestations without stealing npm tokens.
  • The malware supports multiple C2 channels, including IPFS, Nostr relay, and an Ethereum smart contract, and can steal credentials and spread to other registries.

Four compromised npm packages in the @asyncapi namespace distributed a multi-stage botnet loader, according to findings from OX Security, SafeDep, Socket, and StepSecurity. The affected packages include @asyncapi/generator-helpers@1.1.1, @asyncapi/generator-components@0.7.1, @asyncapi/generator@3.3.1, and @asyncapi/specs (versions 6.11.2 and 6.11.2-alpha.1).

- Advertisement -

The compromised packages deploy an obfuscated first-stage payload that downloads an encrypted second-stage payload, identified as Miasma, from IPFS, according to Socket. The malicious code runs when the infected module is loaded by Node.js, launching a detached background node that downloads and executes malware from “ipfs[.]io/ipfs/QmQobZSp1wRPrpSEQ56qnyq7ecZh5Bg5k1fnjt4SUwwHb9.”

The next-stage payload is an encrypted JavaScript loader named “sync.js,” containing the Miasma tasking framework and a large encrypted blob. The framework bundles 744 modules and supports six independent command-and-control (C2) communication channels using HTTP, Nostr relay, IPFS, BitTorrent DHT, libp2p GossipSub P2P mesh, and an Ethereum smart contract.

Miasma facilitates credential theft, AI tool poisoning, LAN lateral movement, and worm-like propagation on npm, PyPI, and Cargo registries. It sets up persistence mechanisms across systemd, crontab, macOS launchd, and Windows Registry autostart keys.

OX Security’s Moshe Siman Tov Bustan said that although the malware shares similarities with previous Shai-Hulud and Miasma campaigns, “this malware isn’t the same as them, nor is it attributed to the Miasma/Shai-Hulud/TeamPCP campaigns.” It also includes a dead man’s switch that monitors a stolen token and triggers a directory wipe if the token is revoked, while avoiding sandboxes, virtual environments, and systems with Russian language or security tools from vendors like CrowdStrike, SentinelOne, and Microsoft Defender.

- Advertisement -

According to StepSecurity, the attacker gained push access and used the project’s own legitimate GitHub Actions release pipeline to publish packages with valid OIDC provenance attestations. The supply chain attack did not involve theft of an npm token. Security researcher Rohan Prabhu explained that “both attacks are CI/CD pipeline compromises, not stolen npm tokens or malicious maintainers.” The resulting packages carry legitimate SLSA provenance attestations, proving only that the authorized workflow produced them.

All five malicious versions have since been unpublished from the npm registry. Users are advised to treat any endpoint that imported or executed one of the affected packages as potentially compromised, noting that exposure depends on whether the infected module was loaded during a build or developer workflow.

✅ Follow BITNEWSBOT on Telegram, Facebook, LinkedIn, X.com, and Google News for instant updates.

Previous Articles:

- Advertisement -
Ad
Altseason Is Loading. Don't watch from the sidelines.
SOL $90.51
DOGE $0.0963
LINK $9.02
SUI $1.00
5% off fees when you sign up
Start Trading
Ad
Pay Less on Every Trade. For Life.
$10K/mo volume Save $60/yr
$50K/mo volume Save $300/yr
$100K/mo volume Save $600/yr
5% off all trading fees when you sign up
Claim Your Discount

Latest News

Boltz warrant canary lapse sparks government probe fears

Bitcoin bridge Boltz suspended its swap service after months of AI-assisted Hacker attacks, then...

Crypto bill’s Senate window closing as recess nears

The Senate has only a few business days to vote on the CLARITY Act...

MacOS ClickFix Campaign Uses Fingerprinting to Hide Malware Lures

A macOS ClickFix campaign uses over 250 front-end domains to deliver information-stealing malware to...

Gold surges 4.5% to $4,255 on US-Iran peace talks

Gold surged 4.5% to $4,255 in New York, its highest level in six weeks,...

Circle Arc Mainnet Launches Sept 16 with BlackRock, Visa Validators

Eleven institutions will run validators alongside Circle when Arc's public mainnet opens on September...

Must Read

Top 7 BEST Crypto Trading Bots for Beginners

QUICK NAVIGATIONQuick Look: Top 3 Best Crypto Trading BotsWhat Exactly is a Crypto Trading Bot?How I Chose These Trading BotsTop 7 Crypto Trading Bots...
Ad
Altseason Is Loading. These 4 coins are trending right now.
SOL $92.12
DOGE $0.0950
LINK $9.02
SUI $1.02
5% off spot fees when you sign up
Start Trading