vercel-firewall

Configures Vercel Firewall rules, IP blocks, rate limits, and attack response via CLI.

Updated Sep 17, 2026
One-click install
npx skills add https://github.com/ridhijain709/AIPORSCHE --skill vercel-firewall-ridhijain709
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-firewall
Source: https://github.com/ridhijain709/AIPORSCHE/tree/main/.agents/skills/vercel-firewall
Command: npx skills add https://github.com/ridhijain709/AIPORSCHE --skill vercel-firewall-ridhijain709

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Configuring Vercel's WAF, DDoS protections, and rate limiting through the vercel firewall CLI is error-prone, and a misconfigured rule can block real users, SEO crawlers, or checkout flows. This Skill provides expert guidance and safe staged workflows for managing platform-level security without taking down production traffic. ## Core Features & Use Cases - Custom WAF Rules: Create, edit, reorder, and inspect firewall rules with conditions on path, headers, geo, user agent, and JA3/JA4 fingerprints, using actions like deny, challenge, log, bypass, and rate_limit. - IP Blocks & System Bypass: Block abusive IPs or CIDRs and exempt trusted networks (offices, CI, uptime monitors) from all firewall checks. - Attack Response & Rate Limiting: Guidance on Attack Mode, system mitigations, and per-endpoint rate limits with safe log-first rollout. - Use Case: Your API is being hammered by a single abusive client. Use this Skill to stage a rate_limit rule on /api in log mode, review the traffic in the dashboard, then tighten and enforce it without affecting legitimate users. ## Quick Start Ask the assistant to add a Vercel firewall rule that rate limits the /api path to 100 requests per minute per IP, staged in log mode first.

Frequently Asked Questions about vercel-firewall

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a rate limit rule with the Vercel firewall CLI?

Use `vercel firewall rules add` with a path condition and `--action rate_limit`, setting `--rate-limit-window`, `--rate-limit-requests`, and `--rate-limit-keys ip`. Start with `--rate-limit-action log` and a generous limit, then tighten after reviewing dashboard traffic.

How do I block an IP address on Vercel?

Run `vercel firewall ip-blocks block <ip> --yes` to block an IP or CIDR, optionally scoped to a hostname with `--hostname`. IP block changes are staged as drafts and only take effect after `vercel firewall publish --yes`.

Does Vercel DDoS protection cost extra or require configuration?

Automatic DDoS mitigation is enabled for every project on every plan, including Hobby, with no configuration required. Vercel does not bill for traffic blocked by DDoS mitigations or WAF denies, challenges, or rate limits.

Why did my Vercel firewall rule block legitimate users?

Overly broad conditions like user-agent substrings or shared JA4 fingerprints often match real users, crawlers, and CI tools. Roll rules out in stages: log first, review the filtered traffic dashboard, test deny in preview, then enforce in production.

What is the difference between system bypass and a bypass rule on Vercel?

System bypass exempts trusted IPs or CIDRs from all firewall checks and takes effect immediately without publishing. A custom rule with the `bypass` action only skips remaining WAF custom rules and managed rulesets, and is staged until published.

Can AI agents run all vercel firewall commands?

No. The AI and interactive wizard modes of `rules add` are TTY-only, and `attack-mode enable` and `system-mitigations pause` require interactive confirmation due to severity. Agents should use `--condition` flags or `--json` and have the user run restricted commands.