Malicious Code Detected in rust-functions Package - Version 1000.0.0

rust-functions Updated 02 Oct 2025

Summary

16/09/2024
CRITICAL
No i
Critical
Not published

MAL-2024-8875: Malicious code in rust-functions (npm). Affects rust-functions versions 1000.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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The rust-functions package, available on npm, is designed to facilitate the use of Rust programming functions within JavaScript applications. It allows developers to leverage Rust's performance and safety features in their JavaScript code. However, the package has been flagged for malicious activity, specifically for communicating with a domain linked to harmful actions, raising significant security concerns for users.

Vulnerability Detail

The vulnerability in the rust-functions package stems from its version 1000.0.0, which has been identified as malicious by the OpenSSF Package Analysis project. The package's behavior includes communication with a domain associated with malicious activities, potentially exposing users to security risks such as data breaches or unauthorized access. This vulnerability poses a serious threat to the integrity and security of applications utilizing this package.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall rust-functions

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, users can replace the rust-functions package with an alternative library that provides similar functionality without the associated security risks. Ensure to thoroughly vet any replacement package for security and reliability before integrating it into your project.

Conclusion

The rust-functions package version 1000.0.0 has been identified as malicious, posing significant security risks to users. Immediate action is required to remove the package and assess the security of your project. Utilizing tools like Vulert can help monitor for vulnerabilities and enhance your application's security posture.

See every vulnerability recorded for rust-functions →

Share this vulnerability

FAQ

If you have installed rust-functions, you should uninstall it immediately using 'npm uninstall rust-functions' and check for any other vulnerable packages in your project.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Simply upload your package-lock.json file to the Vulert playground at Vulert Scanner to check for vulnerabilities.

Using a malicious package can lead to data breaches, unauthorized access to sensitive information, and potential compromise of your application's integrity.

Yes, there are several alternatives available that provide similar functionality. It is important to research and select a well-maintained and secure package.

To prevent similar vulnerabilities, regularly audit your project's dependencies, keep them updated, and utilize tools like Vulert to monitor for known vulnerabilities.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall rust-functions

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