MAL-2026-6580: Malicious code in loadutils (npm)
The npm package 'loadutils' is a malicious typosquat of the legitimate 'loader-utils' package. It misrepresents its functionality by documenting the loader-utils API but instead exports unrelated logging code that executes a suspicious module 'debug-glitzs' immediately upon import. The package also includes an unrelated runtime dependency 'lessload@^1.0.1' that is not referenced in the source code, further increasing the attack surface. Additionally, the package metadata impersonates a known maintainer to deceive users. This malicious behavior occurs in version 1.0.4 of loadutils.
AI Analysis
Technical Summary
The 'loadutils' npm package (version 1.0.4) is a typosquatting attack targeting users expecting the legitimate 'loader-utils' package. Although the README documents loader-utils APIs, the actual code exports a debug-style logger that requires and executes a module named 'debug-glitzs' at the top level, which is not declared as a dependency. This causes arbitrary code to run when 'loadutils' is imported. The package.json also declares a runtime dependency 'lessload@^1.0.1' that is unrelated and unused in the source, pulling additional unaccounted code into the dependency tree. The contributors metadata impersonates a known maintainer, increasing the deception. No CVSS score or known exploits in the wild are reported.
Potential Impact
Users installing or importing 'loadutils' version 1.0.4 may unknowingly execute malicious code due to the top-level require of an undeclared and potentially harmful module 'debug-glitzs'. The inclusion of unrelated dependencies further increases the risk of executing untrusted code. This can lead to compromise of the Node.js process environment where the package is used. The impersonation of a known maintainer may increase the likelihood of installation by deceiving users.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing or using the 'loadutils' package, especially version 1.0.4. Verify package names carefully to avoid typosquatting attacks and prefer installing the legitimate 'loader-utils' package. Monitor dependency trees for unexpected or undeclared dependencies. Check vendor advisories or npm security advisories for updates or removal of the malicious package.
MAL-2026-6580: Malicious code in loadutils (npm)
Description
The npm package 'loadutils' is a malicious typosquat of the legitimate 'loader-utils' package. It misrepresents its functionality by documenting the loader-utils API but instead exports unrelated logging code that executes a suspicious module 'debug-glitzs' immediately upon import. The package also includes an unrelated runtime dependency 'lessload@^1.0.1' that is not referenced in the source code, further increasing the attack surface. Additionally, the package metadata impersonates a known maintainer to deceive users. This malicious behavior occurs in version 1.0.4 of loadutils.
Affected software
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
Technical Analysis
The 'loadutils' npm package (version 1.0.4) is a typosquatting attack targeting users expecting the legitimate 'loader-utils' package. Although the README documents loader-utils APIs, the actual code exports a debug-style logger that requires and executes a module named 'debug-glitzs' at the top level, which is not declared as a dependency. This causes arbitrary code to run when 'loadutils' is imported. The package.json also declares a runtime dependency 'lessload@^1.0.1' that is unrelated and unused in the source, pulling additional unaccounted code into the dependency tree. The contributors metadata impersonates a known maintainer, increasing the deception. No CVSS score or known exploits in the wild are reported.
Potential Impact
Users installing or importing 'loadutils' version 1.0.4 may unknowingly execute malicious code due to the top-level require of an undeclared and potentially harmful module 'debug-glitzs'. The inclusion of unrelated dependencies further increases the risk of executing untrusted code. This can lead to compromise of the Node.js process environment where the package is used. The impersonation of a known maintainer may increase the likelihood of installation by deceiving users.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing or using the 'loadutils' package, especially version 1.0.4. Verify package names carefully to avoid typosquatting attacks and prefer installing the legitimate 'loader-utils' package. Monitor dependency trees for unexpected or undeclared dependencies. Check vendor advisories or npm security advisories for updates or removal of the malicious package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6580
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a42ed6d27e9c79719938ebc
Added to database: 06/29/2026, 22:10:53 UTC
Last enriched: 06/29/2026, 22:36:58 UTC
Last updated: 06/30/2026, 00:41:21 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.