Advisory

MAL-2026-18697

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in testtestkjkldfnjdfn (npm)

Details

testtestkjkldfnjdfn ships nebula.js, byte-identical to the nebulajs-api payload, and a preinstall.cjs that is a single opaque Function(...) call decoding XOR-encrypted code at install time. It is a new name for the nebulajs-api (MAL-2026-17220) campaign; the file hashes below match that record's evidence. The package presents itself as an ordinary utility, so the code runs on import or install without the user knowing.

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (ec6afa0eff8e9d3d80074bf35ec4404145f902258d76759fcbe394555fd5e8eb)
package.json declares preinstall: node preinstall.cjs, which runs automatically on npm install. preinstall.cjs is a single ~311 KB line consisting of a Function(...) constructor over a heavily obfuscated program: a seeded PRNG/XOR string decoder (fJyK0L) operating on a packed alphabet string (jVDbNW), a numeric opcode table (wKc07cB), and a control-flow-flattened dispatcher. All strings, destinations, filesystem paths, and command invocations are reconstructed only at execution time, so the actual behavior is not visible in source. The package's shipped main is an unrelated thin AI-client stub, making the preinstall loader the substantive payload of the package. The combination of a lifecycle-hook Function() loader over a 311 KB opaque, control-flow-flattened blob has no benign explanation — ordinary native-build and license-check tooling ships readable source — and gives whoever published the package arbitrary code execution on every installer's machine at install time.

Severity

Not rated by the source.

Dates

Published
2026-10-26 00:00 UTC
Modified
2026-11-13 04:30 UTC

Affected packages and fixes

testtestkjkldfnjdfn

npm · All systems

Affected

  • Versions: 1.0.0

Fixed versions

None listed

Fix

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

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences