Mock D1
๐๏ธ๐๏ธ๐ง Mock D1 Database implementation for testing Cloudflare Workers
AST Security Audit & Verification Scorecard94% Score
Last verified & scanned on: Aug 20, 2026
5-Pillar Verification Breakdown (100-Point Standard)
Total Score: 94 / 100 ptsSandboxed edge isolate runtime safety verified.
Standard edge developer tool.
License verified as MIT License.
Documentation and usage guides inspected.
Active Git provenance verified.
How to Improve This Score to 100/100
To increase this repository's score from 94% to 100%, author and contributors can apply these updates to GitHub:
- +2 pts:Edge Sandbox Safety โ Ensure code avoids dynamic eval(), unsanitized child_process spawns, and hardcoded secrets.
- +4 pts:Ecosystem & MCP Alignment โ Define an MCP server schema (mcp.json) or add a wrangler.toml configuration for edge worker integration.
Installation & Setup Quickstart
Select your installation method below to copy commands or setup scripts
# Deploy directly with Wrangler
npx wrangler deploy
# Or start local dev simulator
npx wrangler devMore DevOps Tools
View allโ ๏ธ Home to Wrangler, the CLI for Cloudflare Workersยฎ
๐ฅ Fully-local simulator for Cloudflare Workers. For the latest version, see https://github.com/cloudflare/workers-sdk/tree/main/packages/miniflare.
๐งโโ๏ธ easily deploy cloudflare workers applications using wrangler and github actions