Should an Agent Approve a Pull Request? Human-Led Agentic SDLC on GitHub

Should an Agent Approve a Pull Request? Human-Led Agentic SDLC on GitHub

TL;DR

Agents can now approve pull requests. Copilot code review approvals can count towards required approvals (GA since 28 October), and Anthropic’s Claude Approvals (beta since 23 November) approves against a policy file in the repository. Both are off until someone turns them on, and both can be limited to certain file paths.

Decide where an agent’s approval counts before someone decides for you. Let agents author and review everywhere, let their approval count only on low-risk paths, keep a person’s approval on everything sensitive with rulesets and code owners, merge by rules, and give every agent an identity you can trace. Then measure delivery before and after, not impressions.

In a hurry? Jump to the five roles, the default ruleset or path-scoped approvals, then come back for attribution.

Read more
Not Every 429 Is a Rate Limit: Token Budgets Across Azure AI Gateway, API Management and Foundry

Not Every 429 Is a Rate Limit: Token Budgets Across Azure AI Gateway, API Management and Foundry

TL;DR

A model call can now be stopped in four places: a gateway token rate limit, a gateway quota or spend limit, a Foundry budget (cost controls, in preview) and the deployment’s own quota. Several of them answer with HTTP 429, and a Foundry budget block on chat completions even sends Retry-After: 30. The OpenAI SDKs retry that twice by default, about a minute of waiting, although it can’t succeed until the budget resets or someone changes the cost control.

Read the response, not just the status code. Retry short rate limits, stop on quotas, spend limits and budgets, and log which limit fired. Put limits about who is calling in the gateway, budgets for projects, deployments and agents in Foundry, and keep one meter for chargeback.

In a hurry? Jump to the decision guide, the retry rules or one owner per limit, then come back for the headers.

Read more
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
Azure AI Gateway Is GA: When to Use It, When to Keep APIM, and Who Should Own It

Azure AI Gateway Is GA: When to Use It, When to Keep APIM, and Who Should Own It

TL;DR

Azure AI Gateway went GA on 17 November as its own Azure resource, in 17 regions including Australia East but not New Zealand North. Paid billing starts on 1 January 2027, preview-tier gateways must be re-created before 15 January, and private networking works but is still in preview.

If you already run an enterprise API Management front door, my default is two lanes with two owners: API Management for business APIs, and AI Gateway, run by the AI platform team, for model and tool traffic. Keep API Management when the gateway must sit in New Zealand North or a workload needs unsupported API routes, A2A, semantic caching or format translation. API Management workspaces still won’t carry MCP.

In a hurry? Jump to the decision path, the three topologies or the ownership split, then come back for the detail.

For most of this year my answer to “should we use the new AI Gateway?” was “not for production yet”. Now the more useful question is who owns it and what stays on API Management.

flowchart TB
    accTitle: Deciding which gateway a workload should use
    accDescr: Business APIs stay on API Management. Model and tool traffic goes to AI Gateway unless the gateway itself must run in New Zealand North, or the workload needs unsupported API routes, A2A, semantic caching or format translation, in which case it stays on API Management v2 for now.
    Q1{"Business API, or model
and tool traffic?"}:::q APIM1["API Management
front door"]:::apim Q2{"Must the gateway itself
run in New Zealand North?"}:::q Q3{"Needs missing API routes, A2A,
semantic caching or format translation?"}:::q APIM2["API Management v2
for this workload, for now"]:::apim AIG["AI Gateway"]:::aig Q1 -- "business API" --> APIM1 Q1 -- "models and tools" --> Q2 Q2 -- "yes" --> APIM2 Q2 -- "no" --> Q3 Q3 -- "yes" --> APIM2 Q3 -- "no" --> AIG classDef q fill:#f8fafc,stroke:#334155,color:#000 classDef apim fill:#cce5ff,stroke:#1f6feb,color:#000 classDef aig fill:#e6ffed,stroke:#2da44e,color:#000
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
GitHub Copilot Harness Security: Patch, Pin and Govern Your Coding Agents

GitHub Copilot Harness Security: Patch, Pin and Govern Your Coding Agents

Latest update (2026-11-30): Raise the Copilot CLI floor to 1.0.117

Raise the Copilot CLI floor to 1.0.117, released on 27 November. Version 1.0.115 makes an empty --available-tools list give the model no tools instead of all of them, has Assisted Permissions ask before detected SSH login-key installs, deploy-key registrations and changes to live authorisation files such as sudoers, makes ACP clients respect permissions.disableBypassPermissionsMode when turning on Autopilot or allow-all, and applies permission rules to read-only tools from third-party MCP servers. Version 1.0.117 stops approval of an MCP server's tools for a session or location from also approving built-in requests, such as shell commands or memory stores, when the permission type matches the server's name. It also stops --trust-folder, used from a subdirectory, from running the repository root's hooks when --add-dir names another folder in the same repository.

VS Code 1.148, released on 25 November, is current for this update. Its release notes list no security fixes, so the 1.145.3 floor stands. It does add a setting worth a decision: in Copilot harness sessions, password prompts from sudo -A, ssh and git now appear as chat questions. The answer goes only to that program, not to the model, and chat.agentHost.copilot.shellAuthentication.enabled can turn it off.

GitHub MCP Server 2.3.0, released on 24 November, also added write tools for Dependabot, code scanning and secret scanning alerts. The tools sit in dependabot, code_security and secret_protection, which are outside the default toolsets. Scope the token and alert on dismissals made by agents before enabling them. Copilot CLI's built-in server uses a default subset that excludes them unless you add toolsets; the cloud agent's built-in server uses a read-only token for the current repository unless a repository admin customises it.

Earlier update (2026-11-23): Claude and Codex can now be explicitly allowed

VS Code 1.147 (18 November 2026) lets admins allow the Claude and Codex harnesses by listing them in vscode.allowedHarnesses, set through file-based or MDM managed settings. Server-managed settings don't support it yet.

Sessions in those harnesses run without Copilot's managed permission, sandbox, MCP and plugin controls. They should be treated as a separate risk boundary, not as Copilot sessions with a different provider model.

TL;DR

In one week VS Code fixed ten security advisories, eight of them involving MCP servers, agent tools or the agent host, and froze the Local harness for removal in February 2027. Visual Studio moved Copilot Chat onto the Copilot harness, Copilot CLI tied its built-in MCP server to policy, and Git fixed a clone bug that an agent can trigger just by following Git’s own advice.

Treat the editor fleet like any other agent runtime. Patch to a version floor, use the Copilot harness by default because it enforces managed sandbox and permission policy, police MCP, permissions and customisations through Copilot’s managed settings, and prove it with diagnostics, telemetry and a test you expect to fail. If you allow Claude or Codex, manage their separate controls explicitly.

In a hurry? Jump to the version floor, the managed baseline or how to prove it, then come back for the why.

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

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