Agent Sprawl in Microsoft 365: Owners, Blueprints and Defender Blocking Before 23 December

Agent Sprawl in Microsoft 365: Owners, Blueprints and Defender Blocking Before 23 December

TL;DR

On 23 December the original Copilot Studio onboarding for Microsoft Defender’s real-time protection retires, and the blocking settings you made there don’t migrate. A Copilot Studio agent without a re-created, enabled blocking rule then runs in audit mode: Defender records the risky tool call, and the call still runs.

Re-create the rules this week. Then use the deadline to clean up: find every agent in the Agent 365 registry, give it a technical owner where applicable, and make sure each Agent ID and blueprint has a sponsor. Issue identities from blueprints, grant access through access packages, separate who builds agents from who uses them, and give retirement a path. A blueprint is a template and a kill switch, not a permission ceiling.

In a hurry? Jump to the checklist for this week, the clean-up sequence or what still needs extra work, then work through the steps.

Read more
Who Decides Which MCP Tools an Agent Can Call? Registry, Gateway, Identity and Network After Ignite

Who Decides Which MCP Tools an Agent Can Call? Registry, Gateway, Identity and Network After Ignite

Update (2026-11-30): GitHub MCP Server can now change security alerts

GitHub MCP Server 2.3.0, released on 24 November, added three write tools: update_dependabot_alert in dependabot, update_code_scanning_alert in code_security and update_secret_scanning_alert in secret_protection. With the security_events scope and the right repository permissions, they can dismiss or reopen Dependabot and code scanning alerts, resolve or reopen secret scanning alerts, and reassign alerts. Assigning a Dependabot or code scanning alert to Copilot asks it to start remediation, not just take ownership.

None of those toolsets is on by default, and the cloud agent's built-in server uses a read-only token for the current repository unless a repository admin customises it. The GitHub MCP Server configuration guide confirms that no default toolsets include these security groups. Because managed allow and deny lists don't restrict the built-in server, control these tools through toolset choices, read-only mode, token permissions and delegated alert dismissal, and alert on dismissals made by agents. Dismissing a security alert is an approval by another name.

TL;DR

After Ignite, five layers have a say in an agent’s MCP tool call: the registry, the gateway, Entra identity, the network and the agent runtime. Most of the new controls are preview, and several of them overlap.

Don’t switch them all on and hope. Give each decision one owner and one enforcement point: the registry records which servers exist, the gateway decides which tools each agent can reach, identity decides whether this agent gets a token right now, the network catches traffic that skips the gateway, and the runtime checks the arguments before anything runs.

In a hurry? Jump to the five layers, the ownership split or the default for a new agent, then come back for the gaps.

Ask a team which tools their agent can call and you’ll usually get a list from the developer’s code. Ask who decided, and the room goes quiet.

Read more
Your Agent SDK Carried the Payload: Hardening Agent Build Pipelines After the Mastra npm Compromise

Your Agent SDK Carried the Payload: Hardening Agent Build Pipelines After the Mastra npm Compromise

Update (2026-11-30): Provenance is a signal, not assurance

A Databricks study published on 23 November 2026 examined about 5,400 confirmed malicious npm packages published between December 2025 and October 2026. Compromised legitimate packages were 7% of them but accounted for more than 99% of recorded downloads. Of the malicious packages published through trusted publishing, 85% were compromised legitimate packages, including the August worm's biggest victims, which were republished from hijacked CI.

Trusted publishing, and the provenance npm can attach to it, shows which pipeline published a package, not that the pipeline was clean, so a no-downgrade check won't catch a compromised pipeline. Keep the lockfile, cooldown and install-script controls even for packages with provenance. In the study, 78% of compromised versions added or changed a lifecycle script.

TL;DR

In June, an attacker Microsoft attributes with high confidence to Sapphire Sleet took over a maintainer’s npm account and republished more than 140 packages of Mastra, a TypeScript framework for building agents, each with one new dependency: a dayjs lookalike whose postinstall script dropped a remote access implant. Any laptop or build agent whose install pulled in one of those versions could be hit, whether or not its code ever imported Mastra.

Install from a lockfile, make new releases wait, turn off unreviewed install scripts and reject provenance downgrades where you can. Keep deployment credentials and unrestricted network access out of the build job.

In a hurry? Jump to what happened, the response runbook if you think an affected version reached you, or the five controls, then come back for the why.

Agent teams pull fast-moving frameworks onto machines that hold model keys, deployment identities and package feed credentials. That makes a routine install worth treating as a security boundary.

Read more
AI Agent Containment on Azure: Stop Buttons, Identity and Network Controls

AI Agent Containment on Azure: Stop Buttons, Identity and Network Controls

Update (2026-11-30): Hosted-agent egress governance reaches six regions

As of the Learn page's 23 November 2026 update, Azure Policy governance of hosted-agent egress is in preview in six regions: Brazil South, Canada Central, Korea Central, Norway East, Southeast Asia and Spain Central. Australia East is not one of them.

The regional list applies only to the Azure Policy governance feature. Runtime egress controls are generally available, except Transform rules. Governance covers hosted agents only. Microsoft says to allow 30 to 60 minutes for data-plane assignment changes to propagate, and no assignment stops a session that is already running.

TL;DR

A model can pass standard evaluations and still carry a backdoor. Microsoft showed a fine-tuning set poisoned at about 1% hijacking a coding agent in roughly 78% of trials on the harnesses it was trained with, and a sleeper agent planted by editing fewer than ten neurons. You can’t prompt your way out of that.

ASD’s new guidance on AI testing environments says it plainly: prompts and model safeguards aren’t containment. Build it into the architecture instead: a model intake gate, one identity per agent, default-deny egress, logs the agent can’t reach, and stop buttons at the inference, identity and infrastructure layers that you’ve actually tested.

In a hurry? Jump to the three stop buttons, the Azure mapping or the containment checklist, then come back for the why.

Read more
Copilot Studio Bring Your Own Model: Microsoft Foundry Governance and Security

Copilot Studio Bring Your Own Model: Microsoft Foundry Governance and Security

TL;DR

Copilot Studio can use a model you host in Microsoft Foundry in a prompt through bring your own model (BYOM) on the standard harness. That doesn’t replace the agent’s primary orchestration model, and the Microsoft Copilot harness doesn’t support the prompt tool.

BYOM gives your platform team control over the deployment and its applicable guardrails, quota, diagnostics and Azure costs. Agent orchestration, identity and sharing remain with Copilot Studio and the wider Microsoft governance tools.

The documented connector uses an API key. A dedicated Foundry resource contains the risk of a resource-wide key better than a project in a shared resource.

In a hurry? Jump to the resource decision or the nine go-live checks, then come back for the detail.

Read more
AI Agents Exploit Leaked Keys in Minutes: Go Keyless on Azure

AI Agents Exploit Leaked Keys in Minutes: Go Keyless on Azure

Update (2026-11-30): ARTEX abuse now spans more actor groups

Microsoft Threat Intelligence's 25 November 2026 ARTEX report names Onyx Sleet, Pearl Sleet, Crystal Typhoon and Salt Typhoon alongside Storm-0940 and Storm-3358, covering both state-sponsored and financially motivated actors. It lists the Microsoft Defender Antivirus detection Behavior:Win64/ArtexAI and two ARTEX user agents, artex-enrich/* and norma/*, but warns that attackers often change user agents. Machine-speed bursts of varied activity are the more reliable signal.

The report recommends disabling local authentication so Foundry Tools accept only Microsoft Entra ID, the keyless step this post recommends. The original developer removed ARTEX's open-source code in October, although forks are still being published; in November, a commercial ARTEX Pro service also went on sale.

TL;DR

A recent threat intelligence report describes an AI agent moving from searching GitHub for application secrets to exfiltrating Azure Key Vault data in five minutes. That’s one observed case, not a typical benchmark.

Use managed identities and federation instead of stored credentials, then disable key authentication once callers have migrated. Tokens can still be stolen, so least privilege, monitoring and incident response remain essential.

I spend a lot of my time in the layer between AI agents and the things they call. A model key in an app setting can look like a harmless shortcut during a proof of concept, but the gap between a leak and the response is getting harder to defend.

In a hurry? Jump to the keyless playbook or the nine checks before release, then come back for the threat and the tradeoffs. The product guidance below was checked on 15 November 2026.

What the threat intelligence report found

On 5 November, Microsoft Threat Intelligence reported that threat actors were using agentic tooling to search public GitHub repositories for exposed credentials, including application secrets and AI inference API keys. The agents analysed the results and carried out follow-on actions with little human intervention.

A stolen model key can fund someone else’s inference, while an exposed application secret can open whatever its identity is permitted to reach.

Read more
MCP Goes Stateless: No Handshake, No Sticky Sessions, Better AI Gateways

MCP Goes Stateless: No Handshake, No Sticky Sessions, Better AI Gateways

Update (2026-11-23): Azure AI Gateway is now generally available

Azure AI Gateway became generally available on 17 November 2026 as its own resource type, Microsoft.ApiManagement/aigateways, in 17 regions including Australia East but not New Zealand North. Paid billing starts on 1 January 2027, and resources created in the old AI Gateway tier of API Management keep working only until 15 January 2027.

Model Router, Private Link, VNet integration, Agent Hooks and tool threat protection are still preview, and API Management workspaces still don't support MCP servers. See the GA announcement and migration guidance for the details.

TL;DR

MCP 2026-07-28 removes the initialize handshake and protocol-level sessions, so each request can reach any server replica. For Azure gateways, the useful part is routing and rate limiting per tool from validated headers, without parsing JSON bodies.

Keep application state explicit, protect retry state and check streaming and tracing before removing affinity. Azure’s dedicated AI Gateway reached GA on 17 November 2026; if you piloted the old preview tier, re-create it before 15 January 2027.

Running a remote MCP server behind a load balancer used to come with an awkward question: which instance remembers this client? If the server issued an Mcp-Session-Id and kept its session in memory, you needed affinity, shared storage or a deployment small enough to avoid the problem.

The 28 July specification release changes that model. Every request describes itself. A tool call no longer needs a handshake before it can do useful work, and the next call doesn’t have to find the same process.

I spend a lot of my time in the layer between agents and the things they call. From there, the interesting question isn’t just what changed in MCP. It’s what we can simplify in the gateway, what we can finally do per tool, and which responsibilities haven’t gone away.

In a hurry? Jump to the gateway checklist or the eight checks before go-live.

Updated 23 November 2026: the SDK sign-in guidance and AI Gateway migration notes below reflect the GA service and documentation checked on that date.

Read more
AGENTS.md vs Copilot Instructions vs Cursor Rules vs CLAUDE.md: Which AI Context File to Use, and When (2026)

AGENTS.md vs Copilot Instructions vs Cursor Rules vs CLAUDE.md: Which AI Context File to Use, and When (2026)

Update (2026-11-23): Enterprise policy can make skills plugin-only

Since 16 November 2026, GitHub Enterprise Cloud admins can set strictPluginOnlyCustomization, which blocks skills, custom agents, hooks, MCP servers and executable extensions added directly by users or repositories. Only eligible plugins and managed settings load for VS Code Copilot sessions that use Agent Host.

In those enterprises, a repository SKILL.md won't load unless it ships in an approved plugin. See the GitHub changelog and managed-settings reference.

TL;DR

  • AGENTS.md is the portable format for project instructions. Most major coding agents read it; Gemini CLI needs a setting.
  • Copilot also has its own instructions, rules for matching paths, custom agents and skills. .github/copilot-instructions.md reaches the most Copilot surfaces.
  • Within an AGENTS.md hierarchy, the nearest applicable file specialises its parents. Your explicit chat instructions take priority for the task.
  • Context files change agent behaviour. The research does not show that they reliably improve correctness, speed or cost.

Keep one lean source of verified project rules: AGENTS.md when several tools share the repo, or copilot-instructions.md for a Copilot team. Treat it as an operating guide, not a performance switch.

In a hurry? Jump to the quick comparison, then come back for precedence, the research and the decision guide.

If you use an AI coding agent every day, whether that’s GitHub Copilot, Cursor, Claude Code, Codex or Gemini CLI, you’ve felt this particular flavour of tedium: you keep typing the same rules into every prompt.

“Use Vitest, not Jest. Don’t touch /legacy. Named exports only. Return { data, error } from every endpoint.”

The agent obeys for one session, you close your editor, and tomorrow you type it all again. That isn’t a prompting problem. It’s a missing context layer: the middle tier between what you ask in the moment (the prompt) and the whole system you build around the model (the harness).

That layer has a name now. Several names, actually, and that’s exactly the problem: AGENTS.md, copilot-instructions.md, .cursorrules, CLAUDE.md, GEMINI.md, Skills, custom agents. They overlap, they compete, and they keep moving. In 2026 alone, Claude Code started reading AGENTS.md, Windsurf became Devin Desktop, and Copilot’s coding agent became the cloud agent. Almost nobody explains how they fit together or which one you should actually use.

This post untangles all of it: what each file is, how they interact, what the research says about whether they even work, and, most importantly, which file to reach for, and when.

TL;DR diagram: which file should you use?

Here’s the whole decision on one page. The rest of the post explains every box in it.

Decision tree for choosing an AI context file. With one tool: GitHub Copilot uses .github/copilot-instructions.md, Claude Code uses CLAUDE.md, Gemini CLI uses GEMINI.md, and Codex, Cursor, Devin, Jules or Zed use AGENTS.md. With several tools: one lean AGENTS.md as the shared source of truth, then bridges for Gemini CLI, Copilot Chat outside VS Code and instructions just for Claude. Nested files, rules for matching paths and SKILL.md files come only when you need them.

For example, Copilot in VS Code and Claude Code can share one AGENTS.md when there’s no CLAUDE.md. A Copilot team can start with .github/copilot-instructions.md. Cursor users alongside Copilot Chat in Visual Studio need both. A deploy or release procedure belongs in a SKILL.md, whichever instructions the repo uses, unless enterprise policy requires that skill to arrive in an approved plugin.

Read more
AI Engineering Coach: Measure How You Actually Code with AI

AI Engineering Coach: Measure How You Actually Code with AI


🎯 TL;DR

AI Engineering Coach is an open-source VS Code extension from Microsoft that reads the local session logs your AI coding assistants already write, then turns them into a private analytics dashboard. It scores your prompting habits, flags anti-patterns, measures your AI-generated output, and surfaces repeated prompts you could promote into reusable skills.

It’s harness-agnostic (Claude Code, GitHub Copilot, Copilot CLI, Codex, OpenCode, and more), runs 100% locally, and does not cost you extra tokens for its core analytics. Think of it as a Strava for the way you work with AI.

Repo: github.com/microsoft/AI-Engineering-Coach

⚡ In a hurry? Jump to the install steps, then come back for the why.

The question nobody is measuring

Most of us now reach for an AI coding assistant before we reach for the keyboard. GitHub Copilot, Claude Code, Codex, Gemini CLI. They’ve quietly become the default surface for writing software. But here’s the uncomfortable question I kept coming back to:

Am I actually getting better at this, or am I just using it more?

We obsessively measure the AI: token counts, model benchmarks, latency. We almost never measure ourselves: the quality of our prompts, how often we review what the model generated before shipping it, whether we keep re-typing the same instructions, whether our repos even give the agent enough context to succeed.

That’s the gap the AI Engineering Coach fills. It doesn’t write code for you. It holds up a mirror to how you write code with AI, and that distinction is the whole point.

flowchart LR
    You([You, coding with AI]) -->|prompts · edits · tool calls| Tools["AI coding tools
Copilot · Claude Code · Codex · ..."] Tools -->|already write| Logs[("Local session logs
on disk")] Logs --> Coach["AI Engineering Coach
reads, never writes"] Coach -->|reflects back| Insights["Prompt quality · anti-patterns
output · reusable skills"] Insights -.->|so you level up| You style Coach fill:#cce5ff,stroke:#1f6feb,stroke-width:2px,color:#000 style Insights fill:#e6ffed,stroke:#2da44e,color:#000 style Logs fill:#fff4c2,stroke:#b7950b,color:#000

The loop nobody closes: your tools already write the logs. The Coach just reads them back to you, so the feedback finally points at you, not the model.

Read more
Governance for AI Agents (Part 1): The Gap, the OWASP Agentic Top 10, and Where AGT Fits

Governance for AI Agents (Part 1): The Gap, the OWASP Agentic Top 10, and Where AGT Fits

Update (2026-11-23): Microsoft Foundry now offers managed agent controls

Microsoft Foundry now offers agent controls (preview), a managed policy service built on the open Agent Control Specification, which is also AGT's policy layer from version 5.0. It evaluates Rego policies at intervention points such as pre_tool_call and returns allow, deny or transform for the host to enforce.

The same policies can run in process with the open-source runtime. The managed service adds central policy management and hosted evaluation; the agent host still enforces the decision.


🎯 TL;DR

You’ve built a single agent, or wired up a multi-agent orchestration with LangChain / AutoGen / CrewAI / Microsoft Agent Framework. It works.

Now answer this: how are you covering the OWASP Agentic Top 10? How do you prove to a regulator that the agent did only what it was allowed to do? Prompt engineering and content filters don’t reach the layer where actions happen.

The Agent Governance Toolkit (AGT), an open-source Microsoft project I work on, puts a sub-millisecond deterministic policy decision in front of every tool call, gives every agent a cryptographic identity, and produces a tamper-evident audit trail.

This post is Part 1 of a series: what the governance gap is, what the OWASP Agentic Top 10 actually contains, and where AGT sits in your stack.

Repo: github.com/microsoft/agent-governance-toolkit

If you’ve shipped anything with LangChain, AutoGen, CrewAI, or Microsoft Agent Framework recently, you’ve probably hit the same wall I did. The agent works. It plans, calls tools, remembers things. And then you try to put it somewhere it can actually do harm, touch a database, hit a real API, run shell commands, talk to another agent, and you realise you have no good way to bound what it can do.

You have a model. You have prompts. You have a tool list. You don’t have a policy layer. So you do what we all do: stitch together if-statements, allowlists, regex filters on prompts, maybe a sandbox if you’re feeling fancy. It mostly works. Until it doesn’t.

flowchart LR
    U([User / Prompt]) --> M[LLM Planner
non-deterministic] M -->|tool call| T{{No policy layer}} T -->|just runs| DB[(Database)] T -->|just runs| API[(Production API)] T -->|just runs| SH[/Shell /] T -->|just runs| A2[Other Agents] style T fill:#ffd6d6,stroke:#c0392b,stroke-width:2px,color:#000 style M fill:#fff4c2,stroke:#b7950b,color:#000

The agent works. The governance doesn’t exist yet. That gap is what the OWASP Agentic Top 10 and every AI regulation is pointing at.

Read more

Choose your design

Only the look changes. Your posts, ads, comments and other integrations stay in place, with the same light/dark and cookie preferences.

Choose the look you prefer