Small Tools
API: Inspect utility

OpenAPI Security Checker

Review declared security, anonymous access alternatives, unused schemes, and HTTP server URLs.

● This tool runs entirely in your browser. Your input is never uploaded to our servers.

Browse OpenAPI & API tools →

Output
Your result will appear here…

How to use OpenAPI Security Checker

  1. Paste an OpenAPI document with inline paths and security configuration, or load the example.
  2. Select Check Security to inspect document-level requirements and operation overrides, scheme references, and HTTP server URLs.
  3. 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: OK

Output:

Review: GET /health declares an anonymous access alternative (security includes {}). Public access may be intentional.

When to use

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

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.

Learn more

Related tools