Skip to content
masterclass Buddy

Arcjet · Function

shield

Arcjet Shield is an application-aware WAF for common web attacks and suspicious request patterns. It tracks request metadata over time and lets application code block or handle suspicious requests.

Last updated

Syntax

shield({ mode: "DRY_RUN" | "LIVE" });
const decision = await aj.protect(request);

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • OWASP Core Rule Set
  • bot protection
  • filters
  • rate limiting
  • Arcjet MCP server
  • Arcjet Cloud

Source: Shield WAF for Node.js | Arcjet Docs. Checked 2026-11-03.