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)→
More from coding & agent
- Evals: The Most Underrated Skill in AI Engineering, From Error Analysis to Versioned Golden Datasets — sudoraohacker · 2026-10-29
- Deep dive: editing videos with Claude Code and Opus 5.5, from prompts to a 31K-view short — aakashgupta · 2026-10-29
- This creator spent 40 hours turning Claude into a video editor — and published the full free harness — aakashgupta · 2026-10-29
- Reading PRs through behavior tests: green lines mean additions, red lines mean changes — samgoodwin89 · 2026-10-29
- spawn: 10-person company spends 30x payroll on AI tokens, ships like Anthropic — Scobleizer · 2026-10-29
- SQL hidden in a string literal bypasses LLM-to-SQL gates; schemagate 1.15.1 fixes it — Temporary_Papaya1058 · 2026-10-29