All 212 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 — marked FREE below. Paid plans unlock the other 182 rules (PRO): command injection, XXE, SSTI, mass assignment, IDOR, GraphQL abuse, AI/LLM prompt-injection patterns, payment security, and 50+ vendor API-key detectors. From $9/mo →

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

30 rules

A03:2021Injection

19 rules

A04:2021Insecure Design

25 rules

A05:2021Security Misconfiguration

34 rules
RuleDescriptionCWE
VC009FREECORS misconfigurationCWE-942
VC017FREEInsecure default configurationCWE-1188
VC019PRODebug mode in productionCWE-489
VC020FREEInformation exposure in error messagesCWE-209
VC024PROMissing content security policyCWE-1021
VC025PROInsecure cookie flagsCWE-614
VC026PROMissing security headersCWE-693
VC027PROUnsafe regular expressionsCWE-1333
VC038PROMissing timeout configurationCWE-400
VC040PROMissing helmet/security middlewareCWE-693
VC056PROInsecure DNS configurationCWE-350
VC059PROMissing environment separationCWE-489
VC066PROInsecure GraphQL introspectionCWE-200
VC068PROInsecure middleware orderingCWE-696
VC072PROInsecure iframe embeddingCWE-1021
VC073PROMissing clickjacking protectionCWE-1021
VC076PROInsecure deployment configurationCWE-16
VC077PROMissing container securityCWE-250
VC090PROInsecure backup configurationCWE-530
VC091PROMissing cross-origin isolationCWE-346
VC093PROMissing HSTSCWE-523
VC095PROMissing network segmentationCWE-923
VC097FREEMissing secure flag on cookiesCWE-614
VC099PROMissing secure headers in API responsesCWE-693
VC102PROInsecure regexCWE-1333
VC103FREEMissing HTTP method restrictionCWE-749
VC105PROMissing referrer policyCWE-200
VC108PROInsecure server configurationCWE-16
VC128PROHTTP request smugglingCWE-444
VC153PROReflected CORS origin with credentialsCWE-942
VC157PROExposed database studioCWE-16
VC185PROGitHub Actions: permissions set to write-allCWE-732
VC188PRODockerfile: ADD used for local files instead of COPYCWE-1357
VC196PROPython: Django ALLOWED_HOSTS contains wildcardCWE-20

A06:2021Vulnerable Components

8 rules

A07:2021Identification & Auth Failures

55 rules
RuleDescriptionCWE
VC011FREEInsecure session managementCWE-384
VC045PROJWT misconfigurationCWE-347
VC046PROMissing token expirationCWE-613
VC047PROInsecure token storageCWE-922
VC052PROMissing brute force protectionCWE-307
VC054PROMissing multi-factor authenticationCWE-308
VC062PROWeak password policyCWE-521
VC063FREEMissing account lockoutCWE-307
VC084PROInsecure OAuth implementationCWE-346
VC098PROInsecure password reset flowCWE-640
VC120PROMissing OAuth state parameterCWE-352
VC125PROInsecure password resetCWE-640
VC132PROHardcoded Anthropic API keyCWE-798
VC133PROHardcoded GitHub PATCWE-798
VC134PROHardcoded SendGrid API keyCWE-798
VC135PROHardcoded Slack tokenCWE-798
VC136PROHardcoded GCP service account keyCWE-798
VC137PROHardcoded Shopify access tokenCWE-798
VC138PROHardcoded GitLab tokenCWE-798
VC139PROHardcoded Twilio API keyCWE-798
VC140PROHardcoded Mailgun API keyCWE-798
VC141PROHardcoded Datadog API keyCWE-798
VC142PROHardcoded Vercel tokenCWE-798
VC143PROHardcoded Supabase service role keyCWE-798
VC144PROHardcoded Vault tokenCWE-798
VC145PROHardcoded Pinecone API keyCWE-798
VC146PROSecret in URL parameterCWE-598
VC149PROSecret in client bundle configCWE-798
VC150PROSecret in HTML attributeCWE-615
VC151PROSecret in CLI argumentCWE-214
VC159PROHardcoded Cohere API keyCWE-798
VC160PROHardcoded Replicate API tokenCWE-798
VC161PROHardcoded Mistral API keyCWE-798
VC162PROHardcoded Together AI API keyCWE-798
VC163PROHardcoded Groq API keyCWE-798
VC164PROHardcoded Fireworks AI API keyCWE-798
VC165PROHardcoded Postmark server tokenCWE-798
VC166PROHardcoded Resend API keyCWE-798
VC167PROHardcoded Loops API keyCWE-798
VC168PROHardcoded Cloudflare API tokenCWE-798
VC169PROHardcoded Fastly API tokenCWE-798
VC170PROHardcoded Netlify access tokenCWE-798
VC171PROHardcoded Railway API tokenCWE-798
VC172PROHardcoded Fly.io auth tokenCWE-798
VC173PROHardcoded Algolia admin API keyCWE-798
VC174PROHardcoded Qdrant API keyCWE-798
VC175PROHardcoded Weaviate API keyCWE-798
VC176PROHardcoded Linear API keyCWE-798
VC177PROHardcoded Notion integration tokenCWE-798
VC178PROHardcoded Discord bot tokenCWE-798
VC179PROHardcoded Intercom access tokenCWE-798
VC180PROHardcoded Sentry auth tokenCWE-798
VC181PROHardcoded Better Stack (Logtail) tokenCWE-798
VC182PROHardcoded Highlight.io API keyCWE-798
VC183PROHardcoded Plivo auth tokenCWE-798

A08:2021Software & Data Integrity

10 rules

A09:2021Security Logging Failures

11 rules

A10:2021Server-Side Request Forgery

1 rule
RuleDescriptionCWE
VC022PROServer-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