Malicious Code Injection in official_dingo_z3n Package - npm Vulnerability
Summary
MAL-2025-89046: Malicious code in official_dingo_z3n (npm). Affected versions are not published. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The official_dingo_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. Its functionality is compromised by malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in the official_dingo_z3n package stems from malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of these variants, polluting the npm registry and potentially compromising the integrity of other packages. The origin of this issue is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall official_dingo_z3n
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 the official_dingo_z3n package by using npm's package-lock.json to monitor dependencies. You can also use the following command to uninstall the package: npm uninstall official_dingo_z3n.
Conclusion
The official_dingo_z3n package contains a significant vulnerability due to malicious code that alters package metadata and floods the npm registry. It is crucial to remove this package and monitor your dependencies for security risks. Utilizing tools like Vulert can help maintain the integrity of your projects.
See every vulnerability recorded for official_dingo_z3n →
FAQ
The official_dingo_z3n package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the pollution of the npm registry with malicious packages, potentially compromising the integrity of your project's dependencies.
If you have installed the official_dingo_z3n package, it is recommended to uninstall it immediately and monitor your project for any unusual behavior.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.