Skip to content
supplychainattack.orgSupply chain attack incident catalog
containedcritical

Malware in pretty-logger-js

Malware was discovered in the npm package pretty-logger-js. Systems with this package installed or running should be considered fully compromised, with all secrets and keys requiring immediate rotation from a different computer.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any system with the package installed or running
Ecosystems
Attack vectors
Affected entities
  • pretty-logger-js

The npm package pretty-logger-js was found to contain malware. According to the GitHub Advisory (GHSA-qfx3-7369-9f9v), any computer with this package installed or running should be considered fully compromised.\n\nImmediate remediation is critical: all secrets and keys stored on affected computers must 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 compromise.\n\nThe advisory indicates that full control of affected systems may have been given to an outside entity, underscoring the severity of the incident.

Indicators of compromise

Packages
  • pretty-logger-js

Remediation

  • Immediately rotate all secrets and keys from a different, uncompromised computer
  • Remove the pretty-logger-js package from all affected systems
  • Conduct a full security audit of any system that had this package installed
  • Monitor affected systems for signs of persistent malware or unauthorized access
  • Consider rebuilding or reimaging systems that had this package installed, as removal alone may not eliminate all malicious software

Sources

  1. GitHub Advisory GHSA-qfx3-7369-9f9v · GitHub Advisory Database

Cite this entry

"Malware in pretty-logger-js." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 19, 2026; last updated June 20, 2026. https://supplychainattack.org/incident/malware-in-pretty-logger-js-1ayelw

Suggest a correction

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

  1. activecritical

    Malware in @zahlen/checkout-angular

    Malware discovered in the npm package @zahlen/checkout-angular. Systems with this package installed are considered fully compromised and require immediate remediation.

    npmCompromised package
  2. containedcritical

    Malware in @nasdtickets/common

    Malware was discovered in the npm package @nasdtickets/common. Systems with this package installed are considered fully compromised and require immediate remediation.

    npmCompromised package
  3. containedcritical

    Malware in @hoteldev/common

    Malware was discovered in the npm package @hoteldev/common. Systems with this package installed or running are considered fully compromised and require immediate remediation.

    npmCompromised package
  4. resolvedcritical

    Malicious code in wallet-monitor-snap (npm)

    wallet-monitor-snap, an npm package implementing a MetaMask Snap, contained malicious code designed to trick users into entering their Secret Recovery Phrase via a fake security alert dialog. The captured mnemonic was returned to any invoking dapp, allowing full compromise of all derived HD wallet accounts.

    npmCompromised packageMalicious maintainer