Malicious code in lakk-analytics (npm)
The npm package lakk-analytics version 9.9.11 contains malicious code that executes during installation. It constructs a DNS query that leaks the installer's OS username, hostname, current working directory, and a timestamp to an external domain, contradicting the package's README claim of no network requests.
AI Analysis
Technical Summary
The [email protected] npm package runs node index.js during its install lifecycle hook, which loads internal modules that reconstruct obfuscated code to perform a DNS resolve4 query. This query sends a subdomain composed of the installer's OS username, hostname, current working directory, and a timestamp with a static prefix to the external domain oob.sl4x0.xyz. This behavior leaks sensitive environment information via DNS to an out-of-band canary domain, violating the package's README statement that no network requests are made.
Potential Impact
This malicious behavior results in the leakage of potentially sensitive environment information (username, hostname, working directory, and timestamp) from the system installing the package. Such information disclosure can aid attackers in profiling the target environment or correlating installations to specific users or hosts. There is no indication of further exploitation or code execution beyond this data exfiltration.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing lakk-analytics version 9.9.11 and consider removing it if already installed. Monitor for updates from the package maintainer or npm registry for any official fixes or advisories. Since this is a malicious package behavior, consider using trusted package sources and scanning dependencies for malicious activity.
Malicious code in lakk-analytics (npm)
Description
The npm package lakk-analytics version 9.9.11 contains malicious code that executes during installation. It constructs a DNS query that leaks the installer's OS username, hostname, current working directory, and a timestamp to an external domain, contradicting the package's README claim of no network requests.
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 [email protected] npm package runs node index.js during its install lifecycle hook, which loads internal modules that reconstruct obfuscated code to perform a DNS resolve4 query. This query sends a subdomain composed of the installer's OS username, hostname, current working directory, and a timestamp with a static prefix to the external domain oob.sl4x0.xyz. This behavior leaks sensitive environment information via DNS to an out-of-band canary domain, violating the package's README statement that no network requests are made.
Potential Impact
This malicious behavior results in the leakage of potentially sensitive environment information (username, hostname, working directory, and timestamp) from the system installing the package. Such information disclosure can aid attackers in profiling the target environment or correlating installations to specific users or hosts. There is no indication of further exploitation or code execution beyond this data exfiltration.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing lakk-analytics version 9.9.11 and consider removing it if already installed. Monitor for updates from the package maintainer or npm registry for any official fixes or advisories. Since this is a malicious package behavior, consider using trusted package sources and scanning dependencies for malicious activity.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13348
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a73851fbf8831d5394ef8c7
Added to database: 08/05/2026, 18:46:55 UTC
Last enriched: 08/05/2026, 23:01:57 UTC
Last updated: 08/05/2026, 23:01:57 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.