{"id":"MAL-2026-10071","revision":"f0434268555a424f84bc0b4f41b08e9b","records":[{"revision":"f0434268555a424f84bc0b4f41b08e9b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10071","aliases":[],"title":"Malicious code in polymarket-kit (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (63a4eba33a56521a94e4e0b3ab2923d58b0c5cd398c791e36433536591a1d6ff)\nPackage name and description advertise a 'Polymarket API SDK', but the shipped code contains no Polymarket functionality. The exported getPlugin() helper fetches JSON from https://svganchordev.net/icons/106 and passes the response's `credits` field to a Function constructor invoked with require, module, process, Buffer, and related Node globals — giving the remote endpoint arbitrary code execution in the caller's Node.js process. The Polymarket branding and 'react/helper/svg' keywords are cover for a remote fetch-and-eval backdoor. The tarball also inadvertently ships an OpenSSH ed25519 private key (`gitlab`) belonging to the author, which does not harm the installer but should be rotated by the maintainer.\n","state":0,"publishedAt":"2026-07-09T15:47:53+00:00","modifiedAt":"2026-07-09T16:32:01.1970513+00:00","affected":[{"ecosystem":"npm","name":"polymarket-kit","ranges":[],"versions":["2.4.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/polymarket-kit/v/2.4.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10071","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10071","identifiers":["MAL-2026-10071"]},"retained":false,"historicalAffected":[]}],"coverage":[]}