{"id":"MAL-2026-15562","revision":null,"records":[{"revision":"63b8514d5ec841768c3e103ff936d3ca","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-15562","aliases":[],"title":"Malicious code in test-in-one (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4834c80d92d51ee12f73395ddc87c681baf4f911c6bbec54a9110cc55a9c4ae9)\nThe package declares a local file: dependency (`detector` at `file:.yalc/detector`) whose `postinstall` script (`src/scripts/check.js`) executes automatically on `npm install`. The script walks the installer's home directory, Desktop, Documents, Projects, and cwd to harvest desktop crypto-wallet directories, browser extension LevelDB stores (MetaMask, Phantom, and similar), `~/.ssh/*` private keys, `~/.aws/credentials`, `~/.git-credentials`, `.env*`, `.npmrc`/`.yarnrc`, and the full `process.env`. The collected files are tarred and POSTed to a hardcoded Telegram Bot API endpoint (`https://api.telegram.org/bot<redacted>/sendDocument`, chat_id 416517694). The script additionally contains npm worm scaffolding: after collecting an npm token it calls `whoami` against `registry.npmjs.org`, enumerates all packages owned by the maintainer via the registry search API, and for each package downloads the tarball, injects a postinstall hook, bumps the version, writes a `.npmrc` with the stolen token, and prepares publication (the final publish call is currently gated by `if (false)`, but token theft, maintainer enumeration, and the injector pipeline are live). Bundling the payload as a `file:` dependency causes npm to install and run its lifecycle hooks without a registry fetch, making the manifest itself the delivery vector.\n","state":0,"publishedAt":"2026-08-29T02:09:01+00:00","modifiedAt":"2026-08-29T02:30:12.9802204+00:00","affected":[{"ecosystem":"npm","name":"test-in-one","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/test-in-one/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-15562","license":"OSV · upstream source license applies","key":"osv:MAL-2026-15562","identifiers":["MAL-2026-15562"]},"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-20T06:22:39.4145834+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-20T06:22:39.4145834+00:00","lastSuccessAt":"2026-11-20T06:22:39.5788001+00:00","error":null,"lastVerifiedAt":"2026-11-20T06:22:39.578801+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-ab394367b327976f2e615091908e1dede6760751304792bb06c748f95767cbef-6376c14d1b2afa2c58b2644daaac890593a2420919a93290b71d07498325af2c","complete":true,"records":429286,"lastAttemptAt":"2026-11-20T06:20:58.096677+00:00","lastSuccessAt":"2026-11-20T06:20:58.0492144+00:00","error":null,"lastVerifiedAt":"2026-11-20T06:20:58.096677+00:00","snapshotPublishedAt":"2026-11-20T05:30:37+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-da45093e71d649d2a554b3bd5a9e8df5","complete":false,"records":13903,"lastAttemptAt":"2026-11-20T06:32:24.7074092+00:00","lastSuccessAt":"2026-11-20T06:32:24.703+00:00","error":"425 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-20T06:32:24.703+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13447,"expectedIdentifiers":13951,"failedIdentifiers":425},{"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-20T06:22:39.4145834+00:00","complete":true,"records":1130,"lastAttemptAt":"2026-11-20T06:22:39.4145834+00:00","lastSuccessAt":"2026-11-20T06:22:39.5796864+00:00","error":null,"lastVerifiedAt":"2026-11-20T06:22:39.5796893+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-6d24c3e322db49599a6b361ae7bc1c2a","complete":true,"records":13915,"lastAttemptAt":"2026-11-20T06:22:52.7613053+00:00","lastSuccessAt":"2026-11-20T06:22:52.757+00:00","error":null,"lastVerifiedAt":"2026-11-20T06:22:52.757+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13951,"expectedIdentifiers":13951,"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-8c782c8bda9dbab8135c62bfbc9a19fa3557f15c26fbd641daea6b40b297253e","complete":true,"records":9981,"lastAttemptAt":"2026-11-20T06:22:39.3691699+00:00","lastSuccessAt":"2026-11-20T01:30:46.6941716+00:00","error":null,"lastVerifiedAt":"2026-11-20T06:22:39.3691699+00:00","snapshotPublishedAt":"2026-11-20T00:33:13+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-94b3a229089d62296b97f627a772880f88ab7164d62486372661c0a39e321234","complete":true,"records":2019,"lastAttemptAt":"2026-11-20T06:20:58.154705+00:00","lastSuccessAt":"2026-11-20T01:29:01.8774014+00:00","error":null,"lastVerifiedAt":"2026-11-20T06:20:58.154705+00:00","snapshotPublishedAt":"2026-11-20T00:17:59+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-7ce196026235c6501d0b2fb81592d1b9dc06e8705525d41efefd322e75f6c22f","complete":true,"records":3200,"lastAttemptAt":"2026-11-20T06:22:39.3839908+00:00","lastSuccessAt":"2026-11-20T01:30:49.8670987+00:00","error":null,"lastVerifiedAt":"2026-11-20T06:22:39.3839908+00:00","snapshotPublishedAt":"2026-11-20T00:48:20+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-48dc58366e84747266d952a974db58af05b9135fecb523dc6098e26bc0c28cd0","complete":true,"records":232824,"lastAttemptAt":"2026-11-20T06:22:39.2216934+00:00","lastSuccessAt":"2026-11-20T06:22:38.137363+00:00","error":null,"lastVerifiedAt":"2026-11-20T06:22:39.2216934+00:00","snapshotPublishedAt":"2026-11-20T06:18:24+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}