description: Protect AI chat and completion endpoints from abuse — detect prompt injection and jailbreak attempts
block PII and sensitive info from leaking in responses
Explore
121,200 skills indexed with the new KISS metadata standard.
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.
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
promote to `LIVE`.
`res.status(429).json(...)` for Express).
decision.reason.message);
// PII scanning
// injection detection
{ status: 403 });
consider adding Arcjet advanced signals for client-side bot detection that catches sophisticated headless browsers. See https://docs.arcjet.com/bot-protection/advanced-signals for setup.
{
// tokens to deduct for rate limiting
defaults to IP-based.
deduct 1 token per message
directly linking rate limiting to cost. It also allows short bursts while enforcing an average rate