Malicious Code Detected in narrow_nightingale-teagooddev: A Threat to npm Users

Summary

11/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-106183: Malicious code in narrow_nightingale-teagooddev (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 package narrow_nightingale-teagooddev is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior not only clutters the npm registry but also poses a significant risk to users who may unknowingly install these malicious packages.

Vulnerability Detail

The vulnerability originates from the malicious code embedded within the narrow_nightingale-teagooddev package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The ramifications include potential exposure to untrusted code, pollution of the npm registry, and a compromised development environment.

How To Fix

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

npm uninstall narrow_nightingale-teagooddev

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 narrow_nightingale-teagooddev package and look for alternative packages that provide similar functionality without the associated risks.

Conclusion

The narrow_nightingale-teagooddev package poses a significant threat due to its malicious code designed to manipulate npm package publishing. Users are advised to remove this package and monitor their projects for vulnerabilities using tools like Vulert to ensure a secure development environment.

See every vulnerability recorded for narrow_nightingale-teagooddev →

Share this vulnerability

FAQ

narrow_nightingale-teagooddev is an npm package linked to a token reward campaign that generates and publishes malicious packages.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Check your package-lock.json file for any vulnerabilities.

Uninstall the package immediately using 'npm uninstall narrow_nightingale-teagooddev' and check for any other affected packages.

Yes, using unverified or malicious npm packages can lead to security vulnerabilities, data breaches, and compromised systems.

Regularly audit your dependencies using tools like Vulert and stay updated on security advisories related to the packages you use.

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 narrow_nightingale-teagooddev

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