Skip to content
supplychainattack.orgSupply chain attack incident catalog
containedcritical

Malware in mjs-biginteger

Malware was discovered in the npm package mjs-biginteger. Systems with this package installed are considered fully compromised and require immediate remediation.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any system with the package installed
Ecosystems
Attack vectors
Affected entities
  • mjs-bigintegernpm package

The npm package mjs-biginteger was found to contain malware. According to the GitHub Advisory (GHSA-798w-xm3v-cfx3), any computer with this package installed or running should be considered fully compromised.\n\nThe advisory recommends that all secrets and keys stored on affected computers be rotated immediately from a different, uncompromised system. While the package should be removed, there is no guarantee that removal will eliminate all malicious software that may have been installed as a result of the package installation, as the attacker may have gained full control of the system.\n\nThis represents a critical supply chain compromise affecting the npm ecosystem.

Indicators of compromise

Packages
  • mjs-biginteger

Remediation

  • Immediately rotate all secrets, API keys, and credentials from a different, uncompromised computer
  • Remove the mjs-biginteger package from all affected systems
  • Conduct a full security audit of any system that had this package installed
  • Review system logs for unauthorized access or activity during the period the package was installed
  • Consider the affected system(s) potentially compromised and plan for full rebuild if critical infrastructure

Sources

  1. GitHub Advisory GHSA-798w-xm3v-cfx3 · GitHub Advisory Database

Cite this entry

"Malware in mjs-biginteger." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 6, 2026; last updated July 6, 2026. https://supplychainattack.org/incident/malware-in-mjs-biginteger-b512xa

Suggest a correction

Found an error or have a newer source? Corrections to factual errors take priority over new entries.

  1. containedcritical

    Malicious code in ladash-cli (npm)

    ladash-cli is a typosquat package on npm that executes malicious code during installation. The postinstall script downloads and executes a Windows binary, with special handling for WSL environments to compromise the underlying Windows host.

    npmTyposquattingCompromised package
  2. containedcritical

    Malicious code in comand (npm)

    The npm package 'comand' contained malicious code that executed automatically on install via postinstall.js, exfiltrating platform information and downloading an unsigned executable (main.exe) to Windows systems or via WSL PowerShell bridges. The package name appears to be a typosquat of 'command', and the GitHub owner (braz1) does not match the npm publisher.

    npmCompromised packageTyposquatting
  3. resolvedcritical

    Malicious code in core-js-gns (npm)

    The npm package core-js-gns contained malicious code in its postinstall hook that exfiltrated system information and executed remotely-fetched Python code on developer machines. The package name was a typosquat of the legitimate core-js library.

    npmCompromised packageTyposquatting
  4. resolvedcritical

    Malicious code in comander-lib (npm)

    comander-lib@1.0.0 is a typosquat of the legitimate `commander` package containing malicious code. The package's postinstall script exfiltrates system information to a C2 server and downloads and executes a Windows payload, with capability to escape WSL/Linux sandboxes via PowerShell.

    npmTyposquattingCompromised package