{"id":"MAL-2026-12802","revision":"2057505b7fd744d88885c070a3021db4","records":[{"revision":"2057505b7fd744d88885c070a3021db4","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12802","aliases":[],"title":"Malicious code in shift-v4-sdk (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e86de9ce7bfa06a95a3e4d6c68f188d2c8c8b35537645e94a2fb3fee4c1e0e81)\nshift-v4-sdk@1.0.5 is a typosquat of the scoped package @shiftforex/shift-sdk-v4 (self-identified as such in a comment inside dist/index.js). Its postinstall script dist/recon.js runs automatically on npm install and collects the installer's hostname, user, sudo_user, home directory, cwd, DNS domain (via dnsdomainname), network interfaces and IP addresses, the full list of process.env variable names, and a filtered subset of env-var names matching credential-shaped patterns (AWS, GCP, AZURE, NPM, TOKEN, SECRET, KEY, PASS, CRED, GITHUB, GITLAB, SSH). The JSON blob is POSTed over plaintext HTTP to http://138.68.108.20/cb. An in-file comment framing this as 'non-sensitive telemetry' contradicts the actual behavior (host fingerprint plus secret-shaped env-var name enumeration is reconnaissance for follow-on targeting).\n","state":0,"publishedAt":"2026-08-05T13:18:42+00:00","modifiedAt":"2026-08-05T14:37:20.4484108+00:00","affected":[{"ecosystem":"npm","name":"shift-v4-sdk","ranges":[],"versions":["1.0.5"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/shift-v4-sdk/v/1.0.5"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12802","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12802","identifiers":["MAL-2026-12802"]},"retained":false,"historicalAffected":[]}],"coverage":[]}