Arcjet Example appArcjet Example app

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.


What next?

Want to know more?

Arcjet docs / Join our Discord