<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Prompt Injection | The .NET Blog</title><link>https://thedotnetblog.com/tags/prompt-injection/</link><description>Articles, tutorials and insights from the .NET community.</description><generator>Hugo</generator><language>en</language><managingEditor>@thedotnetblog (The .NET Blog)</managingEditor><webMaster>@thedotnetblog</webMaster><lastBuildDate>Wed, 10 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://thedotnetblog.com/tags/prompt-injection/index.xml" rel="self" type="application/rss+xml"/><item><title>FIDES Is the Kind of Deterministic Agent Security Story I Want to See More Of</title><link>https://thedotnetblog.com/news/emiliano-montesdeoca/fides-prompt-injection-deterministic-agent-security/</link><pubDate>Wed, 10 Jun 2026 00:00:00 +0000</pubDate><author>Emiliano Montesdeoca</author><guid>https://thedotnetblog.com/news/emiliano-montesdeoca/fides-prompt-injection-deterministic-agent-security/</guid><description>The new FIDES capabilities in Agent Framework matter because they move prompt injection defense away from heuristics and toward enforceable policy based on labeled content and middleware checks.</description><content:encoded>&lt;p&gt;Prompt injection defenses often feel like they live on shaky ground.&lt;/p&gt;
&lt;p&gt;You add a stronger system prompt. You add a filter. You add some allowlists. You hope the next weird input does not break the assumptions.&lt;/p&gt;
&lt;p&gt;That is why &lt;strong&gt;FIDES&lt;/strong&gt; is interesting.&lt;/p&gt;
&lt;p&gt;The strong part of the story is that it moves security toward something more deterministic:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;labels on content&lt;/li&gt;
&lt;li&gt;propagation through the workflow&lt;/li&gt;
&lt;li&gt;middleware enforcement before privileged tools run&lt;/li&gt;
&lt;li&gt;clear policy boundaries around what untrusted context can influence&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="the-source-article-is-blunt-in-the-right-way"&gt;The source article is blunt in the right way&lt;/h2&gt;
&lt;p&gt;It opens by saying prompt injection is “&lt;strong&gt;the #1 risk on the OWASP LLM Top 10&lt;/strong&gt;.”&lt;/p&gt;
&lt;p&gt;Good.&lt;/p&gt;
&lt;p&gt;I actually like that kind of blunt framing here, because too many teams still treat agent security as if it were a future concern instead of a present runtime design problem.&lt;/p&gt;
&lt;p&gt;And the article follows that with a strong practical contrast: most current defenses are heuristic, while FIDES is trying to move the system toward policy and enforcement.&lt;/p&gt;
&lt;p&gt;That is exactly the right shift.&lt;/p&gt;
&lt;h2 id="what-makes-this-more-compelling-than-another-security-whitepaper"&gt;What makes this more compelling than another security whitepaper&lt;/h2&gt;
&lt;p&gt;A lot of AI security writing stays abstract.&lt;/p&gt;
&lt;p&gt;This post does something better. It walks through a very concrete example: a GitHub issue triage agent, a malicious issue body, a privileged file read, and an attempted public comment leak.&lt;/p&gt;
&lt;p&gt;That is useful because it grounds the whole discussion in an actual workflow.&lt;/p&gt;
&lt;p&gt;And once you see that scenario, the value of deterministic controls becomes much easier to understand.&lt;/p&gt;
&lt;h2 id="the-key-idea-is-not-make-the-model-smarter"&gt;The key idea is not “make the model smarter”&lt;/h2&gt;
&lt;p&gt;The most important thing here is that FIDES is not asking the model to magically become better at spotting attacks.&lt;/p&gt;
&lt;p&gt;It is changing the runtime contract.&lt;/p&gt;
&lt;p&gt;That means:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;content gets labeled&lt;/li&gt;
&lt;li&gt;labels propagate&lt;/li&gt;
&lt;li&gt;tools declare what they accept&lt;/li&gt;
&lt;li&gt;middleware blocks unsafe paths before execution&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;That is a much healthier approach.&lt;/p&gt;
&lt;p&gt;Because once the agent can call tools with real consequences, security cannot depend purely on whether the model had a good day.&lt;/p&gt;
&lt;h2 id="my-take"&gt;My take&lt;/h2&gt;
&lt;p&gt;This is exactly the kind of agent security direction I want to see more often.&lt;/p&gt;
&lt;p&gt;Not “trust the model to ignore bad instructions,” but “build the policy fence into the runtime.”&lt;/p&gt;
&lt;p&gt;That is a much healthier model.&lt;/p&gt;
&lt;p&gt;And if agent frameworks want to be taken seriously for production use, more of them will need stories like this.&lt;/p&gt;
&lt;p&gt;Original post: &lt;a href="https://devblogs.microsoft.com/agent-framework/fides/"&gt;Stop prompt injection from hijacking your agent, new security capabilities now released within Agent Framework&lt;/a&gt;&lt;/p&gt;</content:encoded></item></channel></rss>