Critical Malicious Code Vulnerability in transform-json-strings Package
Summary
MAL-2026-1569: Malicious code in transform-json-strings (npm). Affected versions are not published. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The transform-json-strings package is an npm library designed to facilitate the transformation of JSON strings in JavaScript applications. It is commonly used for data manipulation and serialization tasks. However, this package has been identified as containing malicious code that compromises the security of any system where it is installed.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the transform-json-strings package. This code can grant unauthorized access to the system, potentially leading to data breaches and loss of sensitive information. The malicious nature of the code means that any computer running this package should be considered fully compromised, and all secrets and keys stored on that computer should be rotated immediately.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall transform-json-strings
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There are no effective workarounds for this vulnerability other than removing the package entirely. It is advisable to monitor your application for any signs of compromise and to use alternative packages that do not contain malicious code.
Conclusion
The transform-json-strings package poses a significant security risk due to the presence of malicious code. Immediate action is required to remove the package and secure any sensitive information. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in the future.
See every vulnerability recorded for transform-json-strings →
FAQ
You should uninstall the package immediately and rotate any sensitive information stored on the affected system.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without needing to sign up.
No, there is currently no patched version available for this package. The only solution is to remove it.
Failing to address this vulnerability can lead to unauthorized access to your system, data breaches, and potential loss of sensitive information.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert, and ensure you only use trusted packages from reputable sources.