Skip to main content
VulnerabilityPublished Updated

@asyncapi/generator-helpers (npm) · Malicious Code

Affects @asyncapi/generator-helpersSource GCVE Database

0
Severity
Critical

Rated by Threat Radar

Data as of 15 Jul 2026, 12:51 UTC

What to do

Affected software

ProductAffectedFixed in
npm@asyncapi/generator-helpersAffected
  • =0.2.2
  • =0.2.1
  • =1.1.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

The last known safe version is 1.1.0. Users should immediately remove all affected versions (=0.2.1, =0.2.2, =1.1.1) of @asyncapi/generator-helpers from their environments. Because the malware establishes persistence and steals credentials, all secrets, tokens, and keys stored on compromised systems should be considered exposed and rotated immediately from a clean, uncompromised device. Full system compromise is likely, so affected hosts should be thoroughly investigated and potentially rebuilt. Users should also audit their GitHub repositories and npm packages for signs of further compromise or propagation. No cloud service remediation applies as this is a client-side npm package compromise.

Description

The @asyncapi/generator-helpers npm package version 1.1.1 was compromised in a supply-chain attack known as the "Miasma RAT" campaign. Malicious code was hidden using whitespace obfuscation and executes automatically when the package is loaded, spawning a detached Node.js process that downloads and runs a remote RAT binary. This malware establishes persistence by dropping a backdoor script and steals sensitive credentials including browser data, SSH keys, npm tokens, GitHub CLI credentials, AWS secrets, and cryptocurrency wallets. The attacker also uses a command-and-control server and an embedded Ethereum smart-contract address for potential command routing or data exfiltration. The last known safe version is 1.1.0. Other affected versions include 0.2.1 and 0.2.2. Systems with this package installed should be considered fully compromised.

References

Community reviews

Loading reviews…