# Elastic: 143 detection rules for AI agents and LLM platforms

> Elastic 9.6 ships 143 prebuilt detection rules for AI agents, coding agents and LLM platforms, published in a public repository.

- **Severity:** Info: Research, tools, evals or lab claims with no direct exposure. Context, not an alert.
- **Category:** Tool
- **Published by:** Elastic Security Labs
- **Disclosed:** 2026-11-23
- **Affects:** Amazon Bedrock, OpenAI ChatGPT Enterprise, Google Cloud Vertex AI, Azure OpenAI, Claude Code, Cursor, OpenAI Codex
- **Research by:** Mika Ayenson
- **Primary source:** https://www.elastic.co/security-labs/blog/ai-security-detection-rules-coding-agents-mcp
- **Page:** https://theinjection.dev/items/elastic-genai-detection-rules-9-6/

Elastic 9.6 ships 143 SIEM detection rules tagged Domain: GenAI, covering hijacked coding agents, malicious MCP servers, LLMjacking and prompt injection. The rules are published in the public elastic/detection-rules repository.

## What happened

Elastic Security Labs announced on November 23, 2026 that Elastic 9.6 ships 143 SIEM detection rules tagged Domain: GenAI, in a post by Mika Ayenson. All 143 map to MITRE ATLAS and MITRE ATT&CK, and Elastic Defend adds on-host behavior rules alongside them. The SIEM rules live in the public elastic/detection-rules repository and the Defend rules in elastic/protections-artifacts.

## How it works

The rules read platform audit logs and endpoint telemetry rather than model internals, so they look for the actions that follow an attack. Covered behaviors include a coding agent launched with approval checks disabled, tampering with agent configuration, skills or hooks, LLMjacking with stolen API keys, and data exfiltration through AI connectors. A companion release adds four small classifiers that score prompts and responses at ingest, so only high-scoring events are passed to an LLM for a second check before alerting.

## Who is affected

Rule coverage splits across Amazon Bedrock with 38 rules, OpenAI ChatGPT Enterprise with 34, Anthropic with 29, endpoint sources with 18, Google Cloud Vertex AI with 14, and Microsoft Foundry with Azure OpenAI at 10. Elastic Defend covers coding agents including Claude Code, Cursor and Codex. The ingest classifiers need Elastic Stack 9.6 with a Platinum or trial subscription.

## What to do

Upgrade to Elastic 9.6, install the prebuilt rules, filter on the Domain: GenAI tag and enable the ones that match the data you already collect. Add the integrations for your AI platforms and turn on prompt logging where content-level detections are needed. Run Elastic Defend in prevent mode on developer endpoints, and tune exceptions for the agents and MCP servers you approve.

## Quick facts

- **Rules:** 143 SIEM rules tagged Domain: GenAI, plus Elastic Defend behavior rules
- **Coverage:** Bedrock 38, ChatGPT Enterprise 34, Anthropic 29, endpoint 18, Vertex AI 14, Foundry and Azure OpenAI 10
- **Published in:** elastic/detection-rules and elastic/protections-artifacts on GitHub
- **Mapped to:** MITRE ATLAS and MITRE ATT&CK
- **Needs:** Elastic 9.6; Platinum or trial for the ingest classifiers
- **Published:** November 23, 2026, by Elastic Security Labs

## Sources

1. [Elastic Security Labs](https://www.elastic.co/security-labs/blog/ai-security-detection-rules-coding-agents-mcp)
2. [Ingest Classifiers](https://www.elastic.co/security-labs/blog/prompt-injection-detection-ai-agents)
3. [Detection Rules Repo](https://github.com/elastic/detection-rules)
