Opus 5.5 guide #9: wrap pasted content in tags to guard against prompt injection

FinanceYF5 · x · 2026-10-29

Emails, documents and copied webpages may contain instructions Claude shouldn't follow. Anthropic recommends wrapping pasted content in clearly marked tags (e.g. externalcontent) and instructing Claude to treat it as external, which helps prevent prompt injection.

Related event: Opus 5.5 Guide: High-Res Images and Tags to Block Prompt Injection(2 posts)→

Original post →

More from coding & agent

coding & agent channel →