Critical Malicious Code Vulnerability in aspnetcore-reacy-sample-app Package
Summary
MAL-2025-5668: Malicious code in aspnetcore-reacy-sample-app (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 aspnetcore-reacy-sample-app is an npm package designed for building web applications using ASP.NET Core and React. It provides a sample application structure that developers can use to kickstart their projects. However, this package has been identified to contain embedded malicious code, posing significant security risks to any system utilizing it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the aspnetcore-reacy-sample-app package. This code can compromise any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The ramifications of this vulnerability are severe, as it can lead to complete control of the affected system by an external entity. Users are advised to treat any system running this package as fully compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall aspnetcore-reacy-sample-app
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
Currently, there are no effective workarounds to mitigate the risks posed by this vulnerability other than removing the package entirely.
Conclusion
The aspnetcore-reacy-sample-app package contains embedded malicious code that poses a significant security threat. Immediate action is required to remove the package and secure any compromised systems. Utilizing tools like Vulert can help monitor and manage vulnerabilities in your applications effectively.
See every vulnerability recorded for aspnetcore-reacy-sample-app →
FAQ
You should immediately remove the package from your system and rotate any sensitive information stored on it.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit the Vulert playground at Vulert Scanner to check your application without needing to sign up.
Failure to address this vulnerability can lead to unauthorized access to your system, data breaches, and potential loss of sensitive information.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert and keep your packages updated to the latest secure versions.
While many npm packages are safe, it is essential to review and monitor them for vulnerabilities, as malicious packages can occasionally be published.