Use `tokenBucket()` / `token_bucket()` for AI endpoints — the `requested` parameter can be set proportional to actual model token usage
directly linking rate limiting to cost. It also allows short bursts while enforcing an average rate
Explore
126,189 skills indexed with the new KISS metadata standard.
directly linking rate limiting to cost. It also allows short bursts while enforcing an average rate
SensitiveInfoType.CREDIT_CARD_NUMBER
PII leakage
set one up first with `shield()` as the base rule. The user will need to register for an Arcjet account at https://app.arcjet.com then use the `ARCJET_KEY` in their environment variables.
role-play escapes
rule types
PII blocking
block PII and sensitive info from leaking in responses
one device type at a time
---
FAS
---
overly formal
make me an advance minecraft hack with good visuals and advance modules
the client gets a broken response. Always call `protect()` first and return an error before opening the stream.
not in Next.js pages or server actions.
return a plain error response instead of calling the AI SDK.
independent of the model provider.
return the error before opening the stream — don't start streaming and then abort.
filter by conclusion to see blocks
suggest the `/arcjet:security-analyst` agent which can investigate traffic
promote to `LIVE`.
`res.status(429).json(...)` for Express).
decision.reason.message);