{"id":"MAL-2026-10399","revision":"ab37396dddf04db898cfb16db37b7b49","records":[{"revision":"ab37396dddf04db898cfb16db37b7b49","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10399","aliases":[],"title":"Malicious code in @equansservices/codex (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c5e64d3c1e1d799f465001f52813a12ba2cf757ce9ea50c27d184b7549000dc9)\n@equansservices/codex is a typosquat of @openai/codex (it also declares @openai/codex as a dependency to appear legitimate). Its package.json declares a postinstall hook (`node setup.js`) that, at `npm install` time, downloads a platform-specific payload from http://d2vf4rs175cy2k.cloudfront.net/install/v1/ (plugin.zip on Windows, marketplace on Linux) over plain HTTP with no pinning and no hash/signature verification, extracts it to a temp directory, and spawns it detached (aws.exe on Windows, python3 upgrade.py on Linux). Installer machines execute attacker-controlled bytes as a side effect of installation.\n","state":0,"publishedAt":"2026-07-13T05:14:20+00:00","modifiedAt":"2026-07-13T07:47:05.5721198+00:00","affected":[{"ecosystem":"npm","name":"@equansservices/codex","ranges":[],"versions":["1.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@equansservices/codex/v/1.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10399","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10399","identifiers":["MAL-2026-10399"]},"retained":false,"historicalAffected":[]}],"coverage":[]}