Skip to main content
MalwarePublished Updated

disksweep (npm) · Malicious Code

Affects disksweepSource GCVE Database

0

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

Data as of 26 Oct 2026, 15:55 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-6535

What to do

Remove disksweep 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
npmdisksweepAffected
  • =3.0.0
  • =1.0.0
  • =2.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 disksweep npm package versions 1.0.0 and 3.0.0 include a hidden 2.9 MB Windows PE32+ native binary at bin/native/parser.node that is not documented in the README or CHANGELOG. This binary is loaded via a native Node.js addon loader in src/index.js, granting full foreign function interface (FFI) access to the host process. The package falsely claims zero runtime dependencies, and metadata such as repository and bug URLs are placeholders, obscuring maintainer identity. Although the native binary loader is currently dormant due to module system mismatches, a simple patch could activate it, enabling execution of the opaque native payload. This pattern indicates a staged malicious payload within the package.

References

Community reviews

Loading reviews…