npm · Malicious package advisory
Malwarebabel-plugin-transform-html-template
GHSA-74xg-2gx4-mpxw
Malicious code in babel-plugin-transform-html-template (npm)
Details
**Severity:** Critical **Affected versions:** `> 0` The package babel-plugin-transform-html-template was found to contain malicious code. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/672afd706555c110bda936d989979013c03d62f2/osv/malicious/npm/babel-plugin-transform-html-template/MAL-2025-15296.json)) **References:** - https://github.com/ossf/malicious-packages/blob/672afd706555c110bda936d989979013c03d62f2/osv/malicious/npm/babel-plugin-transform-html-template/MAL-2025-15296.json - https://github.com/advisories/GHSA-74xg-2gx4-mpxw
Compromised versions (1)
- > 0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.