Skip to main content
MalwarePublished

gaarf-node (npm) · Malicious Code

Affects gaarf-nodeSource GCVE Database

0

Malicious package : remove gaarf-node and rotate any secrets on hosts that installed it.

Data as of 19 Aug 2026, 14:30 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14238

What to do

Remove gaarf-node 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
npmgaarf-nodeAffected
  • =1.0.0
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 'gaarf-node' version 1.0.0 contains malicious code that executes during installation. Its postinstall script collects host system identifiers and sends them without user consent to a hardcoded remote server unrelated to the impersonated legitimate project. This behavior occurs automatically as a side effect of installing the package.

References

Community reviews

Loading reviews…