Malicious Code Detected in udn_extras: Data Exfiltration Vulnerability

udn_extras Updated 02 Oct 2025

Summary

28/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6387: Malicious code in udn_extras (npm). Affects udn_extras versions 1.0.0 – 9999.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 udn_extras package is an npm library designed to provide additional functionalities for Node.js applications. However, it has been identified as containing malicious code that executes upon installation. This package can gather sensitive user information and transmit it to an external server, posing significant security risks to users and their applications.

Vulnerability Detail

The vulnerability arises from a postinstall script that executes index.js, which is embedded within the udn_extras package. This script collects sensitive information, including hostname, platform, username, IP address, and environment variables. It then sends this data to an external server (webhook.site) via an HTTPS POST request. This behavior constitutes data exfiltration, which is a serious security concern for users of the package.

How To Fix

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

npm uninstall udn_extras

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 measure, you can prevent the execution of the postinstall script by using the following command when installing the package: npm install udn_extras --ignore-scripts. However, this does not eliminate the risk associated with the package itself.

Conclusion

The udn_extras package has been identified as containing malicious code that poses a significant risk to users by exfiltrating sensitive information. It is crucial to remove this package from your projects and monitor for any updates or patches. Utilizing tools like Vulert can help maintain the security of your applications.

See every vulnerability recorded for udn_extras →

Share this vulnerability

FAQ

udn_extras is an npm package that provides additional functionalities for Node.js applications but has been found to contain malicious code.

The vulnerability allows the package to exfiltrate sensitive information from your environment, potentially compromising user data and application security.

Immediately uninstall the udn_extras package from your project to mitigate the risk of data exfiltration.

Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

How To Fix

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

npm uninstall udn_extras

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