Malicious Code Detected in Gadgetrie Package - MAL-2025-21115
Summary
MAL-2025-21115: Malicious code in gadgetrie (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
Gadgetrie is an npm package designed for various utility functions in JavaScript applications. It is widely used for its simplicity and effectiveness in handling data manipulation tasks. However, it has recently been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the gadgetrie package arises from the inclusion of malicious code that can compromise the security of applications using it. This code can lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall gadgetrie
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 temporary workaround, you may consider removing the gadgetrie package from your project until a secure version is released. You can do this by running the command: 'npm uninstall gadgetrie'. This will help mitigate the risk of exploitation while you await a fix.
Conclusion
The discovery of malicious code in the gadgetrie package highlights the importance of maintaining secure dependencies in software development. Users are urged to update or remove the affected package to protect their applications from potential threats.
See every vulnerability recorded for gadgetrie →
FAQ
Gadgetrie is an npm package used for utility functions in JavaScript applications, facilitating data manipulation tasks.
The malicious code can lead to unauthorized access and data breaches, posing serious security threats to applications.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without any signup.
If immediate updates are not possible, consider removing the gadgetrie package as a temporary measure to mitigate risks.
Utilize tools like Vulert, which monitors your package-lock.json file to alert you in real-time about open-source vulnerabilities.