MOSIR
No. 29 · Free Published by MOSIR

No. 29 · Nov 19, 2026 · Security & Privacy Watch

Microsoft Defender can now block hidden instructions sent to Ollama and Claude Code

Microsoft says Defender for Endpoint P2 now scans calls from local AI agents on Windows, including Ollama Desktop and Claude Code, and can block hidden malicious instructions.

By the Local Intelligence Wire desk · Wimberley, Texas ·

Microsoft announced at Ignite that Defender for Endpoint now offers runtime protection for local AI agents on Windows, generally available to Defender for Endpoint P2 customers. Defender scans the agent's calls for malicious instructions hidden in content the agent processes, and can run in a log-only mode or block mode set in the Defender or Intune portal.

Agent-level protection covers Claude Code, GitHub Copilot CLI and app, Claude Desktop and the VS Code extensions for both. A network-based mode covers Open Claw, Ollama Desktop and the ChatGPT desktop apps. Combined with Microsoft's data loss tools, it is meant to stop sensitive data leaving over the network. These are Microsoft's descriptions; no independent test has been published.

Why it mattersPrompt injection is the main way agents on a staff laptop get turned against the data they can reach, and this is the first mainstream endpoint tool to name local model runners.

For consultantsConsultants with clients already on Defender for Endpoint P2 should test the log-only mode against the agents those clients actually run before switching to block.

Sources

Read the full Nov 19, 2026 edition