<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Defeating Prompt Injections by Design · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/2503.18813/</link><description>Collected HN comments and submissions linking this paper.</description><language>en</language><lastBuildDate>Mon, 02 Nov 2026 11:16:22 GMT</lastBuildDate><atom:link href="https://hackerpaper.kaipfister.de/p/2503.18813/feed.xml" rel="self" type="application/rss+xml" /><item><title>Defeating Prompt Injections by Design — mentioned by msdz</title><link>https://news.ycombinator.com/item?id=49919014</link><guid isPermaLink="false">urn:hackerpapers:mention:2503.18813:49919014</guid><pubDate>Thu, 01 Oct 2026 08:03:31 GMT</pubDate><description>&lt;p&gt;&amp;gt;&amp;gt; Perhaps the answer is to have another agent who&amp;#x27;s goal is not to complete the given task, but to spot cheating or malicious behavior. &amp;gt; That does seem a little like solving the problems in AI by using more of it Yes, and IIRC Google used this as part of a technique against prompt injection already [0], back when models were way more susceptible to it. [0] Cf. CaMeL: https://arxiv.org/abs/2503.18813&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2503.18813/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CR</category></item><item><title>Defeating Prompt Injections by Design — mentioned by troelsSteegin</title><link>https://news.ycombinator.com/item?id=49882004</link><guid isPermaLink="false">urn:hackerpapers:mention:2503.18813:49882004</guid><pubDate>Mon, 28 Sep 2026 18:08:52 GMT</pubDate><description>&lt;p&gt;CaMeL, from &amp;quot;Defeating Prompt Injections by Design&amp;quot;, https://arxiv.org/abs/2503.18813 See also &amp;quot;CaMeLs Can Use Computers Too: System-level Security for Computer Use Agents&amp;quot;, https://arxiv.org/abs/2601.09923v1&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2503.18813/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CR</category></item><item><title>Defeating Prompt Injections by Design — mentioned by simonw</title><link>https://news.ycombinator.com/item?id=49619026</link><guid isPermaLink="false">urn:hackerpapers:mention:2503.18813:49619026</guid><pubDate>Wed, 09 Sep 2026 00:16:10 GMT</pubDate><description>&lt;p&gt;Meta AI&amp;#x27;s David Singleton has a thread about their security prompt injection defenses here: https://twitter.com/dps/status/2097404102468899131 &amp;gt; One threat we’re particularly focused on is prompt injection, and we handle it in layers. The model is trained to recognize and resist it. The harness marks anything coming from an untrusted source. Deterministic code checks the result. And an ensemble of classifiers runs where the agent can&amp;#x27;t reach them. That &amp;quot;deterministic code&amp;quot; bit makes me wonder if they&amp;#x27;ve implemented ideas from the DeepMind CaMeL paper: https://arxiv.org/abs/2503.18813 - my…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2503.18813/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CR</category></item><item><title>Defeating Prompt Injections by Design — mentioned by marinoseliades</title><link>https://news.ycombinator.com/item?id=49116626</link><guid isPermaLink="false">urn:hackerpapers:mention:2503.18813:49116626</guid><pubDate>Thu, 30 Jul 2026 22:21:55 GMT</pubDate><description>&lt;p&gt;We ended up splitting permissions per-tool for data and per-person for connections, for basically this reason. Every tool gets its own db role that can only see its own schema, and integration credentials live in a broker the tool&amp;#x27;s code never touches. So one tool can&amp;#x27;t read another tool&amp;#x27;s data, and nothing the model writes can leak a credential. The ordering thing is harder and currently we don&amp;#x27;t do it. Per-tool permissions at best ban a combination, they can&amp;#x27;t say &amp;quot;internet then Slack is ok, the reverse isn&amp;#x27;t.&amp;quot; DeepMind&amp;#x27;s CaMeL paper (arxiv.org/abs/2503.18813) is the best take I know on…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2503.18813/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CR</category></item><item><title>Defeating Prompt Injections by Design — mentioned by msdz</title><link>https://news.ycombinator.com/item?id=47274505</link><guid isPermaLink="false">urn:hackerpapers:mention:2503.18813:47274505</guid><pubDate>Fri, 06 Mar 2026 13:08:49 GMT</pubDate><description>&lt;p&gt;Interesting article you’ve linked. I’m not sure I agree, but it was a good read and food for thought in any case. Work is still being done on how to bulletproof input “sanitization”. Research like [1] is what I love to discover, because it’s genuinely promising. If you can formally separate out the “decider” from the “parser” unit (in this case, by running two models), together with a small allowlisted set of tool calls, it might just be possible to get around the injection risks. [1] Google DeepMind: Defeating Prompt Injections by Design. https://arxiv.org/abs/2503.18813&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2503.18813/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CR</category></item><item><title>Defeating Prompt Injections by Design — mentioned by msdz</title><link>https://news.ycombinator.com/item?id=47197084</link><guid isPermaLink="false">urn:hackerpapers:mention:2503.18813:47197084</guid><pubDate>Sat, 28 Feb 2026 16:18:31 GMT</pubDate><description>&lt;p&gt;I agree, this is inherently unsafe. The two core security issues for agents, I’d say, are in LLMs not producing a “deterministic” outcome, and prompt injection. Prompt injection is _probably_ solvable if something like [1] ever finds a mainstream implementation and adoption, but agents not being deterministic, as in “do not only what I’ve told you to do, but also how I meant it”, all while assuming perfect context retention, is a waaay bigger issue. If we ever were to have that, software development as a whole is solved outright, too. [1] Google DeepMind: Defeating Prompt Injections by…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2503.18813/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CR</category></item><item><title>Defeating Prompt Injections by Design — mentioned by phunterlau</title><link>https://news.ycombinator.com/item?id=46537997</link><guid isPermaLink="false">urn:hackerpapers:mention:2503.18813:46537997</guid><pubDate>Thu, 08 Jan 2026 06:46:08 GMT</pubDate><description>&lt;p&gt;Great idea to bring the consistency to coding agent with domain specific language (DSL). It reminded me of Google&amp;#x27;s CaMel work https://arxiv.org/abs/2503.18813 which introduces DSL to LLM prompt to prevent prompt injection by design, and the DeepClause work is like a more general approach on code agent. Great work!&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2503.18813/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CR</category></item><item><title>Defeating Prompt Injections by Design — mentioned by dweinus</title><link>https://news.ycombinator.com/item?id=45401569</link><guid isPermaLink="false">urn:hackerpapers:mention:2503.18813:45401569</guid><pubDate>Sun, 28 Sep 2025 03:39:28 GMT</pubDate><description>&lt;p&gt;Nice! Seems very similar to the concept explored by Google (CaMeL) https://arxiv.org/abs/2503.18813&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2503.18813/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CR</category></item><item><title>Defeating Prompt Injections by Design — mentioned by brap</title><link>https://news.ycombinator.com/item?id=45352892</link><guid isPermaLink="false">urn:hackerpapers:mention:2503.18813:45352892</guid><pubDate>Tue, 23 Sep 2025 21:19:33 GMT</pubDate><description>&lt;p&gt;The problem is that once you load a tool’s response into context, there’s no telling what the LLM will do. You can escape it all you want, but maybe it contains the right magic words you haven’t thought of. The solution is to not load it into context at all. I’ve seen a proposal for something like this but I can’t find it (I think from Google?). The idea is (if I remember it correctly) to spawn another dedicated (and isolated) LLM that would be in charge of the specific response. The main LLM would ask it questions and the answers would be returned as variables that it may then pass around…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2503.18813/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CR</category></item><item><title>Defeating Prompt Injections by Design — mentioned by amonks</title><link>https://news.ycombinator.com/item?id=45133235</link><guid isPermaLink="false">urn:hackerpapers:mention:2503.18813:45133235</guid><pubDate>Thu, 04 Sep 2025 23:03:36 GMT</pubDate><description>&lt;p&gt;That’s a pretty scary answer, to be honest. Regardless, here’s the CaMeL paper. Defeating Prompt Injections by Design (2025): https://arxiv.org/abs/2503.18813 Here’s a paper offering a survey of different mitigation techniques, including CaMeL. Design Patterns for Securing LLM Agents against Prompt Injections (2025): https://arxiv.org/abs/2506.08837 And here’s a high-level overview of the state of prompt injection from &amp;#x27;simonw (who coined the term), which includes links to summaries of both papers above: https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2503.18813/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CR</category></item><item><title>Defeating Prompt Injections by Design — mentioned by simonw</title><link>https://news.ycombinator.com/item?id=44831520</link><guid isPermaLink="false">urn:hackerpapers:mention:2503.18813:44831520</guid><pubDate>Thu, 07 Aug 2025 23:09:35 GMT</pubDate><description>&lt;p&gt;Yup, I have a different definition of expert. I&amp;#x27;m not an expert in training models - I&amp;#x27;m an expert in applications of those models, and how to explain those applications to other people. AI engineering, not ML engineering, is one way of framing that. I don&amp;#x27;t write papers (I don&amp;#x27;t have the patience for that), but my work does get cited in papers from time to time. One of my blog posts was the foundation of the work described in the CaMeL paper from DeepMind for example: https://arxiv.org/abs/2503.18813&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2503.18813/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CR</category></item><item><title>Defeating Prompt Injections by Design — mentioned by simonw</title><link>https://news.ycombinator.com/item?id=44591900</link><guid isPermaLink="false">urn:hackerpapers:mention:2503.18813:44591900</guid><pubDate>Thu, 17 Jul 2025 11:03:06 GMT</pubDate><description>&lt;p&gt;It&amp;#x27;s just YOLO. This problem remains almost entirely unsolved. The closest we&amp;#x27;ve got to what I consider a credible solution is the recent CaMeL paper from DeepMind: https://arxiv.org/abs/2503.18813 - I published some notes on that here: https://simonwillison.net/2025/Apr/11/camel/&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2503.18813/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CR</category></item><item><title>Defeating Prompt Injections by Design — mentioned by rexpository</title><link>https://news.ycombinator.com/item?id=44503628</link><guid isPermaLink="false">urn:hackerpapers:mention:2503.18813:44503628</guid><pubDate>Tue, 08 Jul 2025 20:12:19 GMT</pubDate><description>&lt;p&gt;I broadly agree that &amp;quot;MCP-level&amp;quot; patches alone won&amp;#x27;t eliminate prompt-injection risk. Latest research also shows we can make real progress by enforcing security above the MCP layer, exactly as you suggest [1]. DeepMind&amp;#x27;s CaMeL architecture is a good reference model: it surrounds the LLM with a capability-based &amp;quot;sandbox&amp;quot; that (1) tracks the provenance of every value, and (2) blocks any tool call whose arguments originate from untrusted data, unless an explicit policy grants permission. [1] https://arxiv.org/pdf/2503.18813&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2503.18813/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CR</category></item><item><title>Defeating Prompt Injections by Design — mentioned by tough</title><link>https://news.ycombinator.com/item?id=44264886</link><guid isPermaLink="false">urn:hackerpapers:mention:2503.18813:44264886</guid><pubDate>Fri, 13 Jun 2025 01:24:22 GMT</pubDate><description>&lt;p&gt;Google Deepmind published a paper based on this too https://arxiv.org/abs/2503.18813&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2503.18813/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CR</category></item><item><title>Defeating Prompt Injections by Design — mentioned by groby_b</title><link>https://news.ycombinator.com/item?id=43838945</link><guid isPermaLink="false">urn:hackerpapers:mention:2503.18813:43838945</guid><pubDate>Tue, 29 Apr 2025 22:46:14 GMT</pubDate><description>&lt;p&gt;&amp;gt; Is the layoff-based business model really the best use case for AI systems? No, but it plays well in quarterly earnings. So expect a good bit, I&amp;#x27;d say. &amp;gt; The flaws are baked into the training data. Not in terms of attack area. In terms of hallucinations... ish. It&amp;#x27;s more baked into the structure than the training data. There&amp;#x27;s increasing amounts of work to ensure well-curated training data. Still, the whole idea of probabilistic selection of tokens more or less guarantees it&amp;#x27;ll go wrong from time to time. (See e.g. https://arxiv.org/abs/2401.11817) In terms of safety, there&amp;#x27;s some progress.…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2503.18813/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CR</category></item><item><title>Defeating Prompt Injections by Design — HN submission</title><link>https://news.ycombinator.com/item?id=43756613</link><guid isPermaLink="false">urn:hackerpapers:submission:2503.18813:43756613</guid><pubDate>Mon, 21 Apr 2025 21:19:50 GMT</pubDate><description>&lt;p&gt;Defeating Prompt Injections by Design&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;1 point; 0 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/2503.18813/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.CR</category></item><item><title>Defeating Prompt Injections by Design — HN submission</title><link>https://news.ycombinator.com/item?id=43737027</link><guid isPermaLink="false">urn:hackerpapers:submission:2503.18813:43737027</guid><pubDate>Sat, 19 Apr 2025 15:22:54 GMT</pubDate><description>&lt;p&gt;Defeating Prompt Injections by Design&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;2 points; 0 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/2503.18813/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.CR</category></item><item><title>Defeating Prompt Injections by Design — HN submission</title><link>https://news.ycombinator.com/item?id=43733683</link><guid isPermaLink="false">urn:hackerpapers:submission:2503.18813:43733683</guid><pubDate>Sat, 19 Apr 2025 02:20:06 GMT</pubDate><description>&lt;p&gt;CaMeL: Defeating Prompt Injections by Design&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;71 points; 16 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/2503.18813/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.CR</category></item><item><title>Defeating Prompt Injections by Design — mentioned by simonw</title><link>https://news.ycombinator.com/item?id=43690816</link><guid isPermaLink="false">urn:hackerpapers:mention:2503.18813:43690816</guid><pubDate>Tue, 15 Apr 2025 09:50:25 GMT</pubDate><description>&lt;p&gt;I&amp;#x27;ve been following prompt injection for 2.5 years and until last week I hadn&amp;#x27;t seen any convincing mitigations for it - the proposed solutions were almost all optimistic versions of &amp;quot;if we train a good enough model it won&amp;#x27;t get tricked any more&amp;quot;, which doesn&amp;#x27;t work. What changed is the new CaMeL paper from DeepMind, which notably does not rely on AI models to detect attacks: https://arxiv.org/abs/2503.18813 I wrote my own notes on that paper here: https://simonwillison.net/2025/Apr/11/camel/&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2503.18813/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CR</category></item><item><title>Defeating Prompt Injections by Design — HN submission</title><link>https://news.ycombinator.com/item?id=43658893</link><guid isPermaLink="false">urn:hackerpapers:submission:2503.18813:43658893</guid><pubDate>Fri, 11 Apr 2025 21:37:01 GMT</pubDate><description>&lt;p&gt;Defeating Prompt Injections by Design&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;2 points; 0 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/2503.18813/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.CR</category></item><item><title>Defeating Prompt Injections by Design — HN submission</title><link>https://news.ycombinator.com/item?id=43486950</link><guid isPermaLink="false">urn:hackerpapers:submission:2503.18813:43486950</guid><pubDate>Wed, 26 Mar 2025 20:31:55 GMT</pubDate><description>&lt;p&gt;Defeating Prompt Injections by Design&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;1 point; 0 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/2503.18813/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.CR</category></item></channel></rss>
