{"id":"MAL-2026-14477","revision":"1e6a216339fc49ff96e6848916542f9e","records":[{"revision":"1e6a216339fc49ff96e6848916542f9e","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14477","aliases":[],"title":"Malicious code in js-soul (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3e5bb2e2d2011a8e8bcc3c0fba8aeed7cca1e1b92e19ea867535a27dbf2cc500)\nOn module load, src/api/session-api.js reads../../../../public/logo.ico (a path outside the package), DES-decrypts the contents with the hardcoded key 'bf497c0b9cee', spawns a detached `node` child process via child_process.spawn with {detached:true}, and pipes the decrypted plaintext into the interpreter's stdin, executing arbitrary code at `import 'js-soul'`. The disguise of executable JavaScript as an image asset, the hardcoded DES key, and an unrelated 'ThetaSDK initialization error' catch-block string contradict the package's stated purpose as a session helper library and its README claim that nothing runs on import. Any code the attacker stages at the sibling path executes in the installer process with the installer's privileges.\n","state":0,"publishedAt":"2026-08-25T07:08:58+00:00","modifiedAt":"2026-08-25T23:49:44.2747991+00:00","affected":[{"ecosystem":"npm","name":"js-soul","ranges":[],"versions":["1.0.4"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/js-soul/v/1.0.4"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14477","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14477","identifiers":["MAL-2026-14477"]},"retained":false,"historicalAffected":[]}],"coverage":[]}