Malicious Code Detected in ugc-kit: A Critical npm Vulnerability

ugc-kit Updated 27 Dec 2025

Summary

27/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-192951: Malicious code in ugc-kit (npm). Affects ugc-kit versions 99.99.99. 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

ugc-kit is an npm package designed for user-generated content management. It provides functionalities for handling and processing user submissions, making it a valuable tool for developers building interactive applications. However, the package has been flagged for malicious activity, raising concerns about its integrity and security.

Vulnerability Detail

The vulnerability in ugc-kit stems from its communication with a domain linked to malicious activities and the execution of commands that are harmful. This behavior poses significant risks, including unauthorized access to user data, potential data breaches, and the compromise of the host application. The malicious nature of this package was identified by the OpenSSF Package Analysis project, which highlighted its association with harmful actions.

How To Fix

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

npm uninstall ugc-kit

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 restrict the usage of ugc-kit in your application until a secure version is available. Additionally, consider implementing security measures such as input validation and monitoring for unusual activity in your application.

Conclusion

The ugc-kit package has been identified as malicious, posing significant security risks to applications that utilize it. It is crucial for developers to take immediate action by removing the affected package and exploring secure alternatives. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.

See every vulnerability recorded for ugc-kit →

Share this vulnerability

FAQ

ugc-kit is an npm package used for managing user-generated content in applications.

The package has been found to communicate with a domain associated with malicious activities and execute harmful commands.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.

It is recommended to uninstall the affected version of ugc-kit and replace it with a secure alternative.

Yes, consider implementing input validation and monitoring for unusual activity to mitigate risks.

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 ugc-kit

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