Malicious Code Vulnerability in @uh-platform/nadaver: Hostname Leakage via Preinstall Script

@uh-platform/nadaver Updated 22 Sep 2026

Summary

21/09/2026
CRITICAL
No i
Critical
Not published

MAL-2026-16360: Malicious code in @uh-platform/nadaver (npm). Affects @uh-platform/nadaver versions 102.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 @uh-platform/nadaver package is an npm library that is likely intended for use in various JavaScript applications. However, it has been found to contain malicious code that executes during the installation process. This vulnerability is particularly concerning as it can expose sensitive information, such as the hostname of the machine where the package is installed, to an attacker-controlled server.

Vulnerability Detail

The vulnerability originates from the package's preinstall script, which executes 'node index.js'. This script uses 'curl' to send a request to a URL that includes the installer's hostname as a subdomain of an attacker-controlled domain. This means that every time the package is installed, the hostname is leaked without any user interaction, potentially allowing attackers to track installations and target specific environments. The malicious behavior is indicative of a dependency-confusion attack, where the package is designed to exploit internal build systems that may resolve the package against the public npm registry.

How To Fix

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

npm uninstall @uh-platform/nadaver

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 can avoid using the @uh-platform/nadaver package altogether. If it is necessary to use it, consider isolating the installation in a controlled environment where the hostname leakage will not pose a risk.

Conclusion

The @uh-platform/nadaver package contains a serious vulnerability that exposes the hostname of the installer to an attacker-controlled server. It is crucial to remove this package and monitor for updates. Utilizing tools like Vulert can help in identifying and mitigating such vulnerabilities in the future.

See every vulnerability recorded for @uh-platform/nadaver →

Share this vulnerability

FAQ

The vulnerability involves malicious code that leaks the hostname of the machine during installation, potentially exposing sensitive information to attackers.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. By checking your package-lock.json file, Vulert can identify if your application is affected.

If you have installed the @uh-platform/nadaver package, it is advisable to remove it immediately and check for any updates or patches from the package maintainers.

To prevent similar vulnerabilities, always review package dependencies, use trusted sources, and consider using tools like Vulert to monitor for vulnerabilities in real-time.

Yes, 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 @uh-platform/nadaver

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