Skip to main content
MalwarePublished Updated

twapfetch (npm) · Malicious Code

Affects twapfetchSource GCVE Database

0

Malicious package : remove twapfetch and rotate any secrets on hosts that installed it.

Data as of 11 Sep 2026, 09:04 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14197

What to do

Remove twapfetch 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
npmtwapfetchAffected
  • =1.1.0
  • =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.

Description

The npm package twapfetch versions 1.1.0 and 1.1.1 contains a malicious postinstall script that downloads and executes arbitrary code during installation. The package's advertised functionality does not match its actual behavior, which is typical of install-time malware droppers. Installing this package can lead to full system compromise.

References

Community reviews

Loading reviews…