{"id":"GHSA-wf75-6wm5-v349","revision":null,"records":[{"revision":"3357689a94cc4643a3fd05541179eb07","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10622","aliases":["GHSA-wf75-6wm5-v349"],"title":"Malicious code in chai-as-structured (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9508b72d48575443d9e68f1da1ef6bdd1ebc9351f271fba56b563701f03e56e2)\nThe package name evokes chai-as-promised but the shipped code presents itself as pino middleware. When the middleware factory in index.js is invoked, it spawns a detached node child process running lib/initializeCaller.js. That script constructs a fake process.env stub whose DEV_API_KEY, DEV_SECRET_KEY, and DEV_SECRET_VALUE fields are base64 blobs that decode to a URL and request headers pointing at https://tomato-brunhilda-40.tiiny.site/index.json (an anonymous file-hosting host). The response's cookie field is passed to new Function.constructor('require', response) with the host's require handed in, giving the fetched string full Node privileges. The base64 concealment, misleading DEV_API_KEY naming, detached child launch, and typosquat-style package name are consistent with intentional supply-chain attack tradecraft rather than any legitimate loader.\n","state":0,"publishedAt":"2026-07-14T20:33:52+00:00","modifiedAt":"2026-09-01T11:31:30.4141799+00:00","affected":[{"ecosystem":"npm","name":"chai-as-structured","ranges":[],"versions":["7.0.5"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/chai-as-structured/v/7.0.5","https://github.com/advisories/GHSA-wf75-6wm5-v349"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10622","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10622","identifiers":["MAL-2026-10622","GHSA-wf75-6wm5-v349"]},"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-20T01:30:50.0868967+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-20T01:30:50.0868967+00:00","lastSuccessAt":"2026-11-20T01:30:50.2988678+00:00","error":null,"lastVerifiedAt":"2026-11-20T01:30:50.2988691+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-8739c76e681f900923b900c9df0ef75cf421d39cabb54650c4b9ad19b6a76d85","complete":true,"records":429245,"lastAttemptAt":"2026-11-20T01:28:56.7391663+00:00","lastSuccessAt":"2026-11-20T01:28:56.7326152+00:00","error":null,"lastVerifiedAt":"2026-11-20T01:28:56.7391663+00:00","snapshotPublishedAt":"2026-11-20T00:37:21+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-01b3443cc65b459e8617c8b07ac43fdb","complete":false,"records":13903,"lastAttemptAt":"2026-11-20T01:40:51.4796561+00:00","lastSuccessAt":"2026-11-20T01:40:51.476+00:00","error":"545 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-20T01:40:51.476+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13379,"expectedIdentifiers":13951,"failedIdentifiers":545},{"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-20T01:30:50.0868967+00:00","complete":true,"records":1130,"lastAttemptAt":"2026-11-20T01:30:50.0868967+00:00","lastSuccessAt":"2026-11-20T01:30:51.1683724+00:00","error":null,"lastVerifiedAt":"2026-11-20T01:30:51.1683802+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-43b304dc656d4b85b971690070f95280","complete":false,"records":13915,"lastAttemptAt":"2026-11-20T01:31:16.5278113+00:00","lastSuccessAt":"2026-11-20T01:31:16.525+00:00","error":null,"lastVerifiedAt":"2026-11-20T01:31:16.525+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13924,"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-20T01:30:46.9208001+00:00","lastSuccessAt":"2026-11-20T01:30:46.6941716+00:00","error":null,"lastVerifiedAt":"2026-11-20T01:30:46.9208001+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-20T01:29:01.9800827+00:00","lastSuccessAt":"2026-11-20T01:29:01.8774014+00:00","error":null,"lastVerifiedAt":"2026-11-20T01:29:01.9800827+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-20T01:30:50.0540406+00:00","lastSuccessAt":"2026-11-20T01:30:49.8670987+00:00","error":null,"lastVerifiedAt":"2026-11-20T01:30:50.0540406+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-b718f7f78fadcc4a737d68629436f35cf7b6720df78267d9153074aa304ae364","complete":true,"records":232793,"lastAttemptAt":"2026-11-20T01:30:39.0535517+00:00","lastSuccessAt":"2026-11-20T01:30:38.0218274+00:00","error":null,"lastVerifiedAt":"2026-11-20T01:30:39.0535517+00:00","snapshotPublishedAt":"2026-11-20T01:18:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}