Skip to content
Heist/ feed
Unrated

Malicious code in lakk-analytics (npm)

Type: advisorySource: OSV1 source record

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (d9a1a1a5f0fd81e6ba6198e7f4cbdeab1c16b8ceed3dbb7becc6b4b6f611ad52) lakk-analytics@9.9.11 runs `node index.js` from an npm install lifecycle hook, which loads `./lib/core` and constructs a subdomain from the installer's OS username, hostname, and current working directory (with a timestamp and the static prefix `asnbank`), then issues a `dns.resolve4()` query against `.....oob.sl4x0.xyz`. This leaks installer identity via DNS to an out-of-band canary domain on every install. The destination host `oob.sl4x0.xyz` and API surface (`os`, `dns`, `process`, `userInfo`, `hostname`, `cwd`) are hidden as hex code-point arrays reconstructed with `String.fromCharCode` in sibling modules `lib/b02e30.js` and `lib/6ad264.js`. The README explicitly claims 'No network requests', which directly contradicts the observed install-time DNS beacon. ## Source: ghsa-malware (50b6f54438d307adc9e47e195f892bd555eacb68771cdd2bae6bd1252d190bd1) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Announced Group revision 1
Original source ↗

MAL-2026-13348

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:MAL-2026-13348

lakk-analytics

Source reference: /affected/0/package/name

Affected versions
9.9.11

Source reference: /affected/0/versions

9.9.0

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "lakk-analytics",
      "purl": "pkg:npm/lakk-analytics",
      "ecosystem": "npm"
    },
    "versions": [
      "9.9.11",
      "9.9.0"
    ],
    "database_specific": {
      "cwes": [
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        },
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        },
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        }
      ],
      "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/lakk-analytics/MAL-2026-13348.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "lib/core.js",
            "tlsh": "38014929a393c08f97e096d0361a03d18499c380e7ce80a5fa7c4a87904e7d1cac5a96",
            "sha256": "397d1435e7291ed6b02b8627033a110124d250a54290b3a8f9f248573fd6a2d4"
          },
          {
            "path": "lib/b02e30.js",
            "tlsh": "a4e068073303c94fa1880bfbba0050a1aa0d8b68a21dc1d6b528678500af447d0c0232",
            "sha256": "e3fd41f82bdf79310ef1d63bea0cdfcd4683cd2342c8fc195c22471064aca600"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "e50644c3820404ac1585201ec9cbae954f2a3a30",
              "sha512_sri": "sha512-bMDDiXPXBri0KCHh+SHXMdqpciuWDFzAwM0eF5HTT62dp0V4tstJhm8kD+USW53qS0Y/WGhBhy3EPWvByIPNDQ=="
            },
            "filename": "lakk-analytics-9.9.11.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#10871 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement