Malicious Code Detected in deno-r4-basic Package - Security Alert
Summary
MAL-2025-6713: Malicious code in deno-r4-basic (npm). Affects deno-r4-basic versions >= 1.1.0. 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 deno-r4-basic package is an npm library designed for basic Deno functionalities. It is utilized by developers to streamline their Deno applications. However, this package has been identified as having a vulnerability that allows it to communicate with a domain linked to malicious activities, posing a significant risk to users and their applications.
Vulnerability Detail
The vulnerability in the deno-r4-basic package originates from its ability to connect to a domain associated with malicious activities. This can lead to unauthorized data access, potential data breaches, and exploitation of the affected systems. The issue was introduced in version 1.1.0, making it critical for users to be aware of the risks involved with using this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall deno-r4-basic
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 deno-r4-basic package until a secure version is released. Alternatively, consider using other libraries that provide similar functionalities without the associated risks.
Conclusion
The deno-r4-basic package has a significant vulnerability that allows it to connect to a malicious domain, posing risks to users. It is crucial to update to the latest version or find alternative solutions to ensure the security of your applications.
See every vulnerability recorded for deno-r4-basic →
FAQ
The deno-r4-basic package is an npm library that provides basic functionalities for Deno applications.
The package communicates with a domain linked to malicious activities, which can lead to 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 needing to sign up.
As a temporary measure, avoid using the deno-r4-basic package until a secure version is available or consider using alternative libraries.
The vulnerability was identified by Amazon Inspector, a security tool that helps in finding vulnerabilities in applications.