Malicious Code Injection in hadron-postgres-phylogenetics-loop Package

Summary

13/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-187260: Malicious code in hadron-postgres-phylogenetics-loop (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 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 hadron-postgres-phylogenetics-loop package is part of the npm ecosystem, designed for handling PostgreSQL interactions in phylogenetics applications. It is typically used by developers to manage data related to evolutionary biology. However, this package has been compromised, making it susceptible to malicious activities that can affect the integrity of the npm registry and the applications relying on it.

Vulnerability Detail

The vulnerability originates from a malicious payload embedded within the hadron-postgres-phylogenetics-loop package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names to inflate developer reputation scores. The malicious code is part of a broader campaign that aims to pollute the npm registry by continuously republishing these variants, which can lead to security risks for developers and users relying on this package.

How To Fix

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

npm uninstall hadron-postgres-phylogenetics-loop

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 remove the affected package from your project until a secure version is released. Use the following command to uninstall the package: npm uninstall hadron-postgres-phylogenetics-loop.

Conclusion

The hadron-postgres-phylogenetics-loop package has been compromised with malicious code that poses significant risks to developers and users. It is crucial to take immediate action by updating or removing the package to safeguard your applications. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for hadron-postgres-phylogenetics-loop →

Share this vulnerability

FAQ

The impact includes potential exposure to malicious code that can compromise application integrity and security, leading to unauthorized access or data manipulation.

You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities. By simply analyzing your package-lock.json file, it can identify if your application is affected by this vulnerability.

To prevent future vulnerabilities, regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated on security advisories related to the packages you use.

If immediate updates are not possible, consider removing the package temporarily and looking for alternative solutions that do not pose a security risk.

More information can be found in the vulnerability details provided by sources like Amazon Inspector and the npm registry.

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 hadron-postgres-phylogenetics-loop

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