Malicious Code Injection in @uh-platform/webcard - npm Package Vulnerability

@uh-platform/webcard Updated 22 Sep 2026

Summary

21/09/2026
CRITICAL
No i
Critical
Not published

MAL-2026-16362: Malicious code in @uh-platform/webcard (npm). Affects @uh-platform/webcard versions 99.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 @uh-platform/webcard package is a JavaScript library used within the npm ecosystem, designed to facilitate web card functionalities. It is part of a larger organizational scope and has dependencies that may lead to potential conflicts or vulnerabilities. The package version 99.0.0 has been identified to contain a preinstall hook that executes malicious code, posing a significant security risk to users.

Vulnerability Detail

The vulnerability originates from a preinstall hook in the @uh-platform/webcard@99.0.0 package that runs an index.js file. This file executes a shell command that sends a request to a Burp Collaborator subdomain, allowing an attacker to gain control over the installer's host system. This malicious behavior occurs unconditionally during the npm install process, confirming code execution and enabling DNS/HTTP callbacks to an attacker-controlled server. The vulnerability is classified under CWE-506, indicating the presence of embedded malicious code.

How To Fix

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

npm uninstall @uh-platform/webcard

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 installing the vulnerable version by using npm install with a specific version that is known to be safe, or by removing the package entirely if it is not critical to your application. Example command: npm uninstall @uh-platform/webcard.

Conclusion

The @uh-platform/webcard package has a critical vulnerability due to malicious code embedded in its preinstall hook. Users are advised to update to a patched version or implement workarounds to mitigate risks. Regular monitoring of dependencies using tools like Vulert can help maintain security in your applications.

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

Share this vulnerability

FAQ

The vulnerability allows attackers to execute arbitrary code on the installer's machine, potentially leading to data breaches or system compromise.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Check your application against this vulnerability using the Vulert playground at Vulert Scanner.

Yes, it is recommended to update the @uh-platform/webcard package to the latest version to mitigate the risk.

Consider removing the package or using a previous version that does not contain the vulnerability as a temporary measure.

The preinstall hook is a script that runs automatically before the package installation process begins, which in this case executes malicious code.

How To Fix

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

npm uninstall @uh-platform/webcard

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