Critical Malicious Code Vulnerability in simplejsonform Package
Summary
MAL-2025-191426: Malicious code in simplejsonform (npm). Affects simplejsonform versions 1.0.1. 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 simplejsonform package is an npm library designed for creating simple JSON forms in web applications. It allows developers to easily generate forms based on JSON schema definitions, streamlining the process of form creation and data handling. However, this package has been compromised, making it a significant security risk for any application utilizing it.
Vulnerability Detail
The vulnerability originates from the Sha1-Hulud: The Second Coming NPM worm, which has infected the simplejsonform package. This malicious code is capable of stealing tokens and credentials, publishing them to GitHub, and propagating itself to other npm packages owned by the user. Additionally, it can establish persistence through GitHub actions and may even destroy the user's home directory. Any system with this package installed is considered fully compromised, necessitating immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall simplejsonform
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, ensure that the simplejsonform package is uninstalled from your project. You can do this by running the following command in your terminal: npm uninstall simplejsonform. Additionally, monitor your system for any unusual activity and consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The simplejsonform package has been compromised by a malicious worm, posing a severe security risk to any applications utilizing it. Immediate action is required to remove the package and secure any sensitive information. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for simplejsonform →
FAQ
simplejsonform is an npm library that helps developers create forms based on JSON schema definitions, simplifying the form generation process.
The package was infected by the Sha1-Hulud: The Second Coming NPM worm, which introduced malicious code capable of stealing sensitive information.
If you have simplejsonform installed, you should immediately uninstall it and rotate any secrets or keys stored on the affected machine.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
The consequences include unauthorized access to sensitive information, potential data loss, and the risk of further propagation of the malicious code to other packages.