Malicious Code Detected in apptmpl Package - Security Alert
Summary
MAL-2025-14743: Malicious code in apptmpl (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 apptmpl package is a tool designed for creating application templates in the Node.js ecosystem. It is commonly used by developers to streamline the setup of new projects. However, this package has been found to contain malicious code, posing a significant security risk to users who integrate it into their applications.
Vulnerability Detail
The vulnerability in the apptmpl package stems from the inclusion of malicious code that can compromise the security of applications utilizing this package. This code may lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The issue was introduced in version 0 and affects all subsequent versions.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall apptmpl
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 apptmpl package until a secure version is released. Consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The discovery of malicious code in the apptmpl package highlights the importance of vigilance in managing dependencies within software projects. Users are urged to remove the package and monitor for updates or alternatives to safeguard their applications.
See every vulnerability recorded for apptmpl →
FAQ
The malicious code can potentially allow unauthorized access to sensitive data and compromise the integrity of applications using the package.
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.
Currently, there is no patched version available. It is advisable to remove the package until a secure version is released.
Remove the apptmpl package immediately and consider using alternative packages that do not pose security risks.
Vulert uses the package-lock.json file to monitor and alert users in real-time for open-source vulnerabilities, ensuring your applications remain secure.