Skip to content
supplychainattack.orgSupply chain attack incident catalog
activecritical

Malware in react-photo-views

Malware was discovered in the npm package react-photo-views. Systems with this package installed or running are considered fully compromised and require immediate remediation.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any system with the package installed or running
Ecosystems
Attack vectors
Affected entities
  • react-photo-views

A critical malware incident was identified in the npm package react-photo-views. According to the GitHub Security Advisory (GHSA-f2m2-w8gp-rjgq), 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, the advisory notes that full control of the computer may have been given to an outside entity, meaning removal of the package alone may not eliminate all malicious software that resulted from the installation.\n\nThis represents a critical supply chain attack through a compromised npm package with potential for complete system compromise.

Indicators of compromise

Packages
  • react-photo-views

Remediation

  • Immediately isolate any computer with react-photo-views installed from the network
  • Rotate all secrets, API keys, and credentials from a different, uncompromised computer
  • Remove the react-photo-views package from all affected systems
  • Perform a full security audit and malware scan of affected systems
  • Review system logs for any unauthorized access or activity
  • Consider full system reimaging if complete compromise is suspected
  • Notify all users and stakeholders who may have been affected

Sources

  1. GitHub Advisory GHSA-f2m2-w8gp-rjgq · GitHub Advisory Database

Cite this entry

"Malware in react-photo-views." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 11, 2026; last updated June 11, 2026. https://supplychainattack.org/incident/malware-in-react-photo-views-d2d65s

Suggest a correction

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

  1. activecritical

    Malware in transportator

    The npm package transportator contains malware that grants full system compromise to attackers. Any computer with this package installed or running should be considered fully compromised and all secrets and keys rotated immediately from a different machine.

    npmCompromised package
  2. containedcritical

    Malware in vite-react-toolkit

    The npm package vite-react-toolkit contained malware that provided full system compromise to attackers. Any computer with this package installed should be considered fully compromised and all secrets and keys rotated immediately from a different machine.

    npmCompromised package
  3. resolvedcritical

    Malware in @malwguy/ecto-corsair-whisper-3d2a7c

    The npm package @malwguy/ecto-corsair-whisper-3d2a7c contains malware that grants full system compromise to an outside entity. Any computer with this package installed or running should be considered fully compromised.

    npmCompromised package
  4. containedcritical

    Malware in coral-wraith

    Malware was discovered in the npm package coral-wraith. Systems with the package installed or running should be considered fully compromised and require immediate remediation.

    npmCompromised package