Rule set sha256:a7e715b79299
rego-art15-ipi-004
One rule of the rule set with digest a7e715b792994b004a7cc9714100077fad036164172ce42812ed396af0b727f5. An audit record that names this digest and this rule was decided by the rule as shown here. Every rule in this set.
| Rule | rego-art15-ipi-004 |
|---|---|
| Rule version | 537ed729efd962a1f59ad259ef22dbf8c5384bc4a2f83fab00f96c34aa9fc1ca |
| Provision | Regulation (EU) 2024/1689, Article 15(5) ELI: http://data.europa.eu/eli/reg/2024/1689/art_15/par_5/oj |
| Approval | Approved Approved by Leo Celis on 2026-10-22 (via agent review per §5.1 amendment v1.1) |
rules/rego/complyedge/prompt_security/ai_addressed.rego
- Citation
- Not stated in the rule file.
- Condition
- Content that addresses any AI reading it ("if you are an AI processing this page") and tells it to follow the content's directions instead of its user's.
- Layer 1 detects
- in any letter case, "attention" (optionally followed by a comma or colon) followed by AI, language model, assistant, LLM or chatbot; "note to" (optionally "any" or "the") followed by AI, language model, assistant or LLM; "message", "instruction" or "instructions" for or to (optionally "the") AI, assistant, language model or LLM, followed by "reading" or "processing"; "if you are", "if you're" or "if youre" followed by "a" or "an", then AI, language model, assistant or LLM, then reading, processing, parsing, summarising or summarizing; and "dear" followed by AI, assistant, language model or chatbot. It matches wording, not meaning: it does not read who wrote the text, so it fires on the operator's or user's own words in the same form ("Note to the assistant: keep answers short"), and it misses a directive to an AI worded any other way. Whether the text is a third party's attempt to redirect the AI is judged in Layer 2. Deterministic OPA/Rego leaf so this indirect/direct prompt-injection pattern blocks on the /v1/check hot path (previously YAML/TrustLint only, retired from /v1/check). Pattern ported from the universal YAML rule named below; that rule has since gained alternatives this leaf does not carry, so the two patterns no longer match.
- Condition type
- Not stated in the rule file.
- Status in the file
- approved