Skip to content

ContractShield

Contract-first API protection for Node.js, Python, and Java. Block what your app doesn't expect.

Start Building

Node.js Quick Start

Get up and running in 5 minutes with Express or Fastify.

Start now →

Python Quick Start

Protect your FastAPI or Flask APIs with ContractShield.

Start now →

Java Quick Start

Secure your Spring Boot applications with annotations.

Start now →

Deployment Options

Deploy embedded, as a sidecar, or centralized.

Deploy →

Core Concepts

Define Contracts

Validate requests with JSON Schema — reject invalid payloads before they reach your code.

Learn more →

CEL Invariants

Write powerful business logic rules with CEL expressions.

Explore →

Pro Features

Learning Mode

Observe API traffic and auto-generate security rules. The fastest way to bootstrap protection.

Discover →

Sink-aware RASP

Block attacks that bypass validation — monitor SQL queries, file system access, and shell commands.

Learn more →

Policy Hot Reload

Update security rules without restarting your application.

Configure →

Priority Support

Get answers within 24 hours. Your issues are triaged first.

Licensing →

Why ContractShield?

WAFAPI GatewayContractShield
Sees parsed body❌⚠️✅
Business logic rules❌❌✅
Zero latency❌❌✅
Framework-aware❌❌✅

ContractShield lives inside your application. It sees what your code sees — parsed JSON, typed parameters, business context. No proxy, no sidecar required, no latency added. Available for Node.js, Python, and Java.