Malicious Code Detected in @ukg-oneapp/common-lib: A Critical Vulnerability

@ukg-oneapp/common-lib Updated 02 Dec 2025

Summary

01/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-191563: Malicious code in @ukg-oneapp/common-lib (npm). Affects @ukg-oneapp/common-lib 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 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 @ukg-oneapp/common-lib package is a library used in Node.js applications, providing common functionalities for developers. It is widely utilized in various projects for its ease of integration and robust features. However, recent findings have revealed a serious vulnerability that exposes users to potential malicious code execution.

Vulnerability Detail

The vulnerability identified in @ukg-oneapp/common-lib stems from the introduction of malicious code within version 99.0.0 of the package. This code can lead to unauthorized access, data breaches, and other security risks. The malicious code was reported by ReversingLabs, highlighting the need for immediate action to mitigate potential threats.

How To Fix

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

npm uninstall @ukg-oneapp/common-lib

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, users can avoid using the affected version of the package. If possible, revert to a previous version that is known to be secure until an official patch is released.

Conclusion

The discovery of malicious code in the @ukg-oneapp/common-lib package poses a significant risk to users. It is crucial to take immediate action by updating the package or implementing workarounds to safeguard your applications. Utilizing tools like Vulert can further enhance your security posture by providing real-time vulnerability alerts.

See every vulnerability recorded for @ukg-oneapp/common-lib →

Share this vulnerability

FAQ

The malicious code can execute unauthorized actions within the application, potentially leading to data theft or system compromise.

You can use Vulert, which monitors open-source vulnerabilities in real-time. By simply analyzing your package-lock.json file, Vulert can alert you to any vulnerabilities, including this one.

If an immediate update is not feasible, consider implementing a workaround by reverting to a previous secure version of the package.

Detailed information can be found on the GitHub repository of the malicious packages, specifically under the entry for @ukg-oneapp/common-lib.

Yes, you can use the Vulert playground to check for vulnerabilities in your application without any signup 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

How To Fix

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

npm uninstall @ukg-oneapp/common-lib

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