Malicious Code Injection in irrelevant_narwhal-apptea Package

irrelevant_narwhal-apptea Updated 24 Nov 2025

Summary

11/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-104426: Malicious code in irrelevant_narwhal-apptea (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 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 irrelevant_narwhal-apptea package is part of the tea.xyz token reward campaign that has infiltrated the npm ecosystem. Designed to facilitate the generation and publication of derivative packages, it aims to inflate developer reputation scores for token rewards. This package is characterized by its use of autopublish scripts that automate the creation of numerous variants with randomized names, which can lead to pollution of the npm registry.

Vulnerability Detail

The vulnerability originates from the malicious code embedded within the irrelevant_narwhal-apptea package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names, primarily themed around Indonesian culture. The continuous republishing of these variants can severely compromise the integrity of the npm registry, leading to potential security risks for developers and users relying on legitimate packages.

How To Fix

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

npm uninstall irrelevant_narwhal-apptea

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 prevent the installation of this package by adding it to your project's .npmrc file with the following line: 'package-lock=false'. This will disable the automatic installation of packages that may include this vulnerability.

Conclusion

The irrelevant_narwhal-apptea package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities using tools like Vulert. By staying informed and proactive, you can protect your applications from potential threats.

See every vulnerability recorded for irrelevant_narwhal-apptea →

Share this vulnerability

FAQ

The impact includes the potential for malicious code execution, which can compromise the security of applications relying on this package.

You can use Vulert to monitor your package-lock.json file for vulnerabilities. Visit Vulert Scanner to check your application without any signup.

If you have installed the irrelevant_narwhal-apptea package, you should uninstall it immediately and look for secure alternatives.

While specific alternatives may vary based on your use case, consider exploring other npm packages that provide similar functionality without the associated risks.

Vulert uses your package-lock.json to monitor and alert you in real-time for open-source vulnerabilities, ensuring your application remains secure.

How To Fix

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

npm uninstall irrelevant_narwhal-apptea

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