Technical Guide

    Distinguishing Blocked Attacks from False Positives During LLM Incident Review

    Treat each blocked, redacted, or escalated interaction or tool call as a separate case and decide it from recorded evidence: the input, the policy that fired, the enforcement action, the tool call context, and the user and session context. Classify the case as confirmed attack, false positive, ambiguous, or escalated, record the reasoning, and use confirmed false positives to narrow policies without removing coverage for real attacks.

    A repeatable review method

    1. 1

      1. Confirm the record is complete

      Missing telemetry, errors, and unsupported test contexts are not blocked attacks. Mark them as incomplete rather than counting them.

    2. 2

      2. Read the policy against the content

      Check whether the rule matched attack phrasing or only a common word such as delete, system, or reveal in an ordinary request.

    3. 3

      3. Identify where the content came from

      Separate direct user input from retrieved documents, tool descriptions, and tool return values. Instructions arriving through non-user channels deserve closer scrutiny.

    4. 4

      4. Assess what the action would have done

      Ask what would have happened if the request had been allowed, such as querying a private data store or sending an email on the attacker's behalf.

    5. 5

      5. Compare with session context

      Look for repeated variations of the same request, a mismatch with the user's task, or a burst of similar events that suggests deliberate flooding.

    6. 6

      6. Classify and record

      Assign one outcome, write the reasoning, and store it with the evidence that supported it.

    Evidence each decision requires

    • Input content as received and after normalization, including which part came from the user, retrieved external content, a tool description, or a tool return value
    • The policy and specific rule that fired, including whether it matched a phrase or a single keyword
    • The enforcement action taken: allow, redact, block, rate limit, or escalate for human approval
    • Tool call context: tool name, description or schema in context, parameters, and prior return values
    • User and session context: identity, the task in progress, and earlier events in the same session
    • Timestamp and the reviewer's determination with its reasoning

    Why incident review is an evidence problem

    When runtime enforcement blocks, redacts, or escalates an LLM interaction, a reviewer has to decide whether it was a real attack or a legitimate request that was wrongly stopped. Two failures follow from deciding without evidence. Reviewers dismiss real attacks as noise, or they loosen policies that were working.

    Conventional telemetry does not settle the question. NIST workshop findings note that network logs, endpoint agents, and identity tracking are largely blind to prompt injection, because these attacks often masquerade as valid system interactions. The same findings warn that large log volumes without a way to identify relevant signals can overwhelm analysts and produce false positives rather than actionable evidence. The interaction itself, with its content and context, is the primary evidence.

    That content is wider than the user's prompt. NIST guidance on agent hijacking describes tool poisoning: tool descriptions are attacker-controlled text placed in the agent's context, so the attack can succeed before any tool executes. After a tool runs, its return values are appended to the context and become input to the next action. A review record that holds only the user prompt will miss both channels.

    NIST incident handling guidance defines an IDPS false positive as an alert indicating malicious activity when none has occurred, and says analysts should validate alerts manually against the recorded supporting data. That principle carries over to LLM enforcement events. The review is only as good as what was recorded at the moment of the decision.

    Classifying outcomes

    Use a small, fixed set of outcomes and require a written reason for each. The set below is a practical convention, not a standard taxonomy, but it covers the decisions reviewers actually face.

    The ambiguous class matters most. If the evidence cannot separate a probe from an unusual but legitimate request, do not default to false positive. NIST guidance on declaring incidents says to apply the incident criteria to known and assumed characteristics of the activity and to consider known false positives. It also stresses human review of AI-related alerts before risk decisions are made. Route ambiguous cases to a person with authority to decide, and keep the original enforcement in place until they do.

    • Confirmed attack: Content and context show an attempt such as prompt injection, data exfiltration, or tool misuse. Record the indicators and share attack patterns with incident databases.
    • False positive: The policy matched a benign request and the evidence shows no malicious intent or effect. Link the case to the rule that needs tuning.
    • Ambiguous: The record cannot support either conclusion. Keep the enforcement in place and add the case to a pending review queue.
    • Escalated: The case requires a human decision, an incident declaration, or a policy owner's input. Record who received it and the outcome.

    Common causes of false positives and how to tune

    The most documented cause is keyword matching. OWASP notes that single words such as delete, system, and reveal appear in ordinary requests like "How do I delete my account?" Its guidance is to match attack phrases rather than single words and to measure the false-positive rate on benign requests from the application. Over-collection of logs without signal identification is a second cause, because reviewers cannot find the relevant events. A third is deliberate: adversaries can flood an AI application with chaff to generate false positives and waste analyst time, and rate-based detection is one mitigation.

    Tune from confirmed false positives only, and make the smallest change that fixes the case. Replace a single-word trigger with phrase matching, then re-measure on benign traffic. OWASP defines the false-positive rate as incorrect security refusals divided by applicable benign requests, and says to report it with pending reviews and task-completion rate. Sample size matters: seven clean trials from a benign workload give a 95% Wilson confidence interval of roughly 0% to 35.4%, which is not evidence of a zero rate.

    Tuning must not trade one error for another. NIST recommends tuning monitoring to reduce both false positives and false negatives. Keep confirmed attacks as a regression set and rerun them after every policy change. If a change lets any of them through, the tuning weakened protection and should be revised.

    Judging whether your enforcement tooling supports this review

    Test the tooling against the method above. For a sample of recent events, can a reviewer see the input, the matched policy, the action, the tool call context, and the user or session without assembling it from other systems? Can the tool distinguish a phrase match from a keyword match, and report false-positive rate on benign traffic? Can it route a case to human approval, export evidence to incident databases or downstream detection and response systems, and let you re-measure after a policy change? Can each determination be stored with the evidence behind it for later audit?

    Trussed enforces policy in the execution path across models, agents, tools, and MCP servers, at the level of individual interactions and tool calls: allow, redact, block, rate limit, or escalate for human approval. Enforcement is at runtime, not reviewed after the fact, and it generates audit-ready evidence mapped to frameworks including HIPAA, NAIC, NYDFS, the EU AI Act, and NIST. Deployment is self-managed in the customer cloud, with configurable retention and data residency. Whatever tool you use, apply the same questions to it.

    Review path for one enforcement event

    Collect

    Input, matched policy, action, tool call context, user and session.

    Validate

    Check the policy match against the content and its origin.

    Classify

    Confirmed attack, false positive, ambiguous, or escalated.

    Record and tune

    Store the determination and feed confirmed false positives into narrow policy changes.

    Check whether your enforcement events carry enough evidence

    Review how runtime policy enforcement in the execution path produces audit-ready evidence for each interaction and tool call.

    See How Evidence Is Produced