# AIS-09.1 | Prompt Injection Detection

> What reviewers check in AI-CAIQ AIS-09.1, the minimum evidence to prepare, how to pick Yes/No/N/A, a sample answer, and a free assistant for follow-ups.

Canonical page: https://assurelane.ai/en/services/security-questionnaire/assistant/ais-09-1/
Assistant: https://assurelane.ai/en/services/security-questionnaire/assistant/

## What the buyer is checking

Buyers confirm whether three types of problematic inputs are detected and handled before they enter the model: first, adversarial inputs such as injection and jailbreaks; second, inputs that can cause the system to fail, such as overly long, malformed, or unsupported file types; and third, content prohibited by policy. Buyers also examine two points: whether handling is performed outside the model or relies on the model itself refusing, and whether the handling rules have a documented basis. For AI application providers, traditional input validation (for example, XSS and SQL injection prevention, which can be mapped to OWASP ASVS) is also within scope for this question.

## Minimum evidence to prepare

1. Input handling policy: List the categories that require validation, filtering, rewriting or blocking, covering all three categories of adversarial, error-causing and prohibited content, and state the handling action and basis for each category. Applicable laws are to be determined by your legal team.
2. Input flow diagram: Map the complete sequence of steps before input enters the model: first perform schema, length and file type validation, then injection detection, then content and policy checks, before finally passing input to the model. Validation of model-generated tool parameters is not covered here; see AIS-10.1 and IAM-18.1.
3. Configuration evidence: Provide screenshots of guardrail configurations and rule version numbers.
4. Runtime evidence: Provide interception, degradation and escape statistics for N entries each of direct injection, indirect injection and malformed input; internal test records are also acceptable. Attach sample interception logs containing request_id, hit rules and handling actions.
5. False positive management: Provide false positive rate statistics and manual review records.

## How to pick Yes / No / N/A

- Eligibility for answering Yes (Our criteria): Explain the extent of coverage for each of the three input types based on risk; answer `Yes` if the categories that pose a risk to your service have handling measures outside the model, a policy basis, and runtime evidence. Isolated minor gaps are handled under the partial implementation rule below. If you have only a traditional WAF or only content moderation, answer `No`, and state clearly which category is covered, which is missing, and the remediation date.
- Evidence strength (buyer criteria): If only internal testing has been performed, state that the testing is internal in the description. Independent third-party test reports (T3 evidence, i.e. independent third-party reports) are more persuasive, but they are not a prerequisite for answering `Yes`.
- Partial implementation: If the control is implemented and only minor gaps that do not materially affect effectiveness remain, answer `Yes` and truthfully state the gaps, remediation plan, and target date in the implementation description. If a gap materially weakens the control's effectiveness, answer `No` and provide a corrective plan in the implementation description, including the owner, milestones, and completion date. This is a rule in the CSA filling guide.

## How to fill in the SSRM ownership column

General rule: According to the CSA matrix instructions and the *Filling in the AI-CAIQ* guide, whether you answer `Yes` or `No`, you must select a responsible party in the SSRM column and use only values from the original matrix dropdown. When answering `Yes`, you cannot select `Not Determined`. When answering `No`, select the party best suited to own remediation; select `Not Determined` only if it truly cannot be determined. When answering `NA`, the original matrix instructions require leaving this column blank; the filling guide says to usually select `Not Determined`, or select the upstream or downstream party if that party is clearly responsible. For submissions to the STAR registry, follow the filling guide; for questionnaires sent directly by a buyer, either approach is acceptable. Every `NA` answer must state the reason in the implementation description.

The SSRM column indicates who is responsible for this control. If you build the input pipeline yourselves, typically select `Owned by AP` (you, as the application provider, are responsible). If the detection capability comes from a model provider’s or cloud provider’s guardrail service, you may select `Shared across the supply chain` (multiple parties in the supply chain share responsibility), and state in the implementation description that the other party provides the detection capability while your side is responsible for configuring rules and executing response actions.

## Sample answer (if Yes)

```
Yes. User-supplied and third-party content on [in-scope paths] passes through a pre-model input pipeline: schema, size and file-type validation, prompt-injection detection, and content policy checks defined in [policy name]. Blocked events are logged with request ID, matched rule, and action[, and reviewed (frequency)]. [An internal / An independent] assessment in [month year] tested [X] direct and indirect injection payloads; [Y] were blocked at the input layer and [Z] were contained by downstream authorization controls, and no unauthorized tool execution was observed in the tested scenarios. Residual risk is recorded as RISK-AI-[NNN] and reviewed [frequency].
```

## Answers that get rejected

- “We have a WAF.” — A traditional WAF is not designed to identify prompt injection. Even if you use a WAF with an AI protection module, you must clarify what it covers and how the other two types of inputs are handled.
- "The model refuses malicious prompts." — This effectively shifts security responsibility to the model.
- "We use a moderation API." — This only covers the prohibited content component, and does not address how injections and error-causing inputs are handled.

## Who does what

Your engineering team is responsible for building guardrails, and governance leads are responsible for formulating handling policies. If an external guardrail service is used, the provider is responsible for detection capabilities. Tests and bypass samples may be produced by the internal security team or an external testing party.

## Related questions

- [AIS-10.1 AI Output Validation](https://assurelane.ai/en/services/security-questionnaire/assistant/ais-10-1/)
- [AIS-15.1 Instruction/Data Separation](https://assurelane.ai/en/services/security-questionnaire/assistant/ais-15-1/)
