HeadsUpAI

Vercel Adds Natural Language Interface to Firewall for Instant Security Rules

Vercel, a frontend cloud platform and creator of the AI SDK, added a natural language interface to its Web Application Firewall (WAF) for creating custom security rules. Users can now describe traffic behaviors—like rate limiting API paths—and the platform automatically generates the corresponding rule configuration.
Interface modes
Dashboard and CLI
CLI command
vercel firewall rules add --ai
Rule actions
Log, block, challenge, and others
Rule conditions
IP, path, country, and others
Availability
All Vercel users with firewall access

This shift toward natural language configuration continues a pattern seen in Vercel's natural language web automation by simplifying complex infrastructure tasks. By lowering the technical floor for WAF management, teams can respond to threats faster. This speed is critical as Cloudflare's AI security suite also moves toward automated threat mitigation.

You can generate rules in the dashboard or use the Vercel CLI with the new --ai flag to add rules from the terminal. The system supports actions like logging, blocking, and challenging based on conditions like user agent and path. These capabilities are available now for all Vercel users with firewall access.

Vercel Developers
Vercel Developers
@vercel_dev
X

Vercel Firewall now supports creating custom rules with natural language: ▪︎ Block all /wp-admin requests ▪︎ Rate limit /login to 5 attempts per IP ▪︎ Challenge /checkout requests from node https://t.co/YNZSA6LoNf

4retweets69likes
View on X

Still wondering? A few quick answers below.

Vercel Firewall natural language rule creation is a feature that allows developers to describe security behaviors in plain English to generate Web Application Firewall configurations. Instead of manually selecting logic in a dashboard, users can type prompts like block all requests to wp-admin to automatically create rules that log, block, or rate limit incoming site traffic.

You can create Web Application Firewall rules through the Vercel CLI by using the firewall rules add command with a new ai flag. By passing a natural language description in quotes after the flag, the CLI generates the rule configuration automatically. This allows developers to manage site security and rate limiting directly from their terminal environment.

Vercel Firewall custom rules allow you to control traffic by logging, blocking, challenging, rate limiting, or redirecting requests. These actions are triggered based on specific conditions such as the IP address, request path, country of origin, or user agent. This flexibility enables developers to create granular security policies that target specific types of traffic or geographic regions.

Share this update