Critical Malicious Code Vulnerability in @test1230504/string-format-helper Package
Summary
MAL-2026-16468: Malicious code in @test1230504/string-format-helper (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 @test1230504/string-format-helper package is an npm library designed to assist developers in formatting strings within their applications. It is intended to simplify string manipulation tasks, making it easier for developers to create dynamic content. However, this package has been identified as containing malicious code that poses significant security risks to any system where it is installed.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the @test1230504/string-format-helper package. This code can compromise the entire system, allowing unauthorized access to sensitive information, including secrets and keys stored on the affected machine. The ramifications of this vulnerability are severe, as it grants full control of the computer to an external entity. Users are advised to treat any system with this package installed as fully compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @test1230504/string-format-helper
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
As a workaround, it is recommended to avoid using the @test1230504/string-format-helper package altogether. Instead, consider using alternative libraries that provide similar string formatting functionalities without the associated risks.
Conclusion
The @test1230504/string-format-helper package has been identified as containing malicious code that poses a significant security threat. Users must take immediate action to remove the package and secure their systems. Utilizing tools like Vulert can help monitor for vulnerabilities in the future.
See every vulnerability recorded for @test1230504/string-format-helper →
FAQ
Immediately uninstall the package and rotate any sensitive information stored on the affected system.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.
Failing to address this vulnerability can lead to unauthorized access to sensitive data and complete control of your system by malicious actors.
Yes, Vulert provides real-time monitoring and alerts for open-source vulnerabilities using just your package-lock.json file.
While most npm packages are safe, it is essential to review package sources and maintain updated security practices to mitigate risks.