{"id":"MAL-2026-3770","revision":null,"records":[{"revision":"d8903f73f91d41ef933e51ef98c2e597","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-3770","aliases":["GHSA-rj6f-xp57-j95c"],"title":"Malicious code in prisma-callback (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1aab2820bfb9036995418ba2b36887f8970d7deaa69d8bc4aa24e36266bf18d1)\nprisma-callback@1.0.3 is a name-confusion package against the genuine `prisma` ORM. Its `package.json` declares `\"preinstall\": \"node./scripts/only-allow-pnpm.js pnpm\"`; despite the misleading filename, that script dispatches on `os.arch()` and unconditionally executes one of two Go binaries shipped at the tarball root — `prisma-amd64` (sha256 7255674131eee4a4b9adb12196a1b66e3faad9ee60740ab01b4d4e91bf8a30a8, 1,597,624 bytes) or `prisma-arm64` (sha256 270769b70e1fe3718243e5f2f4655d9dd5d3b9f6e7217919d724859f7d6a66db, 2,162,872 bytes) — via `child_process.execSync` with inherited stdio, running under whatever privileges `npm install` holds. Neither binary exists in the genuine Prisma source tree; both are opaque compiled artifacts the installer cannot inspect or verify. To lower scrutiny, the tarball ships a verbatim copy of the real Prisma monorepo (README badges, issue templates, and every sub-package's `package.json` point at `github.com/prisma/prisma`), and the preinstall script carries a `// This script is safe — it's only used for testing purposes.` comment to discourage review. The structural signals — typosquat of a top-tier OSS package + undeclared opaque native binaries + preinstall-time execution without integrity verification + deliberate misdirection via filename, comment, and legitimate-looking cover source — are jointly unambiguous.\n\n## Source: ghsa-malware (acf13995d180b6da629b2f576c0a4ad6511839cdf01f579325fdf486d25ea257)\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-05-14T19:25:22+00:00","modifiedAt":"2026-07-31T01:38:51.3631226+00:00","affected":[{"ecosystem":"npm","name":"prisma-callback","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["1.0.3","1.0.5","1.0.4","1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/prisma-callback/v/1.0.3","https://www.npmjs.com/package/prisma-callback/v/1.0.5","https://www.npmjs.com/package/prisma-callback/v/1.0.4","https://www.npmjs.com/package/prisma-callback/v/1.0.0","https://github.com/advisories/GHSA-rj6f-xp57-j95c"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-3770","license":"OSV · upstream source license applies","key":"osv:MAL-2026-3770","identifiers":["MAL-2026-3770","GHSA-rj6f-xp57-j95c"]},"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-23T14:27:16.3758878+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-23T14:27:16.3758878+00:00","lastSuccessAt":"2026-11-23T14:27:16.5575192+00:00","error":null,"lastVerifiedAt":"2026-11-23T14:27:16.5575196+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-d008fb8e7e5a0f37166ee57a6d9d22b27e49b9d9438b4ce80c4c6c326ac5d75a-b59c12a24a88ee6db0e4ad8107ac737603aa4ddc6d8960be680352e274f1a637","complete":true,"records":430641,"lastAttemptAt":"2026-11-23T14:25:33.37135+00:00","lastSuccessAt":"2026-11-23T14:25:33.2501432+00:00","error":null,"lastVerifiedAt":"2026-11-23T14:25:33.37135+00:00","snapshotPublishedAt":"2026-11-23T14:23:46+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-a61863ff65794fdfa0720f671b919d2d","complete":false,"records":13928,"lastAttemptAt":"2026-11-23T14:36:50.0486108+00:00","lastSuccessAt":"2026-11-23T14:36:50.043+00:00","error":"310 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-23T14:36:50.043+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13660,"expectedIdentifiers":13976,"failedIdentifiers":310},{"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-23T14:27:16.3758878+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-23T14:27:16.3758878+00:00","lastSuccessAt":"2026-11-23T14:27:16.5585789+00:00","error":null,"lastVerifiedAt":"2026-11-23T14:27:16.558579+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-4a33b07cc6754fd88f15324ee974dce6","complete":true,"records":13940,"lastAttemptAt":"2026-11-23T14:27:17.7513778+00:00","lastSuccessAt":"2026-11-23T14:27:17.747+00:00","error":null,"lastVerifiedAt":"2026-11-23T14:27:17.747+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13976,"expectedIdentifiers":13976,"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-a9c862bcf8bde52ce182f69609f4579ca2fc6956e44f694dddf6a66800619683","complete":true,"records":9989,"lastAttemptAt":"2026-11-23T14:27:16.3265904+00:00","lastSuccessAt":"2026-11-22T16:25:54.6432964+00:00","error":null,"lastVerifiedAt":"2026-11-23T14:27:16.3265904+00:00","snapshotPublishedAt":"2026-11-22T16:18:32+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-23T14:25:33.546011+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-23T14:25:33.546011+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-9035327876399d833ccd89428db993d67e1ee675265fd15c191a68c5fa77f5a4","complete":true,"records":3216,"lastAttemptAt":"2026-11-23T14:27:16.3400219+00:00","lastSuccessAt":"2026-11-23T10:27:16.8439398+00:00","error":null,"lastVerifiedAt":"2026-11-23T14:27:16.3400219+00:00","snapshotPublishedAt":"2026-11-23T09:49:12+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-fa30584035aecd9fcb3957f1b6f0fa7c123dff6ae602c5854c827277d8bf3106","complete":true,"records":232885,"lastAttemptAt":"2026-11-23T14:27:16.2057635+00:00","lastSuccessAt":"2026-11-23T14:27:15.0281074+00:00","error":null,"lastVerifiedAt":"2026-11-23T14:27:16.2057635+00:00","snapshotPublishedAt":"2026-11-23T13:33:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}