Critical Malicious Code Vulnerability in pass-rust-core Package
Summary
MAL-2025-6299: Malicious code in pass-rust-core (npm). Affects pass-rust-core versions >= 2.0.0. 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 pass-rust-core package is an npm library designed for handling password management functionalities in Rust applications. It provides developers with tools to securely manage and store passwords. However, this package has been identified to communicate with a domain associated with malicious activities, posing a significant security risk to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the package's communication with a malicious domain, which can lead to unauthorized data access, potential data breaches, and exploitation of the application. This issue was introduced in version 2.0.0 of the package, making it imperative for users to be aware of the risks associated with using this version or any subsequent versions that do not address the issue.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall pass-rust-core
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 pass-rust-core package from your project until a secure version is released. Alternatively, you can implement network monitoring to detect any suspicious activity related to this package.
Conclusion
The pass-rust-core package has a critical vulnerability that allows communication with a malicious domain, posing risks to applications using it. Users are advised to update to a secure version or consider workarounds until a fix is available. Regular monitoring and vulnerability checks are essential for maintaining application security.
See every vulnerability recorded for pass-rust-core →
FAQ
The pass-rust-core package is an npm library that provides functionalities for password management in Rust applications.
The vulnerability involves the package communicating with a domain linked to malicious activities, which can compromise application security.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If an immediate update is not possible, consider removing the package or implementing network monitoring to mitigate risks.
The vulnerability was identified by Amazon Inspector, a security tool that helps in detecting vulnerabilities in software packages.