Malicious Code Detected in dasnoo-template Package - Security Alert
Summary
MAL-2025-17987: Malicious code in dasnoo-template (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 dasnoo-template package is an npm library designed for creating templates in JavaScript applications. It provides developers with a set of tools and components to streamline the development process. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the dasnoo-template package originates from the inclusion of malicious code that can compromise the security of applications using this package. This code may lead to unauthorized access, data breaches, or other malicious activities. The issue is particularly concerning as it affects all versions starting from 0, making it imperative for users to take immediate action to protect their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dasnoo-template
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, consider removing the dasnoo-template package from your project until a secure version is released. You can do this by running the command: npm uninstall dasnoo-template.
Conclusion
The discovery of malicious code in the dasnoo-template package highlights the importance of vigilance in managing open-source dependencies. Users are urged to update or remove the package to safeguard their applications against potential threats.
See every vulnerability recorded for dasnoo-template →
FAQ
The dasnoo-template package is an npm library used for creating templates in JavaScript applications, providing tools to enhance development efficiency.
The malicious code can lead to unauthorized access and potential data breaches, posing a significant security risk to applications using the package.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities. Visit Vulert Scanner to check your application without needing to sign up.
If an immediate update is not possible, consider removing the dasnoo-template package from your project as a temporary measure.
Regularly check the package repository and security advisories, and consider using tools like Vulert to monitor your dependencies for vulnerabilities.