Critical Malicious Code Vulnerability in pass-rust-core Package

pass-rust-core Updated 02 Oct 2025

Summary

24/07/2025
CRITICAL
No i
Critical
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback