AlpRouter add-on
Prompt Security
If a customer phone number or API key in the input matches a rule, you can mask that value or block the request. The response header can also tell you which injection rules matched new input.
Request a pilot quoteTroubleshooting an authentication error
A developer pastes an API key into a support ticket along with an authentication error log. Mask the key and the support bot can still read the error code and request path. Compare that with blocking the request.
The sample log uses a fictional key. This demo checks only the AlpRouter key format.
Three add-ons for your organization
- Prompt Injection Detection
- We check user input and tool results received after the last assistant turn. Flag is the default when enabling detection. The request proceeds and its response header lists the matching rule IDs. In Block mode, even examples quoted in training materials can stop a request.
- Personal data detection and masking
Masking replaces ASCII email addresses with [EMAIL] and international phone numbers that include a country calling code with [PHONE]. It also masks Korean numbers with the prefixes 010, 011, 016–019, 02 and 070, and area codes 031–033, 041–044, 051–055 and 061–064. Korean numbers can use domestic or +82 notation and full-width digits.
Korean resident and foreign resident registration numbers are replaced with [RRN] if they include a hyphen and encode a valid date of birth. Card numbers are replaced with [CARD] if they match an issuer range and length and pass the Luhn check.
Names, addresses, passport numbers, driver’s license numbers, bank account numbers and 13-digit registration numbers without a hyphen are outside the scope of these rules. Checks include conversation history and operator instructions. To keep a support phone number available to the model, you can exclude operator instructions and tool definitions from personal data checks.
- API key detection
The rules check AlpRouter, OpenAI and Anthropic keys, Anthropic OAuth tokens, AWS access key IDs, GitHub tokens, Google API keys, Slack tokens and Stripe live keys. They also check PEM private keys, including JSON-escaped ones.
The rules match formats without checking whether a credential was issued. You can replace a match with [API_KEY] or block the request. Checks include conversation history and operator instructions. Keys in request authentication headers still work.
Enable each contracted add-on in organization settings. The conversation text limit is about 400 KB. Attachments and text in images are outside the inspection scope.
View the public rules and evaluation resultsAsk about the add-on
Tell us your expected monthly request volume and what you want to mask. We’ll follow up with the scope and a quote.