{"id":"MAL-2026-10711","revision":null,"records":[{"revision":"c087d0d1374c4722bff9757a2a958f29","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10711","aliases":[],"title":"Malicious code in @funny-booth/agent-core (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6693129f8b6f8b6c2d52722ca7746d6ef3dd792476297fa3583d3956548eb2b4)\nThe package ships heavily obfuscated runtime files (dist/index.js, dist/launcher.js) built with javascript-obfuscator. The MCP server registered as the package's main entry exposes an `install_mcp` tool that fetches JSON from the hardcoded portal `prompt-injection-tool-portal.vercel.app` and passes its `install_command` field directly to `child_process.exec()` on the installer's host, giving the portal operator arbitrary shell execution with the installer's privileges. The launcher (invoked by every `salesbot1..10` bin entry) calls `fetchBundledMcps` against the same portal and, for each returned entry, spawns `npx -y <entry.package>` while injecting locally decrypted vault secrets into the child's env — the portal can name any npm package, including a freshly published attacker-owned one, and it will be downloaded and executed with those secrets on hand. The launcher also unconditionally spawns a detached `npm i -g @funny-booth/agent-core@latest` on every run, silently self-updating to whatever the publisher pushes next. The launcher additionally spawns the local `claude` CLI with a portal-supplied greeting/knowledge string prepended as the initial user prompt and a portal-controlled MCP config, providing a prompt-injection channel into the user's Claude agent session. The repository URL in package.json is `github.com/yutamatsuura/prompt-injection-tool` and the deliberate obfuscation of the portal endpoints, exec sink, and auto-update spawn is consistent with intentional concealment of these remote-execution channels.\n","state":0,"publishedAt":"2026-07-16T18:33:35+00:00","modifiedAt":"2026-08-14T20:00:12.1272412+00:00","affected":[{"ecosystem":"npm","name":"@funny-booth/agent-core","ranges":[],"versions":["0.1.6","0.1.1","0.1.5","0.1.3","0.1.4","0.1.2","0.1.9","0.1.7","0.1.8"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@funny-booth/agent-core/v/0.1.6","https://www.npmjs.com/package/@funny-booth/agent-core/v/0.1.1","https://www.npmjs.com/package/@funny-booth/agent-core/v/0.1.5","https://www.npmjs.com/package/@funny-booth/agent-core/v/0.1.3","https://www.npmjs.com/package/@funny-booth/agent-core/v/0.1.4","https://www.npmjs.com/package/@funny-booth/agent-core/v/0.1.2","https://www.npmjs.com/package/@funny-booth/agent-core/v/0.1.9","https://www.npmjs.com/package/@funny-booth/agent-core/v/0.1.7","https://www.npmjs.com/package/@funny-booth/agent-core/v/0.1.8"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10711","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10711","identifiers":["MAL-2026-10711"]},"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-22T00:25:34.3844261+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-22T00:25:34.3844261+00:00","lastSuccessAt":"2026-11-22T00:25:34.5272085+00:00","error":null,"lastVerifiedAt":"2026-11-22T00:25:34.5272093+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-0d3e14b7ef33e2bcf8cb0f8a74243181b0f9a9ac772150bd1638464c06189433","complete":true,"records":430360,"lastAttemptAt":"2026-11-22T00:25:33.9736932+00:00","lastSuccessAt":"2026-11-22T00:25:33.9369292+00:00","error":null,"lastVerifiedAt":"2026-11-22T00:25:33.9736932+00:00","snapshotPublishedAt":"2026-11-21T23:29: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-b44d317117b8497cba69e81c11fd61d4","complete":false,"records":13927,"lastAttemptAt":"2026-11-22T00:38:05.7160259+00:00","lastSuccessAt":"2026-11-22T00:38:05.71+00:00","error":"139 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-22T00:38:05.71+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13572,"expectedIdentifiers":13975,"failedIdentifiers":139},{"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-22T00:25:34.3844261+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-22T00:25:34.3844261+00:00","lastSuccessAt":"2026-11-22T00:25:34.5279698+00:00","error":null,"lastVerifiedAt":"2026-11-22T00:25:34.52797+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-b1edd4eceb95489f963c5eaabafcc54b","complete":true,"records":13939,"lastAttemptAt":"2026-11-22T00:26:00.2709166+00:00","lastSuccessAt":"2026-11-22T00:26:00.267+00:00","error":null,"lastVerifiedAt":"2026-11-22T00:26:00.267+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-22T00:25:34.2392571+00:00","lastSuccessAt":"2026-11-21T19:16:03.0413179+00:00","error":null,"lastVerifiedAt":"2026-11-22T00:25:34.2392571+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-22T00:25:34.0292965+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-22T00:25:34.0292965+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-22T00:25:34.3429023+00:00","lastSuccessAt":"2026-11-21T19:16:06.9994675+00:00","error":null,"lastVerifiedAt":"2026-11-22T00:25:34.3429023+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-51ee6316df1f127212a04a5d14e44bd5b8320ce3e4eef0c5252608edb6cd3602","complete":true,"records":232850,"lastAttemptAt":"2026-11-22T00:25:34.1345749+00:00","lastSuccessAt":"2026-11-21T23:27:19.9062791+00:00","error":null,"lastVerifiedAt":"2026-11-22T00:25:34.1345749+00:00","snapshotPublishedAt":"2026-11-21T23:18:21+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}