Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

MAL-2026-6535: Malicious code in disksweep (npm)

0
High
Published: 06/26/2026 (06/26/2026, 19:01:32 UTC)
Source: GCVE Database
Product: disksweep

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.

Affected software

npmghsa
disksweep
Affected versions
=3.0.0=1.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/26/2026, 22:14:58 UTC

Technical Analysis

The disksweep npm package (versions 1.0.0 and 3.0.0) contains a large undocumented Windows PE32+ native binary loaded as a native Node.js addon via process.dlopen, providing full FFI access to the host environment. The package's README falsely claims no runtime dependencies, contradicting the presence of this opaque native code. Metadata fields such as repository and bug URLs are placeholders, and the author is generically listed, suggesting weak attribution. The native binary loader is currently ineffective due to ESM module type conflicts with CommonJS globals, but a minor code change could enable the binary, activating a malicious payload. This constitutes a staged native payload pattern indicative of malicious intent.

Potential Impact

If activated, the native binary could execute arbitrary code with the privileges of the Node.js process, potentially compromising the host system. The presence of an opaque native payload with full FFI access poses a significant security risk, including unauthorized code execution and system compromise. Currently, the malicious code is dormant due to module system incompatibilities, but this can be trivially bypassed, exposing users to active exploitation.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing or using disksweep versions 1.0.0 and 3.0.0. Monitor the vendor or package repository for updates or official advisories. Given the package metadata obscures maintainer identity and the package contains a hidden native binary, it is recommended to remove this package from environments and replace it with trusted alternatives. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-6535
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a3ef78c27e9c79719ff4890

Added to database: 06/26/2026, 22:05:00 UTC

Last enriched: 06/26/2026, 22:14:58 UTC

Last updated: 06/26/2026, 22:14:58 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses