{"id":"MAL-2026-11204","revision":null,"records":[{"revision":"5c138ea68a7e4e0abc3fd8d1a23e15cd","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-11204","aliases":["GHSA-4236-g67q-42fc"],"title":"Malicious code in nano-perf (npm)","description":"Version 2.2.0 of nano-perf declares a postinstall script that automatically launches daemon.js as a detached, unreferenced process with ignored standard streams, allowing it to survive completion of npm install. The launcher reconstructs an obfuscated Supabase endpoint from Base64 fragments and sends a persistent node identifier, CPU count, total memory, platform information, and an online heartbeat to a table named stealth_heartbeats.\n\nAfter a successful heartbeat the detached daemon polls a second table named stealth_tasks for pending work assigned to the victim node. The observed task handlers perform CPU benchmarking and system probing and upload the results. Although this version does not expose an arbitrary shell task, the hidden endpoint, automatic installation-time persistence, periodic beaconing, system fingerprint collection, and remote task polling are behavior of a covert C2 beacon and task agent rather than a performance utility.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (654460e27d19da08e0c343f90cc776d9a7e683bc7e2814dd751eb3bf4bebcada)\nOn require(), nano-perf (index.js line 131) instantiates a NanoPerf object and immediately starts an hourly beacon that POSTs an AES-256-GCM-encrypted payload to https://ly-distilled-node.vercel.app/api/heartbeat (hardcoded at index.js line 18 as BEACON_HOST). The payload includes a hostname-derived node_id, platform, arch, Node.js version, CPU usage, memory, uptime, and CPU count. The encryption key is derived from os.hostname() + 'nano-perf-v1' (index.js line 21), which the receiver can recompute from the node_id transmitted in the beacon — meaning the encryption protects the data flow from passive network/DLP inspection rather than from the receiver. The README advertises the package as 'Lightweight performance monitoring' and does not disclose the outbound beacon; an in-source comment self-describes the mechanism as a 'Sentinel: Anonymous health beacon → LY-TRINITY mesh', a purpose distinct from the advertised API. The behavior is enabled by default with no opt-in. Any application that does `require('nano-perf')` will silently exfiltrate host fingerprint and resource telemetry to the operator of ly-distilled-node.vercel.app hourly for the lifetime of the process.\n\n## Source: ghsa-malware (9cbd507bde0e4815e03d92f7114f130ce0eff929f3b79f74c08cc39474ff994f)\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","state":0,"publishedAt":"2026-06-17T19:01:25+00:00","modifiedAt":"2026-08-20T07:00:11.4638442+00:00","affected":[{"ecosystem":"npm","name":"nano-perf","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["2.2.0","2.0.1","2.1.0","2.0.0","1.0.1","1.1.0","1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/nano-perf/v/2.2.0","https://github.com/ossf/malicious-packages/issues/1373","https://github.com/advisories/GHSA-4236-g67q-42fc","https://www.npmjs.com/package/nano-perf/v/2.0.1","https://www.npmjs.com/package/nano-perf/v/2.1.0","https://www.npmjs.com/package/nano-perf/v/2.0.0","https://www.npmjs.com/package/nano-perf/v/1.0.1","https://www.npmjs.com/package/nano-perf/v/1.1.0","https://www.npmjs.com/package/nano-perf/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-11204","license":"OSV · upstream source license applies","key":"osv:MAL-2026-11204","identifiers":["MAL-2026-11204","GHSA-4236-g67q-42fc"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-21T06:46:06.7239797+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-21T06:46:06.7239797+00:00","lastSuccessAt":"2026-11-21T06:46:06.8985683+00:00","error":null,"lastVerifiedAt":"2026-11-21T06:46:06.8985692+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-1d6c61c44cf3e269b6d60ed2fe0a3aa1f7e55445c7f170f16f2fa063bbf73db3-a9b98c6fcfe5d003ac2fa90e46da3ad639b2bd563f89873997692258b3bb0ea1","complete":true,"records":430062,"lastAttemptAt":"2026-11-21T06:46:06.039514+00:00","lastSuccessAt":"2026-11-21T06:46:06.0064127+00:00","error":null,"lastVerifiedAt":"2026-11-21T06:46:06.039514+00:00","snapshotPublishedAt":"2026-11-21T06:27:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-6560623440b841c2a9d6d091a27d7ce0","complete":false,"records":13919,"lastAttemptAt":"2026-11-21T06:53:14.8125353+00:00","lastSuccessAt":"2026-11-21T06:53:14.808+00:00","error":"117 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-21T06:53:14.808+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13850,"expectedIdentifiers":13967,"failedIdentifiers":117},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-21T06:46:06.7239797+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-21T06:46:06.7239797+00:00","lastSuccessAt":"2026-11-21T06:46:06.8992975+00:00","error":null,"lastVerifiedAt":"2026-11-21T06:46:06.8993013+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-b466af56ae8f4061b064c38e0c70b535","complete":true,"records":13931,"lastAttemptAt":"2026-11-21T06:46:07.4258508+00:00","lastSuccessAt":"2026-11-21T04:46:11.167+00:00","error":null,"lastVerifiedAt":"2026-11-21T04:46:11.167+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13967,"expectedIdentifiers":13967,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-99c78bee98bf8a60587f33f568944b12d3afe17ecc41437c57b47e2204cce04d","complete":true,"records":9989,"lastAttemptAt":"2026-11-21T06:46:06.6771635+00:00","lastSuccessAt":"2026-11-21T00:54:34.963487+00:00","error":null,"lastVerifiedAt":"2026-11-21T06:46:06.6771635+00:00","snapshotPublishedAt":"2026-11-21T00:03:07+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-21T06:46:06.0966911+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-21T06:46:06.0966911+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-2c09f95d48acb57436aa1dd2f0eec6f651dce8d1621b6978554be0f0b129faa4","complete":true,"records":3209,"lastAttemptAt":"2026-11-21T06:46:06.6894056+00:00","lastSuccessAt":"2026-11-20T23:48:55.8565941+00:00","error":null,"lastVerifiedAt":"2026-11-21T06:46:06.6894056+00:00","snapshotPublishedAt":"2026-11-20T23:48:16+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-14439d295cda6d6706536c3efcb7f193a982609cf031218db7fa9ef26fdcc725","complete":true,"records":232850,"lastAttemptAt":"2026-11-21T06:46:06.5729118+00:00","lastSuccessAt":"2026-11-21T03:47:49.8245357+00:00","error":null,"lastVerifiedAt":"2026-11-21T06:46:06.5729118+00:00","snapshotPublishedAt":"2026-11-21T03:33:18+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}