{"id":"MAL-2024-2779","revision":"527abac03eb847088c91b488f56962ab","records":[{"revision":"527abac03eb847088c91b488f56962ab","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2024-2779","aliases":["GHSA-35fj-cp92-rv2m"],"title":"Malicious code in oauth-connect (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b49c48193ba50bb4ead1e212925eab8873e7e4ad7fa834d41e7626bb4e5036f3)\npackage.json declares a `preinstall: node index.js` hook that fires automatically on `npm install`. index.js collects installer-side data — `os.hostname()`, `os.userInfo()`, home directory, DNS server configuration, the contents of `/etc/passwd` and `/etc/hosts`, and the contents of the consumer's `package.json` — then HTTPS POSTs the assembled JSON to `f3js0y9srl22itqjffo9jbl8mzswgm4b.oastify.com`, an attacker-controlled Burp Collaborator subdomain. The package's advertised purpose (an OAuth helper) bears no relationship to reading `/etc/passwd` or beaconing host identifiers off-machine. This is a reconnaissance / dependency-confusion exfiltration payload that runs unattended on every installer.\n","state":0,"publishedAt":"2024-06-25T12:53:40+00:00","modifiedAt":"2026-09-01T11:31:38.7252175+00:00","affected":[{"ecosystem":"npm","name":"oauth-connect","ranges":[],"versions":["2.0.1","0.1.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/oauth-connect/v/0.1.1","https://github.com/advisories/GHSA-35fj-cp92-rv2m"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2024-2779","license":"OSV · upstream source license applies","key":"osv:MAL-2024-2779","identifiers":["MAL-2024-2779","GHSA-35fj-cp92-rv2m"]},"retained":false,"historicalAffected":[]}],"coverage":[]}