Skip to main content
MalwarePublished Updated

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

Affects @asyncapi/generator-componentsSource GCVE Database

0

Malicious package : remove @asyncapi/generator-components and rotate any secrets on hosts that installed it.

Data as of 15 Jul 2026, 12:51 UTC

Classification

Malicious package

Published to npm · OSV MAL-2025-190656

What to do

Remove @asyncapi/generator-components from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npm@asyncapi/generator-componentsAffected
  • =0.3.3
  • =0.3.2
  • =0.7.1
Fixed in–

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

Description

@asyncapi/generator-components version 0.7.1 and earlier versions 0.3.2 and 0.3.3 were compromised in a supply-chain attack known as the "Miasma RAT" campaign. Malicious code was hidden using whitespace obfuscation and executed on package installation, downloading and running a remote access trojan (Miasma RAT). This malware steals sensitive credentials and secrets, establishes persistence, and communicates with a command-and-control server. The last known safe version is 0.7.0. Removal of the package alone may not fully remediate the compromise due to persistence mechanisms.

References

Community reviews

Loading reviews…