All 210 Security Rules

Every rule XploitScan uses, organized by OWASP Top 10 category. Each rule maps to CWE, SOC 2, and ISO 27001 controls.

About our rule set

These rules detect security patterns specific to AI-generated code (Cursor, Bolt, Lovable, Replit) and modern web frameworks (Next.js, Supabase, Clerk, Stripe). They use a two-layer approach: a fast pattern-matching pre-filter plus a Babel-parsed AST layer with taint tracking for data-flow rules (SSRF, prototype pollution, mass assignment, SSTI, and more). Detection quality is scored publicly against a labeled fixture corpus on the benchmark page.

Free plan: 30 core rules covering the most common vulnerabilities. Pro plan: all 210 rules including framework-specific patterns, payment security, and IDE/mobile code.

Note: XploitScan is not a replacement for professional security auditing. Pattern-based scanning cannot catch every vulnerability, especially logic flaws and business-logic issues. For production applications handling sensitive data, we recommend combining automated scanning with penetration testing and manual code review.

A01:2021Broken Access Control

19 rules

A02:2021Cryptographic Failures

28 rules

A03:2021Injection

19 rules

A04:2021Insecure Design

25 rules

A05:2021Security Misconfiguration

34 rules

A06:2021Vulnerable Components

8 rules

A07:2021Identification & Auth Failures

55 rules
RuleDescriptionCWE
VC011Insecure session managementCWE-384
VC045JWT misconfigurationCWE-347
VC046Missing token expirationCWE-613
VC047Insecure token storageCWE-922
VC052Missing brute force protectionCWE-307
VC054Missing multi-factor authenticationCWE-308
VC062Weak password policyCWE-521
VC063Missing account lockoutCWE-307
VC084Insecure OAuth implementationCWE-346
VC098Insecure password reset flowCWE-640
VC120Missing OAuth state parameterCWE-352
VC125Insecure password resetCWE-640
VC132Hardcoded Anthropic API keyCWE-798
VC133Hardcoded GitHub PATCWE-798
VC134Hardcoded SendGrid API keyCWE-798
VC135Hardcoded Slack tokenCWE-798
VC136Hardcoded GCP service account keyCWE-798
VC137Hardcoded Shopify access tokenCWE-798
VC138Hardcoded GitLab tokenCWE-798
VC139Hardcoded Twilio API keyCWE-798
VC140Hardcoded Mailgun API keyCWE-798
VC141Hardcoded Datadog API keyCWE-798
VC142Hardcoded Vercel tokenCWE-798
VC143Hardcoded Supabase service role keyCWE-798
VC144Hardcoded Vault tokenCWE-798
VC145Hardcoded Pinecone API keyCWE-798
VC146Secret in URL parameterCWE-598
VC149Secret in client bundle configCWE-798
VC150Secret in HTML attributeCWE-615
VC151Secret in CLI argumentCWE-214
VC159Hardcoded Cohere API keyCWE-798
VC160Hardcoded Replicate API tokenCWE-798
VC161Hardcoded Mistral API keyCWE-798
VC162Hardcoded Together AI API keyCWE-798
VC163Hardcoded Groq API keyCWE-798
VC164Hardcoded Fireworks AI API keyCWE-798
VC165Hardcoded Postmark server tokenCWE-798
VC166Hardcoded Resend API keyCWE-798
VC167Hardcoded Loops API keyCWE-798
VC168Hardcoded Cloudflare API tokenCWE-798
VC169Hardcoded Fastly API tokenCWE-798
VC170Hardcoded Netlify access tokenCWE-798
VC171Hardcoded Railway API tokenCWE-798
VC172Hardcoded Fly.io auth tokenCWE-798
VC173Hardcoded Algolia admin API keyCWE-798
VC174Hardcoded Qdrant API keyCWE-798
VC175Hardcoded Weaviate API keyCWE-798
VC176Hardcoded Linear API keyCWE-798
VC177Hardcoded Notion integration tokenCWE-798
VC178Hardcoded Discord bot tokenCWE-798
VC179Hardcoded Intercom access tokenCWE-798
VC180Hardcoded Sentry auth tokenCWE-798
VC181Hardcoded Better Stack (Logtail) tokenCWE-798
VC182Hardcoded Highlight.io API keyCWE-798
VC183Hardcoded Plivo auth tokenCWE-798

A08:2021Software & Data Integrity

10 rules

A09:2021Security Logging Failures

11 rules

A10:2021Server-Side Request Forgery

1 rule
RuleDescriptionCWE
VC022Server-side request forgeryCWE-918

Run these rules against your own code

Free, no signup required. Drag and drop a zip or run npx xploitscan scan .

Scan Your Code →
210 Security Rules for AI-Generated Code | XploitScan