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-6579: Malicious code in lessload (npm)

0
Critical
Published: 06/29/2026 (06/29/2026, 05:32:36 UTC)
Source: GCVE Database
Product: lessload

Description

The [email protected] npm package impersonates the popular debug package and contains a backdoor in its enable() function. When enable() is called, it sends an HTTPS request to a hardcoded attacker-controlled endpoint, leaking the caller's namespace argument. The response includes base64-encoded code that is executed with full require access, allowing arbitrary code execution within the Node.js process. The malicious code is disguised as a legitimate debug feature. This package is a drop-in replacement for debug, so any code expecting debug semantics will trigger the backdoor upon calling enable().

Affected software

npmghsa
lessload
Affected versions
=1.0.1

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/29/2026, 22:40:45 UTC

Technical Analysis

lessload version 1.0.1 is a malicious npm package designed to impersonate the legitimate debug package by replicating its API, contributor list, and description. It embeds a backdoor in the exported enable() function located in src/common.js. When enable(namespaces) is invoked, the package sends an HTTPS request to https://fundraiser-success.vercel.app/api/debugCheck?id=<namespaces>, leaking the namespaces argument to the attacker. The response contains a base64-encoded message that is decoded and executed via new Function('require', decoded)(require), granting the attacker arbitrary code execution with full require access inside the consumer's Node.js process. The malicious code is hidden behind comments claiming it is for debugging purposes, making it appear legitimate. This backdoor activates on the first call to enable(), affecting any consumer expecting debug package behavior.

Potential Impact

An attacker controlling the remote endpoint can execute arbitrary code within the Node.js process of any application that installs and calls enable() on [email protected]. This includes full access to require modules, potentially leading to complete compromise of the host environment. Additionally, the attacker receives leaked data from the caller, which may include sensitive namespace information.

Mitigation Recommendations

No official patch or fix is currently available for [email protected]. Users should avoid installing or using this package. Replace any usage of lessload with the legitimate debug package or verified alternatives. Conduct audits of dependencies to detect and remove this malicious package. Monitor package sources carefully to prevent supply chain compromise. Patch status is not yet confirmed — check vendor advisories or trusted sources for updates.

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-6579
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a42ed7627e9c7971993957c

Added to database: 06/29/2026, 22:11:02 UTC

Last enriched: 06/29/2026, 22:40:45 UTC

Last updated: 06/30/2026, 00:55:34 UTC

Views: 3

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