Grammar-Based Payload Generator

Craft
Payload Generator

Professional-grade security testing payloads. Currently supporting XSS fuzzing with 469 active vectors across 28 categories. Grammar-based generation for comprehensive coverage.

469
Active Vectors
28
Categories
90%+
Attack Coverage
2019-2025
Techniques

Why Craft?

Built for professional penetration testers and security researchers

🎯

Grammar-Based Generation

Generates syntactically valid payloads from production rules using context-free grammar, not random strings. Produces realistic attack vectors for comprehensive security testing.

🔬

Comprehensive XSS Coverage

Current implementation covers 28 XSS attack categories including mXSS, CSP bypass, DOM clobbering, prototype pollution, and modern browser quirks.

REST API

Production-ready FastAPI server with parallel generation, rate limiting, and comprehensive documentation.

🔐

Secure by Default

API key authentication, PostgreSQL database, rate limiting, and AWS deployment ready. Built for enterprise security testing.

🚀

Production Ready

Docker containerized, Terraform infrastructure, CI/CD pipelines, and multi-environment deployment support.

📊

Scalable Architecture

Parallel payload generation with ThreadPoolExecutor, auto-scaling support, and comprehensive monitoring via CloudWatch.

XSS Attack Vector Coverage

Current implementation: 28 XSS categories covering 90%+ of modern attack surface

mXSS (Mutation XSS)
CSP Bypass
DOM Clobbering
Prototype Pollution
Template Injection
Unicode Normalization
SVG/MathML XSS
Dangling Markup
Browser Quirks
Event Handlers
JavaScript Protocols
...and 17 more

Simple REST API

Generate payloads with a single HTTP request

POST /payloads
curl -X POST https://api-staging.craft.exploit.design/payloads \
  -H "Content-Type: application/json" \
  -H "X-API-Key: your-api-key-here" \
  -d '{
    "count": 10,
    "categories": ["csp_bypass", "dom_clobbering"],
    "format": "json"
  }'
Response:
{
  "count": 10,
  "format": "json",
  "payloads": [
    {
      "payload": "<svg/onload=alert(1)>",
      "category": "svg_xss",
      "metadata": {...}
    },
    ...
  ]
}

🔑 Authenticated

Secure API key authentication with PostgreSQL-backed key management and expiration

⚡ Fast

Parallel generation with ThreadPoolExecutor for high throughput

📊 Categorized

Filter by attack category or get random vectors from all 28 categories