title: NEW IMPORTANT INSTRUCTIONS Injection Marker in Document Context
id: ATR-2026-01455
rule_version: 1
status: stable
description: |
  Detects the "*** NEW IMPORTANT INSTRUCTIONS ***" and "**NEW INSTRUCTIONS**" injection marker pattern embedded in attacker-controlled documents. This is the canonical indirect prompt injection framing used in the withsecure research corpus: a benign-looking document (news article, employee notice, email) contains an injected section that uses a visually-authoritative marker to redirect the LLM's behavior. The marker signals context hijacking even before the specific payload (XSS tag, markdown exfil URL, or sysprompt extraction request) is delivered. Detecting the marker itself provides defense-in-depth coverage regardless of the subsequent payload variant. Distinct from general instruction-override rules: this targets the specific typographic marker pattern used to masquerade as a legitimate system notice.
author: ATR Community
date: 2026/06/12
schema_version: '0.1'
detection_tier: pattern
maturity: stable
severity: high
references:
  owasp_llm:
    - LLM01:2025
  owasp_agentic:
    - ASI01:2026
  mitre_atlas:
    - AML.T0051 - LLM Prompt Injection
  external:
    - https://www.withsecure.com/en/expertise/research-and-articles/llm-prompt-injection
compliance:
  owasp_llm:
    - id: LLM01:2025
      context: The NEW IMPORTANT INSTRUCTIONS marker is a canonical indirect prompt injection framing used to hijack LLM behavior when processing external documents.
      strength: primary
  owasp_agentic:
    - id: ASI01:2026
      context: Document-embedded injection markers represent agent goal hijacking via untrusted data sources.
      strength: primary
  eu_ai_act:
    - article: '15'
      context: Article 15 (robustness and cybersecurity) requires detection of injection markers in externally processed content.
      strength: primary
    - article: '10'
      context: Article 10 (data governance) requires control over external data that agents process.
      strength: secondary
  nist_ai_rmf:
    - subcategory: MS.2.7
      context: NIST AI RMF MEASURE 2.7 (security and resilience) is supported by detecting injection framing markers.
      strength: primary
  iso_42001:
    - clause: '8.1'
      context: ISO/IEC 42001 Clause 8.1 (operational planning and control) is operationalised by detecting document-embedded injection markers.
      strength: primary
    - clause: '6.2'
      context: ISO/IEC 42001 Clause 6.2 calls for risk treatment of indirect injection framing patterns.
      strength: secondary
tags:
  category: context-exfiltration
  subcategory: injection-framing
  scan_target: mcp
  confidence: high
agent_source:
  type: llm_io
  framework:
    - any
  provider:
    - any
detection:
  condition: any
  false_positives:
    - Legitimate system notices that use similar typographic framing (rare in practice)
    - Security documentation quoting this injection marker pattern as an example
  conditions:
    - field: content
      operator: regex
      value: (?i)\*{2,3}\s*NEW\s+IMPORTANT\s+INSTRUCTIONS\s*\*{2,3}
      description: Triple-asterisk NEW IMPORTANT INSTRUCTIONS marker (canonical indirect-PI)
    - field: content
      operator: regex
      value: (?i)\*{2}\s*NEW\s+INSTRUCTIONS\s*\*{2}
      description: Markdown-bold NEW INSTRUCTIONS injection marker
    - field: content
      operator: regex
      value: (?i)(sorry[,\s]+I\s+made\s+a\s+mistake|my\s+(previous|prior|earlier)\s+(instructions?|mistake)).{0,200}(instead|now|instead\s+of|your\s+new|new\s+task)
      description: Social-engineering apology framing for instruction override (indirect-PI variant)
    - field: content
      operator: regex
      value: (?i)(please[,\s]+(it'?s\s+important|this\s+is\s+important|i\s+will\s+get).{0,60}(punish|fired|trouble|harm)|it'?s\s+(crucial|critical|essential)\s+you\s+(do|include|output)\s+this)
      description: Urgency/punishment framing to pressure LLM into compliance with injection
response:
  actions:
    - block_input
    - alert
    - snapshot
  auto_response_threshold: high
  message_template: |
    [ATR-2026-01455] HIGH: Document injection marker detected. Input contains the "NEW IMPORTANT INSTRUCTIONS" framing pattern or social-engineering urgency text used for indirect prompt injection. Request blocked.
