ConsultingWorkbench-backed AI security engagements — map, attack, defend, and prove your AI systems.
Scope a Review
AI Security Engineering articles
Draft article·3 min read·495 words

Detection Engineering for AI Systems

Design AI-specific detections for prompt injection, data exfiltration, RAG poisoning, agent misuse, tool abuse, cost exhaustion, and model workflow telemetry.

Alex EisenPublished Mar 14, 2026
Detection Engineering
AI Security Engineering
SIEM
OpenTelemetry
Agent Security
SURFACE
RAG

Article context

Alex Eisen on the article, controls, and evidence pattern behind detection engineering for ai systems.

Detection Engineering for AI Systems

Slug: detection-engineering-for-ai-systems Effective Date: 2026-05-17 Version: v1.0 Author: Alex Eisen Status: Draft Minimum Target Length: 2,000 words

AI detection engineering is about making model behavior observable. If the team cannot see prompts, retrieval, tool use, and state changes, it cannot tell the difference between normal work and abuse.

  1. Why This Matters

Traditional detections miss AI-specific abuse because the action can start in language and end in a side effect. The control gap is not only alert content. It is missing telemetry.

  1. Core Concept

The goal is to connect prompts, outputs, retrieval, identities, tools, and approvals into one detection model. If the model can act, the SOC needs to see the action path.

  1. Threat Model or Failure Model
  • A prompt injection changes a tool call.
  • The agent accesses data it should not have seen.
  • The system emits a useful answer but hides the path that produced it.
  • Cost spikes or unusual sequencing signal abuse before obvious damage.
  1. Framework Mapping

Use the same ideas that drive SIEM and incident response, then add AI-specific context from OWASP, ATLAS, and the NIST AI RMF. The point is not new jargon. It is better visibility.

  1. Engineering Controls
  • Log prompts, retrievals, tool calls, and approvals.
  • Correlate model versions with behavior changes.
  • Create alerts for suspicious sequencing and unusual data access.
  • Define a response path for model abuse and agent misuse.
  1. Tooling
  • Use trace stores, SIEM pipelines, and evaluation logs.
  • Keep the event schema stable enough for replay and triage.
  • Separate noisy status signals from real security events.
  1. Evidence and Observability
  • Evidence should show what was seen, what was blocked, and what was alerted.
  • Keep the trace and the alert together.
  • Use dashboards as context, not proof.
  1. Operating Model

SOC, platform engineering, and product security need a shared event model. If the team cannot tell which prompt led to which action, the detection program is blind at the wrong layer.

  1. Common Mistakes
  • Logging only the final output.
  • Alerting on everything and understanding nothing.
  • Ignoring retrieval and tool context.
  • Treating dashboards as evidence.
  1. Practical Example

A code assistant begins calling a storage tool after receiving a document that instructs it to do so. Detection engineering should surface the prompt, the tool call, and the policy decision that should have blocked it.

  1. Governance and Claim Caveats
  • Sponsor support does not influence methodology, scoring, findings, chart outputs, or editorial conclusions.
  • Job-description intelligence and public hiring signals are directional signals, not proof of internal security maturity.
  • Psychometric outputs are role-language evidence, not diagnosis.
  • Avoid accusatory company-level language.
  • Avoid product endorsement language.
  1. Conclusion

AI detection engineering is what makes agent and model behavior reviewable after the fact. Without it, the team can see an incident only after the damage is done.

Implementation Checklist

  • Define the event schema.
  • Log prompts and actions.
  • Correlate versions.
  • Add abuse alerts.
  • Test noisy paths.
  • Keep replayability.
  • Map to SOC workflow.
  • Document alert ownership.
  • Track evidence privately.
  • Review the caveats.

Source Notes Needed

  • SIEM and detection engineering references.
  • NIST AI RMF.
  • MITRE ATLAS.
  • Agent logging examples.
  • Public AI incident writeups.

Operationalize Identity

Review Identity Governance Patterns

Explore SURFACE

Framework Alignment

This practice is mapped to the Identity control objective within our AI security operating model.

Read Methodology →

AI Security Engineering articles use cautious trust language. Sponsor support does not influence methodology, scoring, findings, chart outputs, or editorial conclusions.

Job-description intelligence and public hiring signals are directional signals, not proof of internal security maturity. Psychometric outputs are role-language evidence, not diagnosis.