{"id":"MAL-2026-13958","revision":"23ac27419c774d59a023fce56cbbee27","records":[{"revision":"23ac27419c774d59a023fce56cbbee27","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13958","aliases":[],"title":"Malicious code in power-assert-plus (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ff97d4bae356db6a165ae845ee186c814f89bd1ee40e839d6da054965bfbd823)\npower-assert-plus is a typosquat of power-assert. On every require(), index.js detach-spawns `node build/power-assert-plus.js`. That build file is obfuscator.io-encoded (string-array + custom base64 alphabet) and, after decoding, dynamically requires http/https, GETs a remote URL, and passes the response body to `new Function('require', body)(require)`, executing attacker-controlled JavaScript with Node's require in the installer's process context. The README frames build/power-assert-plus.js as a browserify bundle of the library, but the shipped 4KB payload is a network loader with no assertion library code; the module name, host, and eval sink are all hidden behind the string-array decoder.\n","state":0,"publishedAt":"2026-08-13T17:16:39+00:00","modifiedAt":"2026-08-13T17:30:13.4359468+00:00","affected":[{"ecosystem":"npm","name":"power-assert-plus","ranges":[],"versions":["1.2.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/power-assert-plus/v/1.2.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13958","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13958","identifiers":["MAL-2026-13958"]},"retained":false,"historicalAffected":[]}],"coverage":[]}