Skip to content
supplychainattack.orgSupply chain attack incident catalog
activecritical

Malware in @apexcraft/nano-key

Malware was discovered in the npm package @apexcraft/nano-key. Any computer with this package installed or running should be considered fully compromised, with all secrets and keys requiring immediate rotation from a different system.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any system with the package installed or running
Ecosystems
Attack vectors
Affected entities
  • @apexcraft/nano-key

A critical malware incident was identified in the npm package @apexcraft/nano-key. According to the GitHub Advisory (GHSA-8x7w-vjr2-7q4m), any system that has installed or executed this package should be treated as fully compromised.\n\nThe advisory recommends that all secrets and cryptographic keys stored on affected computers be rotated immediately from a different, uncompromised system. While the package should be removed, the advisory notes that because the malware may have granted full control of the system to an external entity, removal of the package alone cannot guarantee complete remediation of all malicious software that may have been installed.\n\nThis represents a critical supply chain compromise affecting the npm ecosystem.

Indicators of compromise

Packages
  • @apexcraft/nano-key

Remediation

  • Immediately isolate any system that has installed or run @apexcraft/nano-key from the network
  • Rotate all secrets, API keys, credentials, and cryptographic keys from a different, uncompromised computer
  • Remove the @apexcraft/nano-key package from all affected systems
  • Conduct a full forensic analysis of affected systems to identify any additional malicious software or persistence mechanisms
  • Review system logs and network traffic for signs of unauthorized access or data exfiltration
  • Consider full system reimaging if the system handles sensitive data or credentials

Sources

  1. GitHub Advisory GHSA-8x7w-vjr2-7q4m · GitHub Advisory Database

Cite this entry

"Malware in @apexcraft/nano-key." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 7, 2026; last updated July 7, 2026. https://supplychainattack.org/incident/malware-in-apexcraft-nano-key-1rirtb

Suggest a correction

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

  1. activecritical

    Malware in mcp-server-pg

    Malware discovered in the npm package mcp-server-pg. Systems with this package installed or running are considered fully compromised and require immediate remediation.

    npmCompromised package
  2. containedcritical

    Malware in @aspect-security/argon2

    Malware was discovered in the npm package @aspect-security/argon2. Systems with this package installed or running should be considered fully compromised. All secrets and keys stored on affected computers should be rotated immediately from a different computer.

    npmCompromised package
  3. activecritical

    Malware in express-deflect

    Malware discovered in the npm package express-deflect. Systems with this package installed or running are considered fully compromised and require immediate remediation.

    npmCompromised package
  4. containedcritical

    Malware in brunomenozzi-test-pkg

    Malware was discovered in the npm package brunomenozzi-test-pkg. Systems with this package installed or running should be considered fully compromised and require immediate remediation.

    npmCompromised package