{"id":"MAL-2026-10590","revision":"61f76b8367b544a4bf8ca79de8eccf27","records":[{"revision":"61f76b8367b544a4bf8ca79de8eccf27","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10590","aliases":[],"title":"Malicious code in openaiwrapper (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ea3d691208e7e5c443aa161241ca12c9b3eacb1b04428f886ea8c5fbec5a4d0c)\nThe package's postinstall lifecycle hook runs.init.js, which reads a hardcoded list of credential-shaped environment variables (including NPM_TOKEN, GITHUB_TOKEN, AWS_SECRET_ACCESS_KEY, STRIPE_*, DB_PASSWORD, and other cloud/service tokens) and reads credential files under the user's home directory (~/.npmrc, ~/.env*, config.json, credentials.json, and token/secret files under ~/.config). It also collects host identifiers (hostname, platform, cwd, pid). The collected data is serialized and POSTed via https to the hardcoded endpoint https://webhook.cool/at/tender-deer-80/. This fires automatically on `npm install` with no user opt-in, and the package's name suggests it is impersonating an OpenAI client library.\n","state":0,"publishedAt":"2026-07-14T13:59:47+00:00","modifiedAt":"2026-07-14T14:49:15.0078304+00:00","affected":[{"ecosystem":"npm","name":"openaiwrapper","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/openaiwrapper/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10590","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10590","identifiers":["MAL-2026-10590"]},"retained":false,"historicalAffected":[]}],"coverage":[]}