Malicious Code Injection in dbedhs-devapp: A Threat to npm Users
Summary
MAL-2025-101217: Malicious code in dbedhs-devapp (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 dbedhs-devapp package is part of the npm ecosystem, primarily used for developing applications. It is designed to facilitate various development tasks but has been compromised, making it a vector for malicious activities. This vulnerability stems from its association with the tea.xyz token reward campaign, which has led to the proliferation of harmful packages within the npm registry.
Vulnerability Detail
The vulnerability in dbedhs-devapp originates from its malicious code that modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants, polluting the npm registry. This behavior can inflate developer reputation scores fraudulently and poses significant risks to users who may unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dbedhs-devapp
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, users can avoid using the dbedhs-devapp package until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The dbedhs-devapp package has been identified as containing malicious code that can compromise npm users. It is essential to stay informed about such vulnerabilities and take proactive measures to secure your applications. Regular updates and monitoring tools like Vulert can help mitigate these risks effectively.
See every vulnerability recorded for dbedhs-devapp →
FAQ
dbedhs-devapp is an npm package used for application development, but it has been compromised with malicious code.
If your application uses dbedhs-devapp, it may inadvertently install malicious code that can alter your package configurations and publish harmful variants.
You should immediately remove the package and monitor your application for any unusual behavior. Updating to a patched version is crucial once it is available.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities. You can check your application using the Vulert playground without any signup.
Regularly update your dependencies, use tools like Vulert for monitoring, and review package sources before installation to minimize risks.