Critical Malicious Code Vulnerability in @alexadark/reusable-functions Package

Summary

25/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-191184: Malicious code in @alexadark/reusable-functions (npm). Affects @alexadark/reusable-functions versions 1.5.1. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The @alexadark/reusable-functions package is an npm library designed to provide reusable functions for JavaScript applications. It is commonly used by developers to streamline their coding processes. However, this package has been compromised, leading to severe security risks for any system that has it installed.

Vulnerability Detail

The vulnerability originates from a malicious payload introduced by the Sha1-Hulud: The Second Coming NPM worm. This worm is capable of stealing tokens and credentials, publishing them to GitHub, and propagating itself to other npm packages owned by the user. It also has the potential to destroy the user's home directory, making it a critical threat to system integrity and data security.

How To Fix

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

npm uninstall @alexadark/reusable-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

Currently, there are no effective workarounds to mitigate the risks posed by this vulnerability other than removing the package and securing your environment.

Conclusion

The @alexadark/reusable-functions package has been compromised, leading to significant security risks. It is crucial to uninstall the package immediately and secure your environment to prevent unauthorized access and data loss.

See every vulnerability recorded for @alexadark/reusable-functions →

Share this vulnerability

FAQ

Immediately uninstall the package using 'npm uninstall @alexadark/reusable-functions' and rotate any credentials or tokens stored on the affected system.

The malicious code can steal sensitive information, propagate itself to other packages, and potentially destroy files in your home directory.

No, there is currently no patched version available for the @alexadark/reusable-functions package. The only solution is to remove it.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities without signup at the Vulert playground.

If not addressed, this vulnerability can lead to unauthorized access to sensitive data, loss of control over your applications, and potential damage to your system.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

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

npm uninstall @alexadark/reusable-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