Critical Malicious Code Vulnerability in insomnia-plugin-random-pick Package
Summary
MAL-2025-191111: Malicious code in insomnia-plugin-random-pick (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 insomnia-plugin-random-pick is an npm package designed to enhance the Insomnia API client by providing random selection functionalities. This package is intended for developers looking to streamline their API testing processes. However, it has been found to contain malicious code that compromises the security of any system where it is installed, making it a significant risk for users and organizations relying on it.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the insomnia-plugin-random-pick package. This code can lead to complete system compromise, allowing unauthorized access to sensitive information such as secrets and keys stored on the affected machine. The malicious nature of this code has been confirmed by security researchers, and it poses a serious threat to the integrity and confidentiality of user data.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall insomnia-plugin-random-pick
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 and ensuring that all sensitive information is secured. Users should also monitor their systems for any signs of unauthorized access.
Conclusion
The discovery of malicious code in the insomnia-plugin-random-pick package highlights the importance of vigilance in managing open-source dependencies. Users must act swiftly to remove the affected package and secure their systems to prevent potential data breaches. Utilizing tools like Vulert can aid in monitoring for such vulnerabilities in the future.
See every vulnerability recorded for insomnia-plugin-random-pick →
FAQ
Immediately uninstall the package using 'npm uninstall insomnia-plugin-random-pick' and rotate all sensitive credentials stored on the affected system.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
Failure to remove the package can lead to unauthorized access to sensitive information, potentially resulting in data breaches and loss of control over your system.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert and keep your packages updated to mitigate risks.
While many npm packages are safe, it's essential to review and monitor all dependencies for vulnerabilities regularly to ensure your application's security.