Arcjet prompt injection detection example
This form uses Arcjet's prompt injection detection to analyze user prompts for injection attacks. It can detect attempts to manipulate AI systems through jailbreaks, role-play escapes, or instruction overrides.
Try it
See the code
The API route imports a centralized Arcjet client which sets base rules.