{"id":"MAL-2026-12803","revision":"88108fe47f834069a4cf43fe4163f6da","records":[{"revision":"88108fe47f834069a4cf43fe4163f6da","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12803","aliases":[],"title":"Malicious code in shiftmarkets-sdk (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b1628a8b4e8b6c4c117f2a38f7d69664950c1d5758772c64c2225f296f681c29)\nThe package declares a postinstall hook that runs dist/recon.js on npm install. The script collects hostname, username, sudo_user, homedir, cwd, internal IPv4 addresses of all network interfaces, DNS domain, CI indicators, and the full list of process.env variable names — including a subset filtered against a regex matching AWS/GCP/AZURE/NPM/TOKEN/SECRET/KEY/PASS/CRED/GITHUB/SSH keywords — and POSTs the JSON payload over plain HTTP to http://138.68.108.20/cb, a hardcoded bare IP unrelated to the package's stated SDK purpose. A docstring header labels the collection as 'NON-SENSITIVE telemetry only' while the code simultaneously enumerates and filters environment variable names for credential-shaped keywords, indicating deliberate mislabeling of pre-attack reconnaissance as benign telemetry.\n","state":0,"publishedAt":"2026-08-05T13:13:06+00:00","modifiedAt":"2026-08-05T14:37:20.7319695+00:00","affected":[{"ecosystem":"npm","name":"shiftmarkets-sdk","ranges":[],"versions":["2.1.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/shiftmarkets-sdk/v/2.1.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12803","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12803","identifiers":["MAL-2026-12803"]},"retained":false,"historicalAffected":[]}],"coverage":[]}