Malicious Code Injection in atlas-global-mysql-pegasus: npm Package Vulnerability

atlas-global-mysql-pegasus Updated 25 Nov 2025

Summary

12/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-139644: Malicious code in atlas-global-mysql-pegasus (npm). Affected versions are not published. 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 atlas-global-mysql-pegasus package is part of the npm ecosystem, typically used for database interactions in JavaScript applications. It is designed to facilitate seamless communication with MySQL databases. However, this package has been identified as part of a malicious campaign that exploits npm's package publishing system, leading to potential security risks for developers and their applications.

Vulnerability Detail

The vulnerability stems from the package being associated with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that automatically modify the package.json file, removing private flags and changing version numbers. The malicious payload generates random package names and continuously republishes variants, which can lead to reputation inflation and potential exploitation of unsuspecting developers. This behavior not only pollutes the npm registry but also poses a risk of introducing untrusted code into applications that depend on this package.

How To Fix

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

npm uninstall atlas-global-mysql-pegasus

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 atlas-global-mysql-pegasus package until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.

Conclusion

The atlas-global-mysql-pegasus package has been identified as a vector for malicious code injection, posing significant risks to developers and their applications. It is essential to remove this package and monitor for updates or alternatives to ensure the security of your projects. Utilizing tools like Vulert can further enhance your ability to manage and mitigate such vulnerabilities effectively.

See every vulnerability recorded for atlas-global-mysql-pegasus →

Share this vulnerability

FAQ

The package contains malicious code that modifies package.json files and floods the npm registry with untrusted packages.

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.

Remove the atlas-global-mysql-pegasus package from your project and check for any patched versions before reinstalling.

Yes, consider using other well-established npm packages for MySQL database interactions that do not have known vulnerabilities.

Vulert uses the package-lock.json file to monitor your dependencies and alert you in real-time about any open-source vulnerabilities.

How To Fix

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

npm uninstall atlas-global-mysql-pegasus

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