Critical Malicious Code Vulnerability in json-parse-genie Package
Summary
MAL-2026-1952: Malicious code in json-parse-genie (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 json-parse-genie package is an npm library designed for parsing JSON data efficiently. It is widely used in JavaScript applications for its simplicity and performance. However, this package has been identified as containing malicious code, which poses a significant risk to any system that has it installed.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the json-parse-genie package. This code can compromise the security of any computer running the package, potentially allowing unauthorized access to sensitive information such as secrets and keys. The presence of this malicious code means that systems using this package should be considered fully compromised, and the risk of further exploitation is high.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall json-parse-genie
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 crucial to ensure that no remnants of the package remain on your system to prevent further exploitation.
Conclusion
The json-parse-genie package has been identified as containing malicious code that poses a serious security risk. Immediate action is required to remove the package and secure any sensitive information. Regular monitoring for vulnerabilities is essential to maintain the security of your applications.
See every vulnerability recorded for json-parse-genie →
FAQ
json-parse-genie is an npm package used for parsing JSON data in JavaScript applications.
The malicious code can compromise your system, allowing unauthorized access to sensitive information and potentially leading to further exploitation.
You should immediately uninstall the json-parse-genie package and rotate any secrets or keys stored on the affected system.
No, there is no patch available for this vulnerability. The only solution is to remove the package.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.