schema_version: 1
rules_version: "2026-01-01"
rules:
- rule_id: text.prompt_instruction_override
reason_code: monitor
severity: medium
scope: text
action: monitor
pattern: '(?]{0,512}\bon[a-z]{2,32}\s*=|(?:javascript|vbscript|data\s*:\s*text/html)\s*:)'
positive: ["", "
", "javascript:alert(1)"]
negative: ["Use the word script in documentation", "https://example.org/javascript-guide"]