{"id":"MAL-2026-10626","revision":"97243336f0194221909b2220610cb7ee","records":[{"revision":"97243336f0194221909b2220610cb7ee","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10626","aliases":[],"title":"Malicious code in @react-case/option (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c4beffda94b8ea554f153faaf508da7906f78d821d45d2fca7b7b61180740269)\nThe package's main entrypoint (index.js) is heavily obfuscated with a string-array + RC4-style decoder that reconstructs all API names and the target URL at runtime. On module load it requires fs, os, path, crypto, and child_process, performs an HTTP GET against the runtime-reconstructed remote host, splits the response on ':', decrypts the parts with createDecipheriv using a hardcoded key/IV, writes the resulting bytes to a file under os.homedir(), and executes that file via child_process with cwd set to the user's home directory and windowsHide:true. The package ships no README, has an empty description and empty author metadata, and there is no legitimate library functionality — the only effect of requiring it is fetch-decrypt-write-exec of attacker-controlled code on the installer's machine.\n","state":0,"publishedAt":"2026-07-15T01:09:12+00:00","modifiedAt":"2026-07-15T05:19:39.736113+00:00","affected":[{"ecosystem":"npm","name":"@react-case/option","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@react-case/option/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10626","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10626","identifiers":["MAL-2026-10626"]},"retained":false,"historicalAffected":[]}],"coverage":[]}