OpenAPI Security Checker
Review declared security, anonymous access alternatives, unused schemes, and HTTP server URLs.
Your result will appear here…
How to use OpenAPI Security Checker
- Paste an OpenAPI document with inline paths and security configuration, or load the example.
- Select Check Security to inspect document-level requirements and operation overrides, scheme references, and HTTP server URLs.
- Review anonymous or missing-security findings against the intended access policy. This is a declaration review, not a security audit or penetration test.
Example
Input / settings:
openapi: 3.0.3
info:
title: Example API
version: 1.0.0
servers:
- url: https://api.example.com
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
security:
- bearerAuth: []
paths:
/users:
get:
responses:
'200':
description: OK
/health:
get:
security:
- {}
responses:
'200':
description: OKOutput:
Review: GET /health declares an anonymous access alternative (security includes {}). Public access may be intentional.When to use
- Find operations with missing security declarations or an explicit anonymous access alternative.
- Spot security schemes that are undefined or never referenced by inspected operations.
- Review document-level server URLs that use plain HTTP.
Overview
Review declared security, anonymous access alternatives, unused schemes, and HTTP server URLs.
Supported input
One YAML or JSON object with inline paths, document-level and operation-level security arrays, components.securitySchemes, and document-level servers.
Output details
Review findings for operations lacking declared security or permitting anonymous access through an empty requirement object, undefined or unused scheme names, and document-level server URLs starting with http://. Public access may be intentional.
Limitations
- Reads declared security only; it does not verify authentication, authorization, OAuth scopes, or actual endpoint behavior. Anonymous and missing-security findings are not proof of a vulnerability.
- Malformed security declarations, security scheme definitions, and complete OpenAPI version compliance are not fully validated. Use a specification validator alongside this review.
- Operation/path-level servers and referenced definitions are not resolved. A clean report is not a security audit or proof of secure runtime behavior.
Privacy and security
This tool runs entirely in your browser. Your input is never uploaded to our servers.
References
Frequently asked questions
Does this verify authentication works?
No. It inspects documentation declarations only and does not send requests or verify authorization behavior.
What does security: [{}] mean?
An empty requirement object permits anonymous access in the declaration. Entries in the security array are alternatives (OR); schemes inside one requirement object must all be satisfied (AND). An empty alternative still permits anonymous access alongside named schemes.
Can a public endpoint be intentional?
Yes. Anonymous access is reported as a review finding, not proof of a vulnerability. Compare the declaration with the API's intended access policy and test runtime enforcement separately.
How do operation overrides work?
An operation's security array replaces the document-level requirement. security: [] removes inherited requirements; [{}] explicitly includes an anonymous alternative. Without an operation array, this lightweight check uses the document-level array.
Are specifications uploaded?
No. The check runs locally in your browser without calling API servers or fetching referenced definitions.