AI Prompt Injection & Goal Hijack

Detects direct prompt-injection / goal-hijack attempts in AI/LLM input: imperative phrases that try to override higher-priority (system) instructions, change the model's role or goal, or bypass approval guardrails (OWASP LLM01). Phrase detection is corroborated by AI-context markers.

Type
regex
Confidence
medium
Confidence justification
Medium: overt injection phrases are a strong signal but appear verbatim in security-training material and QA/test content (the named FP traps). Confidence is raised only with AI-context corroboration and template/sample exclusion; paraphrased or multi-turn injection will evade this seed and is covered by the hybrid detection approach.
Jurisdictions
global
Regulations
Criminal Code Act 1995 (Cth), Criminal Code Act 1899 (Qld), Regulation (EU) 2024/1689 (AI Act)
Frameworks
ISO 27001, OWASP LLM Top 10 2025, NIST AI RMF GenAI Profile
Data categories
emerging, security
Risk rating
7
Platform compatibility
Purview: Compatible, GCP DLP: Compatible, Macie: Compatible, Zscaler: Compatible, Palo Alto: Degraded, Netskope: Unsupported

Pattern

(?i)\b(?:ignore\s+(?:all\s+)?(?:previous|prior|above)\s+instructions|disregard\s+(?:the\s+)?(?:system\s+)?(?:prompt|instructions)|forget\s+(?:everything|your\s+instructions)|you\s+are\s+now|new\s+instructions:|override\s+(?:your\s+)?(?:rules|guidelines))\b

Corroborative evidence keywords

instructions, system prompt, override, role, [object Object], artificial intelligence, [object Object], large language model, Copilot, chatbot, assistant, agent, prompt, tool call, completion, model

Proximity: 300 characters

Should match

Should not match

Known false positives

References

Collections