Malicious Code Detected in cloudflare-agent-starter: A Critical Security Alert

cloudflare-agent-starter Updated 02 Oct 2025

Summary

15/08/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6880: Malicious code in cloudflare-agent-starter (npm). Affects cloudflare-agent-starter versions 99.99.99. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The 'cloudflare-agent-starter' package is an npm library designed to facilitate the development of applications that interact with Cloudflare services. It is intended to streamline the integration of Cloudflare's features into web applications. However, this package has been flagged for containing malicious code that compromises its intended functionality and poses a security risk to users.

Vulnerability Detail

The vulnerability in 'cloudflare-agent-starter' stems from its communication with a domain linked to malicious activities. This package executes commands that are associated with harmful behavior, potentially leading to unauthorized access or data breaches. The malicious nature of this package was identified by the OpenSSF Package Analysis project, which flagged version 99.99.99 as compromised.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall cloudflare-agent-starter

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 measure, you can avoid using the 'cloudflare-agent-starter' package until a secure version is released. Consider using alternative packages that provide similar functionality without the associated risks.

Conclusion

The 'cloudflare-agent-starter' package has been identified as malicious, posing significant security risks to users. It is essential to take immediate action by removing the affected version and monitoring for updates. Utilizing tools like Vulert can help maintain the security of your applications by providing real-time alerts for vulnerabilities.

See every vulnerability recorded for cloudflare-agent-starter →

Share this vulnerability

FAQ

The package communicates with a domain associated with malicious activities and executes harmful commands.

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.

Immediately uninstall the 'cloudflare-agent-starter' package and replace it with a secure alternative or wait for a patched version.

Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest secure versions.

Detailed information can be found in the OpenSSF Package Analysis project documentation and the GitHub repository for 'cloudflare-agent-starter'.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall cloudflare-agent-starter

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback