Skip to main content

Malicious code in lakk-analytics (npm)

0
Medium
Published: 08/05/2026 (08/05/2026, 15:41:20 UTC)
Source: GCVE Database
Product: lakk-analytics

Description

The npm package lakk-analytics version 9.9.11 contains malicious code that executes during installation. It constructs a DNS query embedding the installer's OS username, hostname, current working directory, and a timestamp, leaking this information to an external domain. This behavior contradicts the package's README claim of no network requests. The package compromises the host system, potentially exposing all stored secrets and keys.

Affected software

npmghsa
lakk-analytics
Affected versions
=9.9.11

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: 09/13/2026, 15:17:49 UTC

Technical Analysis

The lakk-analytics npm package version 9.9.11 runs code during its install lifecycle hook that loads internal modules to build a subdomain string containing the installer's OS username, hostname, current working directory, and a timestamp prefixed with 'asnbank'. It then performs a DNS resolve4 query to an out-of-band domain (oob.sl4x0.xyz), leaking sensitive environment details. The code obfuscates the destination host and API calls using hex code-point arrays reconstructed at runtime. Despite the README stating 'No network requests', the package performs this DNS beaconing on every install. The package is considered fully compromising to any system on which it is installed.

Potential Impact

Installation of [email protected] results in leakage of sensitive environment information (username, hostname, working directory) via DNS to an attacker-controlled domain. The package is considered fully compromising, meaning an attacker may have gained control over the host system. All secrets and keys on the compromised system should be considered exposed and rotated immediately. Removal of the package does not guarantee removal of all malicious artifacts.

Mitigation Recommendations

No official patch or fix is indicated. The package should be removed immediately from all affected systems. All secrets and keys stored on compromised systems must be rotated from a different, trusted machine. Due to the full compromise risk, affected systems should be thoroughly investigated and potentially rebuilt. Monitor for any unauthorized access or persistence mechanisms.

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-13348
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a73851fbf8831d5394ef8c7

Added to database: 08/05/2026, 18:46:55 UTC

Last enriched: 09/13/2026, 15:17:49 UTC

Last updated: 09/13/2026, 15:17:49 UTC

Views: 19

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