Malicious Code Detected in azure-postgresql-auth: npm Package Vulnerability

azure-postgresql-auth Updated 20 Feb 2026

Summary

20/02/2026
CRITICAL
No i
Critical
Not published

MAL-2026-975: Malicious code in azure-postgresql-auth (npm). Affects azure-postgresql-auth versions 1.1.2 – 1.1.4. 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 'azure-postgresql-auth' package is an npm library designed to facilitate authentication processes for Azure PostgreSQL databases. It provides developers with tools to streamline user authentication, ensuring secure access to database resources. However, version 1.1.4 of this package has been flagged for malicious behavior, raising significant security concerns for users relying on it.

Vulnerability Detail

The vulnerability in 'azure-postgresql-auth' arises from its communication with a domain linked to malicious activities and the execution of commands that can compromise system integrity. This behavior poses serious risks, including unauthorized access to sensitive data and potential system exploitation. The malicious nature of this package was identified by the OpenSSF Package Analysis project, which highlighted its harmful actions and the need for immediate attention from users.

How To Fix

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

npm uninstall azure-postgresql-auth

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 are advised to remove the 'azure-postgresql-auth' package from their projects until a secure version is released. You can uninstall the package using the following command:

npm uninstall azure-postgresql-auth

Conclusion

The 'azure-postgresql-auth' package has been identified as malicious, posing significant risks to users. Immediate action is required to mitigate these risks by uninstalling the package and monitoring for updates. Utilizing tools like Vulert can aid in identifying vulnerabilities in your projects.

See every vulnerability recorded for azure-postgresql-auth →

Share this vulnerability

FAQ

The package communicates with a domain associated with malicious activities and executes harmful commands.

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

You should immediately uninstall the affected package and monitor for updates or patches.

Currently, the latest version flagged as malicious is 1.1.4. Users should check the npm registry for any updates or patches.

Vulert uses the package-lock.json file to monitor and alert users in real-time for open-source vulnerabilities in their software.

How To Fix

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

npm uninstall azure-postgresql-auth

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