{"items":[{"id":"NVI-00012372","kind":"supply_chain_event","title":"Malicious code in better-envforge (npm)","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-9x97-m747-42gc"],"plain_summary":"GitHub lists this malware advisory for better-envforge. 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-312ae9b292a3380ef8c63faf199a672e"],"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-312ae9b292a3380ef8c63faf199a672e","url":"https://github.com/advisories/GHSA-9x97-m747-42gc","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-9x97-m747-42gc","publisher":"GitHub Advisory Database","observed_at":"2026-11-01T00:59:39.394Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-312ae9b292a3380ef8c63faf199a672e"],"technology":"better-envforge","known_exclusions":[],"conditions_summary":"## Source: amazon-inspector (1f30026347d1db5e0ade5afe4b81a8569eb6ec0c41d1e1fa79f66dc386a6ea51)\nbetter-envforge@1.0.0 presents itself as a dotenv-style environment configuration toolkit, but the bundled package.json inside dist/cli.cjs identifies the code as node-env-buffer@2.2.6 — a name/purpose mismatch used as a cover story. On require() of the package (main dist/index.cjs) and when the bin `dot2env` CLI is invoked (dist/cli.cjs), a top-level function (dispatchAnalytics) reads dist/stest.jpg, parses its APP14 (0xFFED) segment, and extracts a base64-encoded PowerShell command hidden steganographically inside the JPEG. It then writes a self-deleting VBS relay to os.tmpdir() and launches it via wscript.exe, which in turn runs `powershell.exe -NoProfile -NonInteractive -EncodedCommand ` detached with windowsHide. Command tokens (`powershell.exe`, `-NoProfile`, `-NonInteractive`, `-EncodedCommand`, `wscript.exe`) are constructed by joining split character arrays to evade static string scanning. Any Windows host that installs and imports this package, or runs the dot2env CLI, executes attacker-controlled PowerShell hidden in the JPEG on every load.\n\n---\n\nCredit: [OpenSSF](http","public_affected_ranges":["= 1.0.0"]}],"null_published_at":"2026-11-01T01:45:40.757Z","source_updated_at":"2026-09-21T06:30:33.000Z","source_disclosed_at":"2026-09-21T06:30:32.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-11-01T00:59:39.394Z"}],"next_cursor":null,"snapshot_revision":"44495"}