Malicious Code Detected in dbk-seed Package - Security Alert
Summary
MAL-2025-18099: Malicious code in dbk-seed (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 dbk-seed package is an npm library designed for generating seed data for applications. It is commonly used by developers to populate databases with test data. However, this package has been identified as containing malicious code, which poses significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the dbk-seed package. This code can potentially compromise the security of applications that rely on this package, leading to unauthorized access, data breaches, or other malicious activities. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dbk-seed
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 dbk-seed package altogether and consider using alternative libraries for generating seed data. Ensure to review the alternatives for any known vulnerabilities before implementation.
Conclusion
The dbk-seed package has been identified as containing malicious code, posing a significant risk to applications that utilize it. Users are urged to remove the package and seek alternatives to ensure the security of their applications. Regular monitoring for vulnerabilities, such as through Vulert, is recommended.
See every vulnerability recorded for dbk-seed →
FAQ
dbk-seed is an npm package used for generating seed data for applications, primarily for testing and development purposes.
The exact nature of the malicious code has not been disclosed, but it poses risks such as unauthorized access and data breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Immediately remove the dbk-seed package from your project and replace it with a secure alternative. Review your code for any potential security implications.
Currently, there is no patched version available. It is recommended to remove the package and look for alternatives.