A coding agent on a developer laptop can start a shell with that developer’s files and cloud credentials. Elastic Security Labs now describes 143 planned SIEM rules for the agent, its Model Context Protocol (MCP) tools and the AI services it contacts. For teams running coding agents or enterprise AI platforms, the immediate question is which events reach their security stack. A rule cannot alert on a prompt or process it never receives.

Elastic says the rules will ship with Elastic Security 9.6. They span Amazon Bedrock, ChatGPT Enterprise, Anthropic, Google Cloud Vertex AI, Microsoft Foundry and endpoint data. Verify the installed rules and logging configuration before expecting an alert from the new set.

Agent access makes process lineage matter

A coding assistant reads repository files and can launch tools under the developer’s account. A poisoned instruction in a repository can steer it toward a shell; malware can also start a coding-agent CLI with approval checks bypassed. Elastic names --dangerously-skip-permissions, --yolo and --dangerously-bypass-approvals-and-sandbox as launch indicators in its GenAI CLI Started with Unsafe Permission Bypass rule. Treat those flags as separate recognition tokens, and inspect the parent process and subsequent child processes before assigning intent.

The Postmark team’s account gives the MCP side a concrete shape: an impostor postmark-mcp npm package added a backdoor in 1.0.16 that secretly copied outgoing mail to an external destination. Postmark says its own API and services remained secure. For a developer using that package, the first check is the installed MCP server and version, followed by mail logs and credentials that may have traveled by email. Postmark advises removing the impostor and considering credential rotation.

AWS says malicious code was distributed in Amazon Q Developer for VS Code extension 1.84.0, but a syntax error kept it from executing. AWS removed that release from distribution and says existing 1.84.0 installations should be removed from use and updated to 1.85.0. Check the installed version on developer machines, including forked or derivative copies.

Endpoint rules and SIEM rules differ

Elastic divides the coverage between scheduled SIEM rules in Kibana and Elastic Defend behavior rules on developer endpoints. SIEM detections use indexed process, cloud and platform events and can correlate activity after ingestion. Elastic Defend evaluates live process, file and network events on the host. With its policy in prevent mode, the Persistence via GenAI Tool behavior rule can kill a coding-agent child process writing a macOS LaunchAgent or LaunchDaemon, a Windows Startup item, rc.local or a sudoers entry. Alert-only policy and SIEM correlations serve different purposes.

Unusual Process Modifying GenAI Configuration File looks for unexpected writes to agent configuration such as .cursor/mcp.json, .codex/hooks.json and Claude SKILL.md. GenAI or MCP Server Child Process Execution records child launches for correlation. GenAI Process Accessing Sensitive Files covers access to cloud credentials, SSH keys, keychains, browser stores and shell profiles. A developer’s legitimate agent can touch some of these files; its process tree, initiating user and ensuing network or cloud activity give an analyst the context to decide what happened.

Cloud detections depend on collected logs

Elastic allocates the 143 planned SIEM rules across Bedrock (38), ChatGPT Enterprise (34), Anthropic (29), endpoint sources (18), Vertex AI (14), and Microsoft Foundry with Azure OpenAI (10). The counts describe rule coverage, not observed attacks. CloudTrail supplies Bedrock control-plane activity, while platform integrations collect provider audit, invocation and, where available, conversation or prompt data.

Content-level detections require prompt logging in the provider. Elastic says the Anthropic audit feed it ingests records administrative and account activity rather than prompt content, so a prompt-secrets rule cannot use that feed. Teams collecting only control-plane events can still investigate changes such as AWS Bedrock Model Invocation Logging Disabled or Modified and Anthropic Compliance API Logging Disabled; they should scope prompt-content expectations to the streams actually enabled. Elastic also names OpenAI ChatGPT Enterprise Gmail Message Sent via Connector for mail sent through an approved connector. An approved mail connector can carry data out under a compromised account or injected instruction.

Map the rules to your systems

List the coding agents and MCP servers installed on developer endpoints, then check their parent-child process events and configuration-file writes in the endpoint telemetry you already collect. Inspect unexpected writes to .cursor/mcp.json, .codex/hooks.json and SKILL.md; compare the writer process with your approved install and update process. If postmark-mcp is present, check its installed version and outgoing mail logs, remove the impostor and rotate credentials that were sent in affected mail.

For Elastic deployments, confirm the installed release before relying on the 143-rule set. Elastic’s release overview describes the same planned count. Once 9.6 is available in your environment, install or update prebuilt SIEM rules under Security > Rules > Detection rules, filter on Domain: GenAI, and enable the rules for the platforms whose logs you ingest. Check each platform integration, the relevant audit and invocation streams, and whether prompt logging is enabled where your policy permits it. On developer endpoints, verify the Elastic Defend policy is in prevent mode before expecting a process to be killed.

Verify collection before trusting coverage

Choose one installed agent and one AI service you actually use. In the SIEM, verify that the agent’s process tree and the service’s audit events arrive with the fields required by the rules you enabled; for content-level coverage, verify the provider’s prompt-logging state. Inspect the endpoint policy separately for prevent mode. Elastic puts it plainly: “An alert is the starting point.” If a suspicious child process or mail connector action appears, follow its lineage and account activity, then isolate the host or rotate the affected credential as the evidence warrants. Those checks turn a promised rule count into a coverage decision for your own environment.