Malicious Code Detected in @postman/final-node-keytar - Security Alert
Summary
MAL-2025-190901: Malicious code in @postman/final-node-keytar (npm). Affects @postman/final-node-keytar versions 7.9.1 – 7.9.2. 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 package @postman/final-node-keytar is a Node.js library used for secure storage and retrieval of credentials. It is commonly utilized in applications that require user authentication and secure data handling. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that depend on it.
Vulnerability Detail
The vulnerability originates from the discovery of malicious code within the @postman/final-node-keytar package, as identified by Amazon Inspector. This malicious code can potentially compromise the integrity of applications using this package, leading to unauthorized access to sensitive information or system exploitation. The affected versions are 7.9.1 and 7.9.2, which are known to harbor this malicious code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @postman/final-node-keytar
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
If immediate patching is not feasible, consider removing the @postman/final-node-keytar package from your project until a secure version is confirmed. You can do this by running: npm uninstall @postman/final-node-keytar.
Conclusion
The discovery of malicious code in the @postman/final-node-keytar package poses a significant security threat to applications relying on it. Immediate action is recommended to update or remove the package to safeguard sensitive data and maintain application integrity.
See every vulnerability recorded for @postman/final-node-keytar →
FAQ
The malicious code can compromise application security by allowing unauthorized access to sensitive data.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without any signup.
Consider removing the package from your project as a temporary measure until a secure version is available.
While specific exploits have not been detailed, the presence of malicious code indicates a high risk of exploitation.
You can reach out to Amazon Inspector at actran@amazon.com for further inquiries regarding this vulnerability.