FREE SCAN — 150 founder credits, no card

Free Security Scan for FastAPI Apps

Scan your FastAPI service for exposed docs, broken auth, and IDOR.

Why FastAPI Apps Get Hacked

FastAPI auto-generates an OpenAPI spec and interactive docs (/docs and /openapi.json), which is great for development and a gift to attackers in production. It maps your entire API surface. Combined with dependency-based auth that is easy to forget on a route and the usual IDOR risks, an exposed FastAPI service is a clear target. We scan exactly that surface.

Common FastAPI Vulnerabilities

Exposed OpenAPI docs

/docs, /redoc, and /openapi.json publish your complete endpoint list, parameters, and schemas — a full map for an attacker. Disable or protect them in production.

Missing auth on routes

FastAPI auth is a per-route dependency. Forget the Depends(...) on one endpoint and it is wide open while the rest look protected.

Broken object-level authorization (IDOR)

Path params like /items/{id} that fetch by ID without an ownership check let any authenticated user read others' data.

Permissive CORS

CORSMiddleware with allow_origins=["*"] plus allow_credentials enables cross-origin abuse of authenticated sessions.

Missing rate limiting & headers

No built-in rate limiting and no security headers; both must be added at the app or proxy layer.

What the Sable Scan Checks

Exposed secrets & API keys

We scan your client-side bundles and responses for leaked API keys, tokens, database URLs, and 100+ secret patterns that ship to the browser by accident.

Security headers & TLS

HSTS, CSP, X-Frame-Options, Referrer-Policy, Permissions-Policy, and TLS protocol/cipher configuration — graded A-F with copy-paste fixes.

CORS & access control

Overly permissive CORS, wildcard origins with credentials, and broken object-level authorization (IDOR/BOLA) where one user can reach another user's data.

Injection & API surface

SQL/NoSQL injection, exposed OpenAPI/Swagger specs, GraphQL introspection, mass assignment, missing rate limits, and excessive data exposure.

OWASP Top 10 coverage

Autonomous pentesting agents test against the full OWASP Top 10 2025, validate each finding with a proof-of-concept, and re-test after you fix.

Validated findings, not noise

Every reported issue is confirmed by an agent before it reaches you — so you get real, exploitable findings with severity and remediation, not scanner spam.

Scan Your FastAPI App in Minutes

Create a free account, point the agents at your app, and get validated findings with proof-of-concept and fix guidance. 150 founder credits, no credit card.

Get 150 Free Credits

Frequently Asked Questions

Should I disable FastAPI docs in production?
Yes, or protect them behind auth. /docs, /redoc, and /openapi.json publish your entire API surface — endpoints, parameters, and schemas — which accelerates attacks. Set docs_url=None / openapi_url=None or gate them. Sable detects exposed OpenAPI specs.
How does authorization break in FastAPI?
Auth in FastAPI is a per-route Depends() dependency, so a single missing dependency leaves an endpoint unprotected, and ID-based routes without ownership checks cause IDOR. Sable enumerates your routes and tests each for missing auth and cross-user access.
Is the security scan really free?
Yes. The Headers Scan runs instantly with no signup. For the full agent scan you create a free account and get 150 founder credits with no credit card required — enough to run real scans against your app on demand. Paid credit packs and monthly tiers exist for continuous testing, but you can start for free.
How does Sable scan my app?
Sable runs autonomous pentesting agents (pen-scout, pen-recon, pen-triage, pen-fixer, pen-compliance) that map your attack surface, test against the OWASP Top 10, validate every finding with a proof-of-concept, and re-test after you ship a fix. You chat with the agents on demand instead of waiting weeks for a manual engagement.
Will the scan break or slow down my production app?
No. Scans are designed to be safe and non-destructive. We demonstrate impact with proof-of-concept evidence rather than causing damage, and we never exfiltrate or alter your data.

Security Scans for Other Stacks