novel-suduko
Affected
- Versions:
1.0.1
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in novel-suduko (npm)
---
_-= 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.
Not rated by the source.
1.0.1None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0