Malware in node-internal-svg-loader
Malware was discovered in the npm package node-internal-svg-loader. Systems with this package installed or running should be considered fully compromised, with all secrets and keys requiring immediate rotation from a different computer.
- Disclosed
- Last updated
- Blast radius
- Any system with the package installed or running
- Ecosystems
- Attack vectors
- Affected entities
- node-internal-svg-loader
A malicious package named node-internal-svg-loader was published to npm and contains malware. According to the GitHub advisory, any computer that has 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, given the potential for full system compromise.\n\nThe package has been identified and flagged in the GitHub advisory system, allowing users to identify and remediate affected systems.
Indicators of compromise
- Packages
- node-internal-svg-loader
Remediation
- Immediately rotate all secrets, API keys, and credentials from a different, uncompromised computer
- Remove the node-internal-svg-loader package from all affected systems
- Audit system logs and file integrity to detect any additional malicious activity or persistence mechanisms
- Consider full system reimaging or forensic analysis if the package was installed on production or sensitive systems
- Check dependency trees to identify any projects that may have installed this package as a transitive dependency
Sources
- GitHub Advisory GHSA-9rgf-6m2p-q73f · GitHub Advisory Database
Cite this entry
"Malware in node-internal-svg-loader." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 11, 2026; last updated August 11, 2026. https://supplychainattack.org/incident/malware-in-node-internal-svg-loader-5r00eb
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- resolvedcritical
Malicious code in github-policy-bot (npm)
The npm package github-policy-bot contained malicious code that exfiltrated host identifiers and environment metadata during installation via a postinstall script. The package name shadowed a legitimate Google-owned repository and was authored under a placeholder account claiming security research purposes.
npmCompromised packageTyposquatting - containedcritical
Malicious code in crypto-javas (npm)
The npm package crypto-javas contains malicious code in its postinstall hook and main entrypoint that harvests environment variables (including CI secrets like AWS_*, GITHUB_TOKEN, NPM_TOKEN) and exfiltrates them to an attacker-controlled backend. The package is presented deceptively as @wizlabs/js-crypto with a placeholder repository.
npmCompromised packageTyposquatting - containedcritical
Malicious code in flydev (npm)
The npm package flydev contains malicious code designed to destroy Windows systems. The package masquerades as a utility but executes destructive operations including filesystem deletion, process termination, memory exhaustion, and fork bombs when invoked.
npmCompromised package - containedcritical
Malicious code in npm-wold (npm)
npm-wold@1.1.1 contains malicious code in its postinstall script that fetches remote JSON from a hardcoded endpoint and dynamically invokes attacker-controlled functions with attacker-supplied arguments, enabling code execution at install time.
npmCompromised package