{"id":"MAL-2026-16087","revision":null,"records":[{"revision":"1c3686c6864e47509b44af287c16375e","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-16087","aliases":["GHSA-cmwm-j5px-xrpf"],"title":"Malicious code in polygon-toolkits-validator (npm)","description":"polygon-toolkits-validator@1.1.4 exports Node crypto helper wrappers, but validate(input) base64-encodes its argument and POSTs it to https://raydium-clmm.maingoal.xyz/v1/check as {action: \"validator\", content: btoa(input)} through check_validator() in dist/index.js, then returns true without validating anything, and randomBytes(size) forwards the hex output of crypto.randomBytes to the same host before returning it, so any key or nonce generated through it is disclosed at creation. Nothing runs on install or import; the send happens on the first call to either export. dist/index.js is the same file as crypto-validates@0.0.2 from the same npm account (luisdary), which also published raydium-clmm-sdk and pumpswap-sdk-v1 with the same function against *.maingoal.xyz. The check_validator shape matches MAL-2026-4642, MAL-2026-10640 and MAL-2026-10641, which used other hosts.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (247ced1b39382952aa5c665774c77a1c321b80b13d29f7118e938d85ef720c23)\nThe package ships only a minified dist bundle that re-exports familiar node:crypto names (createCipheriv, createDecipheriv, createPrivateKey, randomBytes, checkPrime, scrypt), presenting itself as a drop-in crypto shim. Two exported paths covertly transmit sensitive data to a hardcoded remote host: randomBytes(n) generates bytes via crypto.randomBytes(n).toString('hex') and then passes the hex string to an internal check_validator() before returning it, and the exported validate() likewise passes its caller-supplied argument to check_validator(). check_validator() POSTs the value, base64-encoded, to https://raydium-clmm.maingoal.xyz/v1/check with body {action:\"validator\",content:btoa(e)}. The destination is hardcoded, not caller-configurable, and unrelated to the declared 'Polygon toolkits validator' purpose. Callers use randomBytes for keys, IVs, nonces, and seeds, and pass sensitive strings (private keys, mnemonics, transaction payloads) to validate(); those values are transmitted to the operator on every call, enabling reproduction of derived keys/nonces and disclosure of caller inputs.\n\n## Source: ghsa-malware (6c6493dc8ede3bc3d88353d577d82ca96073206d90f776147fe050a3b61bda64)\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-09-09T14:00:00+00:00","modifiedAt":"2026-09-10T06:15:06.5970246+00:00","affected":[{"ecosystem":"npm","name":"polygon-toolkits-validator","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["1.1.4"],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/advisories/GHSA-cmwm-j5px-xrpf","https://www.npmjs.com/package/polygon-toolkits-validator/v/1.1.4","https://www.npmjs.com/package/polygon-toolkits-validator","https://osv.dev/vulnerability/MAL-2026-4642","https://osv.dev/vulnerability/MAL-2026-10640","https://osv.dev/vulnerability/MAL-2026-10641"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-16087","license":"OSV · upstream source license applies","key":"osv:MAL-2026-16087","identifiers":["MAL-2026-16087","GHSA-cmwm-j5px-xrpf"]},"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-15T05:33:08.8880596+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-15T05:33:08.8880596+00:00","lastSuccessAt":"2026-11-15T05:33:09.0454734+00:00","error":null,"lastVerifiedAt":"2026-11-15T05:33:09.0454743+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-7de4d7559a5263003f03d9f70577ab06f92ba4178309f26fce53e22a4a959294-9c890a786bd205ab235a116ecdb9bd75b644cfe98897e29519cac4dd1021eec2","complete":true,"records":425770,"lastAttemptAt":"2026-11-15T05:30:54.9292319+00:00","lastSuccessAt":"2026-11-15T05:30:54.9240411+00:00","error":null,"lastVerifiedAt":"2026-11-15T05:30:54.9292319+00:00","snapshotPublishedAt":"2026-11-15T05:22:01+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-cb4b7b92dac24b6fa19639026a1081fc","complete":false,"records":13821,"lastAttemptAt":"2026-11-15T05:43:23.2343834+00:00","lastSuccessAt":"2026-11-15T05:43:23.229+00:00","error":"42 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-15T05:43:23.229+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13832,"expectedIdentifiers":13874,"failedIdentifiers":42},{"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-15T05:33:08.8880596+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-15T05:33:08.8880596+00:00","lastSuccessAt":"2026-11-15T05:33:09.0493605+00:00","error":null,"lastVerifiedAt":"2026-11-15T05:33:09.0493658+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-35abf047bdfe46089a52c4c139c37942","complete":true,"records":13833,"lastAttemptAt":"2026-11-15T05:33:23.8475868+00:00","lastSuccessAt":"2026-11-15T05:33:23.837+00:00","error":null,"lastVerifiedAt":"2026-11-15T05:33:23.837+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13874,"expectedIdentifiers":13874,"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-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-15T05:33:08.4337493+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-15T05:33:08.4337493+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+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-15T05:30:55.068409+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-15T05:30:55.068409+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-012aff9b2fb349d53e2c4bace6ca57956b6f5f9d82c1dc9fdc1c9b3c738f8977","complete":true,"records":3148,"lastAttemptAt":"2026-11-15T05:33:08.8329042+00:00","lastSuccessAt":"2026-11-14T04:57:03.8279646+00:00","error":null,"lastVerifiedAt":"2026-11-15T05:33:08.8329042+00:00","snapshotPublishedAt":"2026-11-14T03:02:50+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-878f718ccd076f540460423958c8e379b139b997b45858275573ecc4d702fe9a","complete":true,"records":232474,"lastAttemptAt":"2026-11-15T05:33:08.3078761+00:00","lastSuccessAt":"2026-11-15T05:33:06.8241102+00:00","error":null,"lastVerifiedAt":"2026-11-15T05:33:08.3078761+00:00","snapshotPublishedAt":"2026-11-15T04:33:08+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}