Malicious Code Injection in xaajpl-devapptea Package - npm Vulnerability

xaajpl-devapptea Updated 18 Nov 2025

Summary

11/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-111048: Malicious code in xaajpl-devapptea (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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The xaajpl-devapptea package is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with malicious packages. These packages often contain scripts designed to manipulate the npm registry by creating and publishing numerous derivative packages with randomized names. This behavior is aimed at inflating developer reputation scores for token rewards, making it a significant concern for developers relying on npm for package management.

Vulnerability Detail

The vulnerability in the xaajpl-devapptea package stems from the inclusion of malicious scripts that modify the package.json file. These scripts remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of these variants. This not only pollutes the npm registry but also poses risks to developers who may unknowingly install these compromised packages, potentially leading to further exploitation or data breaches.

How To Fix

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

npm uninstall xaajpl-devapptea

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, you can avoid using the xaajpl-devapptea package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your package dependencies to identify and remove any potentially malicious packages.

Conclusion

The xaajpl-devapptea package poses a significant security risk due to its malicious code that manipulates the npm registry. It is essential for developers to be vigilant about the packages they use and to regularly audit their dependencies to mitigate such vulnerabilities. Utilizing tools like Vulert can help in monitoring and alerting for open-source vulnerabilities in real-time.

See every vulnerability recorded for xaajpl-devapptea →

Share this vulnerability

FAQ

xaajpl-devapptea is a package associated with the tea.xyz token reward campaign, which has been identified as malicious due to its scripts that manipulate the npm registry.

The malicious code can modify your package.json file, remove private flags, and publish random packages, potentially leading to security vulnerabilities and data breaches.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By simply uploading your package-lock.json file, you can identify if your application is affected.

To prevent similar vulnerabilities, regularly audit your dependencies, use trusted sources for packages, and keep your software updated with the latest security patches.

If you have installed the xaajpl-devapptea package, you should uninstall it immediately using the command 'npm uninstall xaajpl-devapptea' and review your other dependencies for any potential risks.

How To Fix

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

npm uninstall xaajpl-devapptea

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