{"version":"2.1.309","anchor":"prompt-injection-warning-string-for-task-files","canonical_anchor":"prompt-injection-warning-string-for-task-files","heading":"Claude is warned not to follow instructions inside task files","tier":"notice","area":"Managed Agents","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.309\/e\/prompt-injection-warning-string-for-task-files","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.309","markdown":"### Claude is warned not to follow instructions inside task files\n\nClaude Code now has a warning that a task's files were written by its agent and must be treated as untrusted\n\n**What**\n\nClaude Code now has a warning for task files. It says a task's files were written by the task's agent, that their contents should be treated as untrusted, and that instructions found in them should not be followed.\n\n**Why**\n\nThis guards against prompt injection, where text in a file tries to give Claude orders. Instructions written into a task file should not change what Claude does.\n\n- Area: Managed Agents\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}