cloudflare-worker-builder
Audited by Runlayer on Feb 22, 2026
Malicious tool definition detected
Tool: .claude-plugin/plugin.json Description: { "name": "cloudflare-worker-builder",
Malicious tool definition detected
Tool: SKILL.md Description: --- name: cloudflare-worker-builder description: > Scaffold and deploy Cloudflare Workers with Hono routing, Vite plugin, and Static Assets.
Malicious tool definition detected
Tool: assets/package.json Description: { "name": "cloudflare-worker-base-test", "version": "0.0.0", "private": true, "scripts": { "deploy": "wrangler deploy", "dev": "wrangler dev", "start": "wrangler dev", "test": "vitest", "cf-typegen": "wrangler types" },
Malicious tool definition detected
Tool: assets/public/index.html Description: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Cloudflare Worker + Hono + Static Assets</title> <link rel="stylesheet" href="/styles.css"> </head> <body> <div class="container"> <header> <h1>🔥 Cloudflare Worker + Hono + Static Assets</h1> <p>Testing API routes with Workers Static Assets and SPA fallback</p> </header> <section class="test-section"> <h2>API Test
Malicious tool definition detected
Tool: assets/public/script.js Description: /** * API Test Functions * * These functions call the Worker API routes and display the results.
Malicious tool definition detected
Tool: assets/public/styles.css Description: * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; line-height: 1.6; color: #333; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; padding: 2rem; } .container { max-width: 900px; margin: 0 auto; background: white; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); overflow: hidden; } header { b
Malicious tool definition detected
Tool: assets/src/index.ts Description: /** * Cloudflare Worker with Hono * * CRITICAL: Export pattern to prevent "Cannot read properties of undefined (reading 'map')" error * See: https://github.com/honojs/hono/issues/3955 * * ✅ CORRECT: export default app (for Hono apps) * ❌ WRONG: export default { fetch: app.fetch } (causes build errors with Vite) * * Exception: If you need multiple handlers (scheduled, tail, etc.), use Module Worker format: * export default { * fetch: app.fetch, * sched
Malicious tool definition detected
Tool: assets/tsconfig.json Description: { "compilerOptions": { /* Visit https://aka.ms/tsconfig.json to read more about this file */ /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations.
Malicious tool definition detected
Tool: assets/vite.config.ts Description: import { defineConfig } from 'vite' import { cloudflare } from '@cloudflare/vite-plugin' export default defineConfig({ plugins: [
Malicious tool definition detected
Tool: assets/wrangler.jsonc Description: /** * For more details on how to configure Wrangler, refer to: * https://developers.cloudflare.com/workers/wrangler/configuration/ */ { "$schema": "node_modules/wrangler/config-schema.json", "name": "cloudflare-worker-base-test", "main": "src/index.ts", "account_id": "0460574641fdbb98159c98ebf593e2bd", "compatibility_date": "2025-10-11", "observability": { "enabled": true }, /** * Static Assets * https://developers.cloudflare.com/workers/static-assets/ *
Malicious tool definition detected
Tool: references/architecture.md [1/2] Description: # Architecture Deep Dive **Last Updated**: 2025-10-20 This document explains the architectural patterns used in Cloudflare Workers with Hono, Vite, and Static Assets.
Tool: references/architecture.md [2/2] Description: dist/ ├── index.js # Your Worker code (bundled) └── ...
Malicious tool definition detected
Tool: references/common-issues.md [1/2] Description: # Common Issues and Troubleshooting **Last Updated**: 2025-10-20 This document details all 6 documented issues that commonly affect Cloudflare Workers projects, with detailed explanations and fixes. --- ## Table of Contents 1.
Tool: references/common-issues.md [2/2] Description: ## Issue #5: Static Assets Upload Race ### Symptoms - Deployment fails **non-deterministically** in CI/CD - Works locally, fails in CI randomly - Error messages vary: - "Failed to upload assets" - "Timeout during asset upload" - "Asset manifest mismatch" ### Source - **GitHub Issue**: [workers-sdk #7555](https://github.com/cloudflare/workers-sdk/issues/7555) - **Reported**: March 2025 ### Root Cause **Race condition during parallel asset uploa
Malicious tool definition detected
Tool: references/deployment.md [1/2] Description: # Deployment Guide **Last Updated**: 2025-10-20 Complete guide to deploying Cloudflare Workers with Wrangler, including CI/CD patterns and production best practices.
Tool: references/deployment.md [2/2] Description: ./scripts/deploy.sh staging ./scripts/deploy.sh production ``` --- ## Production Best Practices ### 1.