{"id":"MAL-2026-17312","revision":"1979007703ed4fe390d07ea3f90e62ab","records":[{"revision":"1979007703ed4fe390d07ea3f90e62ab","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-17312","aliases":[],"title":"Malicious code in json-bigint-rs (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7f5b71b917a0504deb87a597d9d07527179c2d6bb9ec1f836caa34d6145aa043)\nOn require(), index.js instantiates the shipped json-bigint-rs.wasm module and, for imports declared under the 'wasm:js/string-constants' module namespace, exposes each descriptor's name as an externref global. This mechanism smuggles a full JavaScript payload as WASM import-descriptor names, hiding it from JS-only source scanners. The reconstructed payload is an IIFE wired to node:vm.runInThisContext / runInNewContext that polls three hardcoded hosts (rs.undotest.top, rs.lightnight.top, rs.belivelight.top) every 30 seconds and executes the response body as JavaScript in-process with access to console and process. Execution is gated by NODE_ENV==='production', so the dropper stays dormant on developer machines and activates on servers and CI. The remote hosts are mutable and unrelated to any documented publisher; the behavior is undocumented in README. The package name and stated purpose (a bignum JSON parser) provide cover for a delivery vehicle whose only observable install/require-time effect is fetching and evaluating attacker-chosen JavaScript.\n","state":0,"publishedAt":"2026-09-30T01:47:59+00:00","modifiedAt":"2026-09-30T03:00:04.4142132+00:00","affected":[{"ecosystem":"npm","name":"json-bigint-rs","ranges":[],"versions":["0.1.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/json-bigint-rs/v/0.1.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-17312","license":"OSV · upstream source license applies","key":"osv:MAL-2026-17312","identifiers":["MAL-2026-17312"]},"retained":false,"historicalAffected":[]}],"coverage":[]}