{"id":"MAL-2026-15813","revision":null,"records":[{"revision":"0c5235fc8d744a48ad174809fbdeace7","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-15813","aliases":[],"title":"Malicious code in bt2-api-gateway-node-js (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1e7b3146f31802aabbf0fcf530d3581e85274664be041a9c7ef12dfb3eb1713b)\nbt2-api-gateway-node-js@999.0.1 runs a postinstall-triggered IIFE in index.js that reads installer-owned secrets from disk — ~/.ssh private keys, ~/.aws/{credentials,config,sso/cache}, ~/.azure, gcloud ADC, ~/.kube/config, ~/.docker/config.json, gh hosts.yml, ~/.netrc, ~/.npmrc, ~/.pypirc, ~/.gem/credentials, ~/.cargo/credentials, ~/.pgpass, ~/.my.cnf, and vercel/netlify/supabase/firebase tokens — and sweeps process.env for TOKEN/KEY/SECRET/PASSWORD and AWS/AZURE/GITHUB/STRIPE variables. The collected data is JSON-serialized, base64-encoded, and POSTed to two hardcoded destinations: the Telegram Bot API (api.telegram.org/bot<token>/sendMessage) and http://2.26.82.63:8888/collect over plain HTTP. Execution aborts if NODE_ENV=test, CI=true, JEST_WORKER_ID or VITEST is set, or /.dockerenv exists, and is delayed by a randomized 5–15 second setTimeout to evade CI and sandbox observation. The version number (999.0.1) and package name are consistent with a dependency-confusion lure targeting an internal 'bt2-api-gateway' package.\n\n## Source: ossf-package-analysis (e3a3256b290402643d8dc39967ec2724fdbc490105a0581a1e3c1b2d96faee3e)\nThe OpenSSF Package Analysis project identified 'bt2-api-gateway-node-js' @ 999.0.0 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n","state":0,"publishedAt":"2026-09-01T17:16:24+00:00","modifiedAt":"2026-09-03T06:45:05.6437804+00:00","affected":[{"ecosystem":"npm","name":"bt2-api-gateway-node-js","ranges":[],"versions":["999.0.1","999.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bt2-api-gateway-node-js/v/999.0.1","https://www.npmjs.com/package/bt2-api-gateway-node-js/v/999.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-15813","license":"OSV · upstream source license applies","key":"osv:MAL-2026-15813","identifiers":["MAL-2026-15813"]},"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-19T17:46:39.4074328+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-19T17:46:39.4074328+00:00","lastSuccessAt":"2026-11-19T17:46:39.5689571+00:00","error":null,"lastVerifiedAt":"2026-11-19T17:46:39.5689578+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-e55c589538e0700b45c7d6d41fe1447a79199283262c371c864535c791a040b9-29127ed5a30b594c8695a035b880214600c6799d7aba9eb0ad6865c8b72539b0","complete":true,"records":428915,"lastAttemptAt":"2026-11-19T17:44:35.0161023+00:00","lastSuccessAt":"2026-11-19T17:44:34.8324847+00:00","error":null,"lastVerifiedAt":"2026-11-19T17:44:35.0161023+00:00","snapshotPublishedAt":"2026-11-19T17:29:22+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-c4099be942764e598af661ad6efdf0a8","complete":false,"records":13866,"lastAttemptAt":"2026-11-19T17:56:20.3264448+00:00","lastSuccessAt":"2026-11-19T17:56:20.308+00:00","error":"401 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-19T17:56:20.308+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13510,"expectedIdentifiers":13914,"failedIdentifiers":401},{"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-19T17:46:39.4074328+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-19T17:46:39.4074328+00:00","lastSuccessAt":"2026-11-19T17:46:39.5697648+00:00","error":null,"lastVerifiedAt":"2026-11-19T17:46:39.5697649+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-a4754fe2f8f04ca6ae31b64475b86269","complete":true,"records":13878,"lastAttemptAt":"2026-11-19T17:46:40.7446208+00:00","lastSuccessAt":"2026-11-19T17:46:40.74+00:00","error":null,"lastVerifiedAt":"2026-11-19T17:46:40.74+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13914,"expectedIdentifiers":13914,"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-7b847de8d346a4b605d25dfaa256e6048ccf033cdf1e65b5fde14a9872a0b2a6","complete":true,"records":9965,"lastAttemptAt":"2026-11-19T17:46:35.7692889+00:00","lastSuccessAt":"2026-11-19T16:46:59.4476531+00:00","error":null,"lastVerifiedAt":"2026-11-19T17:46:35.7692889+00:00","snapshotPublishedAt":"2026-11-19T16:18:26+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-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-19T17:44:35.1589841+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-19T17:44:35.1589841+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+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-dcf771d02804125af0c0f27ccbde8a0dfb5f91ffa78aca098bacce9b58aa2c8b","complete":true,"records":3194,"lastAttemptAt":"2026-11-19T17:46:39.3726795+00:00","lastSuccessAt":"2026-11-19T17:46:39.253912+00:00","error":null,"lastVerifiedAt":"2026-11-19T17:46:39.3726795+00:00","snapshotPublishedAt":"2026-11-19T16:48:38+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-a5dc42b1d82295cda343595d8a7a9b53c5349d8a398f43621d968530d472b9a6","complete":true,"records":232772,"lastAttemptAt":"2026-11-19T17:46:35.6447462+00:00","lastSuccessAt":"2026-11-19T17:46:34.5427331+00:00","error":null,"lastVerifiedAt":"2026-11-19T17:46:35.6447462+00:00","snapshotPublishedAt":"2026-11-19T17:33:24+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}