Dissertation section: Adversarial Inputs & Evidence Integrity

Note 29

143 detection rules for AI agents: good coverage, unproven fidelity

Source 2026-11-23Posted 24 November 2026

detection-engineering · agentic-attacks · soc-practice · evidence

Reference

Ayenson, M. (2026, November 23). Elastic ships 143 detection rules for AI agents and LLM platforms. Elastic Security Labs. https://www.elastic.co/security-labs/blog/ai-security-detection-rules-coding-agents-mcp

Summary

Purpose

Ayenson (2026) described the AI security detection content shipping in Elastic 9.6, written by the vendor about its own rules.

Method and data

The post organizes threats into three layers (user AI tooling on the endpoint, AI platforms where prompts and administrative actions are logged, and the cloud control plane where models, guardrails, and keys are configured) and ties the rules to public incidents: the August 2025 malicious Nx releases that ran AI coding CLIs with safety checks bypassed, the postmark-mcp npm package that copied outgoing email to an attacker, and the compromised Amazon Q Developer extension (AWS-2025-015).

Findings

The post reports 143 production SIEM rules tagged Domain: GenAI: 38 for Amazon Bedrock, 34 for OpenAI ChatGPT Enterprise, 29 for Anthropic, 18 for endpoint, 14 for Google Cloud Vertex AI, and 10 for Microsoft Foundry and Azure OpenAI, all mapped to MITRE ATLAS and ATT&CK. Two Elastic Defend behavior rules add prevention: one terminates a process started by a coding agent that writes persistence (a LaunchAgent, Startup item, or sudoers entry), and one blocks Cursor from running a project-supplied PHP script on macOS. Example detections include approval-bypass flags such as --dangerously-skip-permissions or --yolo, AI tools accessing credential files and SSH keys, unexpected writes to agent configuration files such as .cursor/mcp.json, Bedrock calls without guardrails, and LLM-jacking patterns. Several endpoint rules accept third-party telemetry, and content-level rules require prompt logging, which Anthropic audit logs do not include (Ayenson, 2026).

Critical appraisal

Strengths

The rules target a real blind spot: most SOCs have no detection content for developer AI tooling, which runs with the developer's shell, files, and cloud keys. Anchoring rules to documented incidents gives detection engineers concrete test cases regardless of SIEM.

Limitations and validity

No false-positive rates, alert volumes, or detection results against test data are reported, so the rule count describes breadth and not fidelity. Some rules, such as those matching jailbreak phrasing, appear easy to evade, and evasion is not discussed. Much of the coverage depends on logs most organizations do not yet collect, prompt content in particular. Rules such as GenAI Process Accessing Sensitive Files are likely to be noisy on developer workstations, which the post acknowledges.

How I Will Use This in My Research

I will use this rule set in the adversarial and evidence-integrity section as an example of detection content for agent misuse, and as a case for my argument that published detection coverage must be accompanied by fidelity measures. It suggests a measurement protocol consistent with my base-rate focus: running endpoint and configuration-file rules in alert-only mode on a developer cohort to establish natural alert rates per host, replaying the Nx and postmark-mcp patterns in a laboratory to measure detection, and recording which platform rules can be fed at all given current logging. The vendor provides no fidelity data, so these measurements would be original.

References

Ayenson, M. (2026, November 23). Elastic ships 143 detection rules for AI agents and LLM platforms. Elastic Security Labs. https://www.elastic.co/security-labs/blog/ai-security-detection-rules-coding-agents-mcp

Read the original source

Source check: the Elastic Security Labs post was fetched in full on 24 November 2026. Rule names, counts, and the incident examples used here appear in that post. I have not deployed the rules, reviewed their logic in the detection-rules repository, or measured their alert volume.

All research notes