<?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>Agentic AI | The .NET Blog</title><link>https://thedotnetblog.com/tags/agentic-ai/</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>Thu, 04 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://thedotnetblog.com/tags/agentic-ai/index.xml" rel="self" type="application/rss+xml"/><item><title>MAESTRO, Defense-in-Depth, and Why SQL Server Is Now a Security Boundary for AI</title><link>https://thedotnetblog.com/news/emiliano-montesdeoca/sql-server-maestro-agentic-ai-security-defense-in-depth/</link><pubDate>Thu, 04 Jun 2026 00:00:00 +0000</pubDate><author>Emiliano Montesdeoca</author><guid>https://thedotnetblog.com/news/emiliano-montesdeoca/sql-server-maestro-agentic-ai-security-defense-in-depth/</guid><description>Agentic AI introduces threats traditional STRIDE models weren't designed for. Here's how Microsoft SQL maps to the MAESTRO framework to provide a governed execution boundary.</description><content:encoded>&lt;p&gt;Traditional threat modeling frameworks like STRIDE were built around predictable applications with fixed execution paths and relatively static trust boundaries. AI agents operate in a fundamentally different way: they combine user input, retrieved data, tools, and external system interactions to make decisions dynamically at runtime.&lt;/p&gt;
&lt;p&gt;The attack surface isn&amp;rsquo;t just different — it&amp;rsquo;s significantly more dynamic and less deterministic. STRIDE wasn&amp;rsquo;t designed for this.&lt;/p&gt;
&lt;h2 id="enter-maestro"&gt;Enter MAESTRO&lt;/h2&gt;
&lt;p&gt;The &lt;a href="https://cloudsecurityalliance.org/blog/2025/02/06/agentic-ai-threat-modeling-framework-maestro"&gt;MAESTRO framework&lt;/a&gt; (from the Cloud Security Alliance) provides layered threat modeling designed specifically for AI and agentic systems. It breaks architecture into seven operational layers:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Foundation Models&lt;/li&gt;
&lt;li&gt;Data Operations&lt;/li&gt;
&lt;li&gt;Agent Frameworks&lt;/li&gt;
&lt;li&gt;Deployment &amp;amp; Infrastructure&lt;/li&gt;
&lt;li&gt;Evaluation &amp;amp; Observability&lt;/li&gt;
&lt;li&gt;Security &amp;amp; Compliance&lt;/li&gt;
&lt;li&gt;Agent Ecosystem&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Each layer has its own attack surface. An attacker can operate at any of them simultaneously — manipulate prompts, poison retrieval data, abuse delegated agent permissions, exploit infrastructure misconfigurations. Defense in depth means applying controls across &lt;em&gt;all&lt;/em&gt; these layers, not just one.&lt;/p&gt;
&lt;h2 id="microsoft-sql-as-a-governed-execution-boundary"&gt;Microsoft SQL as a Governed Execution Boundary&lt;/h2&gt;
&lt;p&gt;This is the interesting architectural claim the article makes: Microsoft SQL is no longer just a database. In an agentic architecture, it becomes a &lt;strong&gt;governed execution boundary&lt;/strong&gt; — the layer where agent actions touch real enterprise data, and where you have the best opportunity to enforce controls.&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s how SQL Server 2025&amp;rsquo;s capabilities map to MAESTRO:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Data Operations layer:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Row-level security and column-level permissions — agents can only see what they&amp;rsquo;re authorized to see&lt;/li&gt;
&lt;li&gt;Dynamic data masking — sensitive columns are masked by default, unmasked only for privileged roles&lt;/li&gt;
&lt;li&gt;&lt;code&gt;AI_GENERATE_EMBEDDINGS&lt;/code&gt; — embeddings generated inside the database boundary, never exfiltrating raw data to external services unnecessarily&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Agent Framework layer:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Stored procedures as tool boundaries — agents call named procedures, not arbitrary SQL, limiting the blast radius&lt;/li&gt;
&lt;li&gt;Parameterized queries prevent injection — the model can&amp;rsquo;t construct arbitrary SQL when it only has access to procedure interfaces&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Evaluation &amp;amp; Observability layer:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Audit logging at the T-SQL level — every data access is logged, not just application-layer calls&lt;/li&gt;
&lt;li&gt;Query Store — tracks and analyzes query patterns, can surface anomalous agent behavior&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="the-defense-in-depth-principle-for-ai"&gt;The Defense-in-Depth Principle for AI&lt;/h2&gt;
&lt;p&gt;The article makes an important point worth repeating: there is no single security control that &amp;ldquo;solves&amp;rdquo; AI risk. AI systems require:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;reducing blast radius (least privilege, fine-grained permissions)&lt;/li&gt;
&lt;li&gt;maintaining observability (you can&amp;rsquo;t govern what you can&amp;rsquo;t see)&lt;/li&gt;
&lt;li&gt;constraining execution pathways (tools over arbitrary queries)&lt;/li&gt;
&lt;li&gt;preserving accountability (audit logs that cover every layer)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Prompt injection, data poisoning, and over-privileged agents are real. They become manageable when each layer has independent controls, so a failure in one layer doesn&amp;rsquo;t compromise the entire system.&lt;/p&gt;
&lt;h2 id="wrapping-up"&gt;Wrapping Up&lt;/h2&gt;
&lt;p&gt;If you&amp;rsquo;re building agentic AI systems that touch SQL Server data, MAESTRO is a useful mental model for identifying where your gaps are. Microsoft SQL&amp;rsquo;s 2025 capabilities map well to the framework — the combination gives you a way to reason about and govern agent actions at the data layer.&lt;/p&gt;
&lt;p&gt;Original post: &lt;a href="https://devblogs.microsoft.com/azure-sql/microsoft-sql-security-across-the-maestro-stack-building-secure-agentic-ai-with-defense-in-depth/"&gt;Microsoft SQL Security Across the MAESTRO Stack: Building Secure Agentic AI with Defense-in-Depth&lt;/a&gt;&lt;/p&gt;</content:encoded></item></channel></rss>