Critical Malicious Code Vulnerability in @dbbhk/ui-components Package

@dbbhk/ui-components Updated 21 Sep 2026

Summary

21/09/2026
CRITICAL
No i
Critical
Not published

MAL-2026-16319: Malicious code in @dbbhk/ui-components (npm). Affects @dbbhk/ui-components 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The @dbbhk/ui-components package is an npm library designed for user interface components. It is intended for use in web applications, providing reusable UI elements. However, this package has been found to contain malicious code that executes during the installation process, posing significant security risks to users and their environments.

Vulnerability Detail

The vulnerability originates from the @dbbhk/ui-components@99.0.0 package, which includes preinstall and postinstall hooks in its package.json file that execute a script named callback.js. This script automatically runs when the package is installed via npm, allowing it to query sensitive AWS instance metadata and environment variables for credentials. It indiscriminately collects sensitive information such as AWS IAM role credentials, various API tokens, and other secrets, sending this data to a hardcoded Telegram bot. This poses a severe risk of credential theft and unauthorized access to cloud resources.

How To Fix

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

npm uninstall @dbbhk/ui-components

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, avoid installing the @dbbhk/ui-components package until a patched version is released. Additionally, consider using npm audit to identify and mitigate vulnerabilities in your project dependencies.

Conclusion

The @dbbhk/ui-components package contains a critical vulnerability that allows for the harvesting of sensitive credentials. Users are advised to uninstall the package immediately and monitor for updates. Utilizing tools like Vulert can help in identifying and managing such vulnerabilities effectively.

See every vulnerability recorded for @dbbhk/ui-components →

Share this vulnerability

FAQ

The vulnerability involves malicious code that executes during installation, harvesting sensitive credentials and sending them to an external server.

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

Immediately uninstall the package using npm uninstall @dbbhk/ui-components and check for any compromised credentials in your environment.

As of now, there is no patched version available. It is recommended to monitor the package repository for updates.

The malicious code runs automatically during the installation process, querying AWS metadata and environment variables to collect sensitive information.

How To Fix

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

npm uninstall @dbbhk/ui-components

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