{"id":"MAL-2026-12405","revision":null,"records":[{"revision":"0d1983e51ba54104834601e534121bda","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12405","aliases":[],"title":"Malicious code in opencode-engos-ai (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (42180a034d43d3c6d16e223fe6fcd93f6e403f0c73c763e9b21b6aded0545274)\nOn npm install, postinstall.mjs enumerates platform-specific sibling package names of the form opencode-engos-<platform>-<arch>[-baseline][-musl], resolves each to the current 'latest' tag via `npm view <name> version`, installs the resolved version into a temp directory, then copies the fetched 'opencode' binary into the wrapper's bin/ with chmod 755. The fetched artifact is not pinned to a specific version and is not hash- or signature-verified, so whatever the publisher of the sibling packages pushes to 'latest' at install time is what executes on the installer's host. The sibling package names are not declared in the manifest's optionalDependencies, so they are resolved by name rather than through the reviewable dependency graph. In addition, createSymlinks() writes symlinks at /usr/local/bin/innexarcode and /usr/bin/innexarcode pointing at the fetched binary — a name that matches neither the package name (opencode-engos-ai), its declared bin entry (opencode-engos), nor any documented CLI, placing an unrelated command into the installer's system PATH. The package name also resembles the existing 'opencode' AI CLI.\n","state":2,"publishedAt":"2026-08-05T12:53:36+00:00","modifiedAt":"2026-08-18T05:46:19.0411555+00:00","affected":[{"ecosystem":"npm","name":"opencode-engos-ai","ranges":[],"versions":["1.20.3","1.20.4","1.20.5","1.20.6","1.21.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/opencode-engos-ai/v/1.20.3","https://www.npmjs.com/package/opencode-engos-ai/v/1.20.4","https://www.npmjs.com/package/opencode-engos-ai/v/1.20.5","https://www.npmjs.com/package/opencode-engos-ai/v/1.20.6","https://www.npmjs.com/package/opencode-engos-ai/v/1.21.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12405","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12405","identifiers":["MAL-2026-12405"]},"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-21T20:28:23.8856285+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-21T20:28:23.8856285+00:00","lastSuccessAt":"2026-11-21T20:28:24.0800335+00:00","error":null,"lastVerifiedAt":"2026-11-21T20:28:24.0800355+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-1af9b7340615cb322525d55379d7b4d30ed4c1f2d9e295f5edbf1488997f1b8b","complete":true,"records":430355,"lastAttemptAt":"2026-11-21T20:25:41.3056026+00:00","lastSuccessAt":"2026-11-21T20:15:58.7636934+00:00","error":null,"lastVerifiedAt":"2026-11-21T20:25:41.3056026+00:00","snapshotPublishedAt":"2026-11-21T19:28:28+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-5f30ac36526e4c24bbe0138ef25f40f8","complete":false,"records":13927,"lastAttemptAt":"2026-11-21T20:38:03.4963642+00:00","lastSuccessAt":"2026-11-21T20:38:03.491+00:00","error":"195 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-21T20:38:03.491+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13779,"expectedIdentifiers":13975,"failedIdentifiers":195},{"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-21T20:28:23.8856285+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-21T20:28:23.8856285+00:00","lastSuccessAt":"2026-11-21T20:28:24.1066848+00:00","error":null,"lastVerifiedAt":"2026-11-21T20:28:24.1066862+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-31bf8fa69c9047708b8efdd4ba972a08","complete":true,"records":13939,"lastAttemptAt":"2026-11-21T20:28:25.1576+00:00","lastSuccessAt":"2026-11-21T20:16:13.883+00:00","error":null,"lastVerifiedAt":"2026-11-21T20:16:13.883+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13975,"expectedIdentifiers":13975,"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-e5345bb505029da8292989aaa8236ee0c21dd40080e465858702ec2ecb4dcefd","complete":true,"records":9989,"lastAttemptAt":"2026-11-21T20:28:23.7915189+00:00","lastSuccessAt":"2026-11-21T19:16:03.0413179+00:00","error":null,"lastVerifiedAt":"2026-11-21T20:28:23.7915189+00:00","snapshotPublishedAt":"2026-11-21T18:18:24+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-21T20:25:42.464307+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-21T20:25:42.464307+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-67ea94df7f6b2100258b087b14035af283f000b6aefe39f55e9f2795f912fde8","complete":true,"records":3209,"lastAttemptAt":"2026-11-21T20:28:23.8311567+00:00","lastSuccessAt":"2026-11-21T19:16:06.9994675+00:00","error":null,"lastVerifiedAt":"2026-11-21T20:28:23.8311567+00:00","snapshotPublishedAt":"2026-11-21T18:18:24+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-ca9191aa5fa7fa5c5a36899d65632bf6b4c0113dd89adbc5ffafda61020ad762","complete":true,"records":232850,"lastAttemptAt":"2026-11-21T20:28:23.612302+00:00","lastSuccessAt":"2026-11-21T20:28:22.4166332+00:00","error":null,"lastVerifiedAt":"2026-11-21T20:28:23.612302+00:00","snapshotPublishedAt":"2026-11-21T20:18:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}