11/12 free views
Tool
Web Service
API Security

api-firewall

by wallarm

643stars
63forks
22watchers
Updated 5 months ago
About

A fast, lightweight API proxy firewall that validates API requests and responses against OpenAPI and GraphQL schemas to secure REST and GraphQL endpoints.

Fast and light-weight API proxy firewall for request and response validation by OpenAPI specs.

Primary Use Case

API Firewall is used to protect REST and GraphQL APIs by enforcing a positive security model that blocks malicious or malformed requests and responses. It is ideal for developers and security teams in cloud-native environments who want to prevent API data breaches, discover shadow APIs, and automate API security validation.

Key Features
  • Secure REST and GraphQL API endpoints by blocking malicious requests
  • Stop API data breaches by blocking malformed API responses
  • Discover shadow API endpoints
  • Validate JWT access tokens for OAuth 2.0 authentication
  • Denylist compromised API tokens, keys, and cookies
  • AllowIPList to restrict access by allowed IP addresses
  • Supports ModSecurity Rules and OWASP ModSecurity Core Rule Set
  • Operates in proxy, API validation, and GraphQL modes

Installation

  • Pull the API Firewall Docker image from DockerHub
  • Provide the OpenAPI 3.0 or GraphQL schema of your API
  • Run API Firewall as a reverse proxy in PROXY mode for request and response validation
  • Alternatively, run in API mode to validate individual requests without proxying
  • Use graphql mode to validate HTTP and WebSocket GraphQL requests

Usage

>_ docker run -p 8080:8080 -v /path/to/openapi.yaml:/api-spec.yaml wallarm/api-firewall

Run API Firewall in PROXY mode validating requests and responses against the provided OpenAPI specification.

>_ docker run -e MODE=API -v /path/to/openapi.yaml:/api-spec.yaml wallarm/api-firewall

Run API Firewall in API mode to validate individual requests against the OpenAPI specification without proxying.

>_ docker run -e MODE=graphql -v /path/to/graphql-schema.graphql:/schema.graphql wallarm/api-firewall

Run API Firewall in GraphQL mode to validate HTTP and WebSocket GraphQL requests against the provided schema.

Security Frameworks
Initial Access
Execution
Defense Evasion
Discovery
Exfiltration
Usage Insights
  • Integrate API Firewall into CI/CD pipelines for automated API security validation before deployment.
  • Leverage shadow API discovery to identify and remediate undocumented or forgotten API endpoints.
  • Combine with runtime application self-protection (RASP) tools for layered API defense.
  • Use JWT validation and denylisting features to enforce strict authentication and reduce token misuse.
  • Customize ModSecurity rulesets to tailor protection against emerging API-specific threats.

Docs Take 2 Hours. AI Takes 10 Seconds.

Ask anything about api-firewall. Installation? Config? Troubleshooting? Get answers trained on real docs and GitHub issues—not generic ChatGPT fluff.

This tool hasn't been indexed yet. Request indexing to enable AI chat.

Admin will review your request within 24 hours

Security Profile
Red Team60%
Blue Team90%
Purple Team70%
Details
LicenseMozilla Public License 2.0
LanguageGo
Open Issues29
Topics
proxy
firewall
waf
api-gateway
apigateway
api-wrapper
security-tools
security
api-security
api