MAL-2026-13348Malicious code in lakk-analytics (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
9.9.0 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | lakk-analytics | * |
| npm | lakk-analytics | 9.9.0 |
| npm | lakk-analytics | 9.9.11 |
{"schema_version":"1.7.4","id":"MAL-2026-13348","published":"2026-08-05T15:41:20Z","modified":"2026-08-20T21:45:11.839838675Z","aliases":["GHSA-mx7q-w72x-jgrh"],"summary":"Malicious code in lakk-analytics (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d9a1a1a5f0fd81e6ba6198e7f4cbdeab1c16b8ceed3dbb7becc6b4b6f611ad52)\nlakk-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 `<prefix>.<user>.<host>.<cwd>.<ts>.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.\n\n## Source: ghsa-malware (50b6f54438d307adc9e47e195f892bd555eacb68771cdd2bae6bd1252d190bd1)\nAny 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.\n","affected":[{"package":{"name":"lakk-analytics","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["9.9.11","9.9.0"],"database_specific":{"cwes":[{"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.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"lib/core.js","sha256":"397d1435e7291ed6b02b8627033a110124d250a54290b3a8f9f248573fd6a2d4","tlsh":"38014929a393c08f97e096d0361a03d18499c380e7ce80a5fa7c4a87904e7d1cac5a96"},{"path":"lib/b02e30.js","sha256":"e3fd41f82bdf79310ef1d63bea0cdfcd4683cd2342c8fc195c22471064aca600","tlsh":"a4e068073303c94fa1880bfbba0050a1aa0d8b68a21dc1d6b528678500af447d0c0232"}],"package_integrity":[{"filename":"lakk-analytics-9.9.11.tgz","hashes":{"sha1":"e50644c3820404ac1585201ec9cbae954f2a3a30","sha512_sri":"sha512-bMDDiXPXBri0KCHh+SHXMdqpciuWDFzAwM0eF5HTT62dp0V4tstJhm8kD+USW53qS0Y/WGhBhy3EPWvByIPNDQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/lakk-analytics/v/9.9.11"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-mx7q-w72x-jgrh"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/lakk-analytics/v/9.9.0"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015794","import_time":"2026-08-05T16:13:45.882853429Z","modified_time":"2026-08-05T15:41:20Z","sha256":"d9a1a1a5f0fd81e6ba6198e7f4cbdeab1c16b8ceed3dbb7becc6b4b6f611ad52","source":"amazon-inspector","versions":["9.9.11"]},{"id":"GHSA-mx7q-w72x-jgrh","import_time":"2026-08-20T14:26:12.002555143Z","modified_time":"2026-08-20T13:53:02Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"50b6f54438d307adc9e47e195f892bd555eacb68771cdd2bae6bd1252d190bd1","source":"ghsa-malware"},{"id":"IN-MAL-2026-018477","import_time":"2026-08-20T21:43:26.599067316Z","modified_time":"2026-08-20T21:16:29Z","sha256":"e26a5f6751ae80ae03def8e24964a540e1c892dd466f8f6b6cf71ecf0f666979","source":"amazon-inspector","versions":["9.9.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0