Why it matters

Spotlighting is simple defense. Understanding shapes basic mitigation.

Advertisement

The architecture

Wrap untrusted content in delimiters.

Instruct LLM to treat as data.

Optional: encode (base64, chars).

Spotlighting techniquesWrap contentin delimitersEncode optionallybase64 / charsInstruct LLMtreat as dataMicrosoft Spotlighting paper; helps but not bulletproof
Spotlighting.
Advertisement

How it works end to end

Simple wrapping: XML tags.

Data marking: prepend line prefixes.

Encoding: base64 forces awareness.