{"items":[{"id":"NVI-00011081","kind":"supply_chain_event","title":"Malicious code in chaienv (npm)","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-3vpx-vp9c-229p"],"plain_summary":"GitHub lists this malware advisory for chaienv. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-bf05f4d99b6859425e04020ba61a2652"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-bf05f4d99b6859425e04020ba61a2652","url":"https://github.com/advisories/GHSA-3vpx-vp9c-229p","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-3vpx-vp9c-229p","publisher":"GitHub Advisory Database","observed_at":"2026-10-31T23:13:45.671Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-bf05f4d99b6859425e04020ba61a2652"],"technology":"chaienv","known_exclusions":[],"conditions_summary":"## Source: amazon-inspector (cbb73465123d4e732dae815badc8950b40e9447463c1fca697551ab3aa00e020)\nchaienv@1.0.2 is published as a small Chai environment helper, but its index.js unconditionally loads lib/config.js at require() time via `const { config } = require('./lib/config')`. lib/config.js is a 4,454,290-byte single-line module packed with obfuscator.io (RC4-decoded string array of roughly 26,000 entries), with no relation to the trivial no-op middleware the README advertises. The rest of lib/ ships verbatim pino internals (proto.js, multistream.js, levels.js, transport.js, worker.js, redaction.js, symbols.js) as decoys, the README CI badge and LICENSE point at github.com/pinojs/pino, and package.json bugs.url is jsonspack.com — none of which match the stated Chai-plugin purpose. Any consumer that imports this package executes the opaque 4.4MB blob on load; the package impersonates an unrelated well-known project's source tree to normalize the obfuscated sibling and bypass casual review.\n\n---\n\nCredit: OpenSSF ([source](https://github.com/ossf/malicious-packages/blob/c19ea3a01baa8c935920324eacf35bf5e92654fb/osv/malicious/npm/chaienv/MA","public_affected_ranges":["= 1.0.2"]}],"null_published_at":"2026-10-31T23:18:22.430Z","source_updated_at":"2026-09-30T06:31:54.000Z","source_disclosed_at":"2026-09-30T06:31:43.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T23:13:45.671Z"}],"next_cursor":null,"snapshot_revision":"42594"}