Malicious code in novel-suduko (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-14269
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (21725a395742c4e3e10cd14a3c787d7a01d5cea63feec2515310f471d497f8ad) The package's postinstall lifecycle script chmods and executes the bundled binary native/hint-linux-amd64 via spawnSync(BIN, [], { stdio: 'inherit' }) on every linux-x64 install, with errors silently swallowed by a try/catch that only console.error's. The README falsely states the postinstall only performs chmod +x and 'executes nothing.' The shipped native/src/hint.go is a ~4 KB self-contained sudoku hint program using only fmt/os/io/bufio/json/strings, which would produce roughly a 2 MB stripped static Go binary; the shipped artifact is 33,976,468 bytes and its string table references facilities absent from the source (chacha8, /proc/self/cgroup, /proc/self/mountinfo, GODEBUG parsing). The declared build:native command in package.json cannot reproduce the shipped artifact from the shipped source. The Go file is a decoy alibi for a much larger opaque native payload that is executed on the installer's machine at npm install time.
- Source published
- 19 Aug 2026 06:22:31 UTC
- Source modified
- 19 Aug 2026 07:00:38 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.