lessload@1.0.1
Malicious code in lessload (npm)
Analysis
Trojanized clone of the `debug` library that connects to a remote command-and-control server on `require()` and executes arbitrary second-stage payloads. The malicious code is in src/common.js: an async IIFE POSTs to `fundraiser-success[.]vercel[.]app/api/debugCheck` (overridable via `DEBUG_C2_SERVER` env var), receives a base64-encoded response, decodes it, and executes it via `new Function("require", decodedCode)(require)`. This gives the attacker full remote code execution on every system where the package is loaded. The package also includes `axios` as an extra dependency not present in the original `debug` library.
- analyzed by
- Leitwacht
- first seen
- Jun 29, 2026, 04:23 AM
- analyzed
- Jun 29, 2026, 04:24 AM
Related advisories
- @digitalcnzz/embedded-sdk@1.0.7
- @immobiliarelabs/backstage-plugin-ldap-auth-backend@1.1.3
- autotel-edge@3.16.13
- autotel-cloudflare@2.18.16
- autotel-devtools@0.1.1
- autotel-mcp@0.1.14
- autotel-subscribers@10.0.1
- bandkit@1.0.7
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.