{
  "id": "161cfcb03e8b",
  "url": "https://simonwillison.net/2025/Jun/13/prompt-injection-design-patterns/",
  "title": "Design Patterns for Securing LLM Agents against Prompt Injections",
  "note": "Prompt injection is very difficult to defend against. ",
  "voice": "jamie",
  "saved": "2025-06-17T04:57:52Z",
  "host": "simonwillison.net",
  "kind": "page",
  "tags": [
    "_brief"
  ],
  "record": "https://links.thingelstad.xyz/links/161cfcb03e8b/",
  "markdown": "https://links.thingelstad.xyz/links/161cfcb03e8b.md",
  "issues": [
    {
      "number": 324,
      "slug": "324",
      "title": "Weekly Thing 324 / Agents, Shortcuts, Joy",
      "date": "2025-06-21T11:00:00Z",
      "section": "Briefly",
      "position": 18,
      "url": "https://weekly.thingelstad.com/archive/324/",
      "page": "https://links.thingelstad.xyz/issues/324/"
    }
  ],
  "connections": {
    "same_host": {
      "count": 61,
      "page": "https://links.thingelstad.xyz/hosts/simonwillison.net/",
      "nearest": [
        {
          "id": "8ff0eb636351",
          "title": "Highlights from the Claude 4 system prompt",
          "url": "https://simonwillison.net/2025/May/25/claude-4-system-prompt/",
          "record": "https://links.thingelstad.xyz/links/8ff0eb636351/"
        },
        {
          "id": "17c8a3bb1985",
          "title": "Large Language Models can run tools in your terminal with LLM 0.26",
          "url": "https://simonwillison.net/2025/May/27/llm-tools/",
          "record": "https://links.thingelstad.xyz/links/17c8a3bb1985/"
        },
        {
          "id": "93b2d71dfa81",
          "title": "AI-assisted development needs automated tests",
          "url": "https://simonwillison.net/2025/May/28/automated-tests/",
          "record": "https://links.thingelstad.xyz/links/93b2d71dfa81/"
        },
        {
          "id": "8b405227b581",
          "title": "Coding agents require skilled operators",
          "url": "https://simonwillison.net/2025/Jun/18/coding-agents/#atom-everything",
          "record": "https://links.thingelstad.xyz/links/8b405227b581/"
        },
        {
          "id": "cc95c57c26c7",
          "title": "Agentic Coding: The Future of Software Development with Agents",
          "url": "https://simonwillison.net/2025/Jun/29/agentic-coding/#atom-everything",
          "record": "https://links.thingelstad.xyz/links/cc95c57c26c7/"
        }
      ]
    },
    "same_week": {
      "count": 30,
      "nearest": [
        {
          "id": "f7362a9ad355",
          "title": "Why retailers like Amazon and Walmart are looking into stablecoins",
          "url": "https://www.axios.com/2025/06/13/amazon-walmart-stablecoin",
          "record": "https://links.thingelstad.xyz/links/f7362a9ad355/"
        },
        {
          "id": "cba184be1de9",
          "title": "The stark difference in smartphone usage among eight-year-olds in less-advantaged and wealthier backgrounds | Irish Independent",
          "url": "https://archive.ph/2025.06.16-055422/https://www.independent.ie/irish-news/revealed-the-stark-difference-in-smartphone-usage-among-eight-year-olds-in-less-advantaged-and-wealthier-backgrounds/a319792577.html",
          "record": "https://links.thingelstad.xyz/links/cba184be1de9/"
        },
        {
          "id": "163f9ccdfb0f",
          "title": "I am disappointed in the AI discourse",
          "url": "https://steveklabnik.com/writing/i-am-disappointed-in-the-ai-discourse/",
          "record": "https://links.thingelstad.xyz/links/163f9ccdfb0f/"
        },
        {
          "id": "28b5963bf064",
          "title": "China’s AI Companies Dodge U.S. Chip Curbs by Flying Suitcases of Hard Drives Abroad - WSJ",
          "url": "https://www.wsj.com/tech/china-ai-chip-curb-suitcases-7c47dab1",
          "record": "https://links.thingelstad.xyz/links/28b5963bf064/"
        },
        {
          "id": "a6e53235b2f7",
          "title": "kill the metrics in your head | The Roof is on Phire",
          "url": "https://phirephoenix.com/blog/2025-05-30/metrics",
          "record": "https://links.thingelstad.xyz/links/a6e53235b2f7/"
        }
      ]
    },
    "mentions": [],
    "mentioned_by": [],
    "saved_twice": []
  },
  "elsewhere": {
    "wayback": "https://web.archive.org/web/*/https://simonwillison.net/2025/Jun/13/prompt-injection-design-patterns/"
  }
}
