Skip to content
supplychainattack.orgSupply chain attack incident catalog
activecritical

Malware in creditcard.js

Malware discovered in the creditcard.js npm package. Systems with this package installed are considered fully compromised and require immediate remediation.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any system with creditcard.js installed or running
Ecosystems
Attack vectors
Affected entities
  • creditcard.js

The creditcard.js npm package has been identified as containing malware. According to the GitHub Advisory (GHSA-6v78-xg39-f56q), 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 compromise.\n\nThis represents a critical supply chain attack affecting the npm ecosystem, with potential impact to all systems that have installed or executed this package.

Indicators of compromise

Packages
  • creditcard.js

Remediation

  • Immediately rotate all secrets, API keys, and credentials from a different, uncompromised computer
  • Remove the creditcard.js package from all affected systems
  • Conduct a full security audit of any system that had creditcard.js installed
  • Review system logs for suspicious activity during the period the package was installed
  • Consider the affected system(s) potentially compromised and plan for full remediation or replacement
  • Check for any unauthorized access or lateral movement from affected systems

Sources

  1. GitHub Advisory GHSA-6v78-xg39-f56q · GitHub Advisory Database

Cite this entry

"Malware in creditcard.js." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 4, 2026; last updated August 4, 2026. https://supplychainattack.org/incident/malware-in-creditcard-js-167vx5

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 @zzzgenesis00/bip39-generator (npm)

    The npm package @zzzgenesis00/bip39-generator version 3.1.2 was identified as malicious by the OpenSSF Package Analysis project. The package communicates with a domain associated with malicious activity.

    npmCompromised package
  2. containedcritical

    Malicious code in exnesss (npm)

    The npm package 'exnesss' version 0.0.1 was identified as malicious by the OpenSSF Package Analysis project. The package communicates with a domain associated with malicious activity.

    npmCompromised package
  3. activecritical

    Malware in flat-cache

    Malware was discovered in the flat-cache npm package. Systems with the package installed or running are considered fully compromised, with potential for complete system takeover and credential theft.

    npmCompromised package
  4. containedcritical

    Malware in keyv

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

    npmCompromised package