This prompt is designed for security operations teams building automated triage systems for potential confidentiality breaches. It takes a structured incident report and produces a severity assessment, identifies affected data categories, and recommends an escalation path with urgency justification. The primary job-to-be-done is to create consistent, auditable breach assessment decisions that can feed into SOAR platforms, ticketing systems, or on-call paging workflows. The ideal user is a security engineer or SOC analyst integrating this prompt into an automated pipeline where incident reports arrive from detection systems, data loss prevention tools, or user-reported events and require rapid, standardized classification before human review.
Prompt
Confidentiality Breach Escalation Decision Prompt

When to Use This Prompt
Defines the operational context, ideal user, and critical limitations for deploying the Confidentiality Breach Escalation Decision Prompt in production security workflows.
Use this prompt when you need to enforce a repeatable decision framework across a high volume of potential breach events. It is appropriate for environments where incident reports contain structured fields such as data categories involved, affected user counts, regulatory tags, and exposure vectors. The prompt works best when paired with a defined output schema that downstream systems can parse, such as a JSON object containing severity, affected_data_categories, escalation_path, and urgency_justification. You should not use this prompt for automated notification decisions without legal review of the output, nor for generating external communications to affected parties. It is a decision-support tool, not a replacement for breach counsel or regulatory filing determinations.
This prompt does not replace human judgment for confirmed high-severity breaches. Any escalation recommendation above medium severity must be paired with human review before action is taken. Common failure modes include over-escalation fatigue, where the model classifies borderline incidents as high severity to avoid missing a breach, and under-escalation of subtle exfiltration patterns, such as low-volume data access over extended periods. To mitigate these risks, implement eval checks that measure precision and recall against a golden dataset of labeled incidents, and monitor the ratio of escalated-to-confirmed breaches over time. If your incident volume exceeds what your human review team can handle, invest in tuning the prompt's severity thresholds rather than removing the human-in-the-loop requirement.
Use Case Fit
Where the Confidentiality Breach Escalation Decision Prompt delivers reliable triage and where it introduces unacceptable risk.
Good Fit: Structured Incident Triage
Use when: Security analysts submit structured incident reports with timestamps, affected systems, and observed indicators. The prompt excels at classifying severity and recommending escalation paths from consistent input schemas. Guardrail: Always provide a standardized incident intake form rather than free-text descriptions to reduce ambiguity.
Bad Fit: Raw Log Analysis
Avoid when: The primary task is parsing raw server logs, network captures, or unstructured forensic artifacts. The prompt is designed for pre-assessed incident summaries, not first-pass log correlation. Guardrail: Route raw data through a dedicated log analysis prompt or SIEM before feeding summarized findings into this escalation prompt.
Required Inputs: Severity Signals
Risk: Without data categories, affected user counts, exposure duration, and regulatory triggers, the prompt produces vague severity assessments. Guardrail: Enforce required fields in the input schema—data classification tier, number of records, jurisdictions involved, and containment status—before invoking the prompt.
Operational Risk: Over-Escalation Fatigue
Risk: The prompt defaults to caution and may recommend high-severity escalation for borderline incidents, causing alert fatigue in security teams. Guardrail: Implement a confidence threshold check. If the model's severity confidence is below 0.7, route to a human triage queue instead of triggering an automated escalation.
Operational Risk: Under-Escalation of Exfiltration
Risk: Subtle data exfiltration patterns—slow leaks, metadata-only extraction, or authorized-user misuse—may not trigger breach indicators. Guardrail: Pair this prompt with anomaly detection on data access patterns. Feed behavioral anomalies as explicit input signals rather than relying on the prompt to detect them from raw descriptions.
Regulatory Boundary: Multi-Jurisdiction Conflicts
Risk: Incidents spanning GDPR, HIPAA, and state-level breach laws create conflicting notification timelines and thresholds. The prompt may apply one regulation incorrectly across all affected data subjects. Guardrail: Require jurisdiction-per-record tagging in the input. The prompt must assess each jurisdiction separately and flag conflicts for human legal review.
Copy-Ready Prompt Template
A reusable system prompt template for assessing potential confidentiality breaches and recommending escalation actions.
This section provides the core prompt template for the Confidentiality Breach Escalation Decision Prompt. It is designed to be copied directly into your AI orchestration layer as a system prompt or a templated user message. The prompt instructs the model to act as a security triage analyst, systematically evaluating an incident report against your organization's data classification and incident response policies. It forces structured reasoning about severity, affected data categories, and the appropriate escalation path, rather than generating a generic risk summary.
textYou are a Security Operations Triage Analyst AI. Your task is to assess a potential confidentiality breach incident report and provide a structured escalation recommendation. You must strictly adhere to the provided [DATA_CLASSIFICATION_POLICY] and [INCIDENT_RESPONSE_POLICY]. First, analyze the [INCIDENT_REPORT] against the following criteria: 1. **Breach Indicators:** Identify specific phrases, metadata, or patterns in the report that indicate a potential confidentiality breach (e.g., unauthorized access, data exfiltration, accidental disclosure, privilege escalation). 2. **Affected Data Categories:** Map the potentially compromised data to the categories defined in [DATA_CLASSIFICATION_POLICY] (e.g., Public, Internal, Confidential, Restricted). 3. **Severity Assessment:** Determine the incident severity (Low, Medium, High, Critical) based on the data categories affected, the volume of data, and the nature of the exposure, as defined in [INCIDENT_RESPONSE_POLICY]. 4. **Urgency Justification:** Provide a concise, evidence-based justification for the assigned severity, quoting the relevant parts of the incident report and the policies. Based on your analysis, generate a JSON output conforming to the [OUTPUT_SCHEMA] below. If the incident report does not contain enough information to make a determination, set the `escalation_path` to "HUMAN_REVIEW" and set the `confidence_score` to a value below 0.6, explaining what information is missing in the `rationale` field. [OUTPUT_SCHEMA]={ "incident_id": "string", "severity": "Low | Medium | High | Critical", "affected_data_categories": ["string"], "escalation_path": "NO_ACTION | SECURITY_TEAM | LEGAL_TEAM | EXECUTIVE_TEAM | HUMAN_REVIEW", "rationale": "string (evidence-based justification)", "confidence_score": "number (0.0 to 1.0)" } [CONSTRAINTS]=1. Do not invent or assume details not present in the [INCIDENT_REPORT]. 2. If the report describes a breach of "Restricted" data, the severity must be "Critical" and the escalation path must include "EXECUTIVE_TEAM". 3. Your entire response must be the single JSON object, with no other text before or after it.
To adapt this template, replace the square-bracket placeholders with your actual data and policies. The [DATA_CLASSIFICATION_POLICY] and [INCIDENT_RESPONSE_POLICY] placeholders should be replaced with the full text of your internal policy documents, not just their names. The [INCIDENT_REPORT] placeholder is where you inject the user's report or an alert payload. The [OUTPUT_SCHEMA] is provided inline as a JSON schema for the model to follow, and the [CONSTRAINTS] section encodes hard business rules that prevent common failure modes like under-escalation of critical events. For high-stakes deployments, always route outputs with a confidence_score below 0.8 or an escalation_path of "HUMAN_REVIEW" to a human analyst for final disposition.
Prompt Variables
Inputs the Confidentiality Breach Escalation Decision Prompt requires to produce a reliable severity assessment and escalation recommendation. Validate each variable before sending to the model to prevent misclassification and alert fatigue.
| Placeholder | Purpose | Example | Validation Notes |
|---|---|---|---|
[BREACH_INDICATORS] | List of observed signals suggesting a confidentiality breach | Unexpected outbound data transfer to an unrecognized external IP; user downloaded 500 records outside business hours; email with attachment labeled 'client_list' sent to personal address | Must be a non-empty list of strings. Each indicator must include an observable event, not a conclusion. Validate that no indicator is a duplicate or a restatement of another. |
[AFFECTED_DATA_CATEGORIES] | Classification tiers of data potentially exposed | ['PII', 'PHI', 'Internal-Financial'] | Must be a list drawn from a closed taxonomy. Validate against the organization's data classification schema. Reject unknown categories. If the category is 'Unknown', set confidence threshold higher. |
[ACTOR_IDENTITY] | Known information about the user or system that triggered the indicators | User ID: jsmith; Role: Senior Analyst; Department: Finance; Session Duration: 12 minutes | Must be a string or null. If null, the prompt must treat the actor as an unknown external entity. Validate that the string does not contain PII beyond what is necessary for the escalation decision. |
[TIMESTAMP_CONTEXT] | Temporal context of the potential breach event | 2025-03-15T02:14:00Z; User's typical working hours: 08:00-18:00 UTC | Must be an ISO 8601 timestamp or null. Validate format. If null, the prompt must not assume time-based anomalies. Check for clock-skew issues if the timestamp is in the future. |
[DATA_VOLUME] | Approximate volume of data involved in the potential breach | 2.3 GB; 15,000 records; 3 files | Must be a string or null. If null, the prompt must not assume volume-based severity. Validate that the string is parseable and does not contain only qualitative terms like 'large' or 'small'. |
[ESCALATION_POLICY_VERSION] | Identifier for the escalation policy ruleset to apply | v2.4.1 | Must be a non-empty string matching a deployed policy version. Validate against an allowlist of active policy versions. Reject unknown versions to prevent silent fallback to a default policy. |
[PREVIOUS_ESCALATIONS] | History of related escalations for the same actor or data category in the last 90 days | 3 prior incidents; 2 false positives; 1 confirmed low-severity breach | Must be a string, null, or an empty list. Validate that the input does not contain raw incident data from other tenants. If null, the prompt must not assume a pattern of behavior. |
Implementation Harness Notes
How to wire the Confidentiality Breach Escalation Decision Prompt into a production security triage pipeline with validation, retries, human review, and audit logging.
This prompt is designed to operate as a decision node inside a larger Security Information and Event Management (SIEM) or Data Loss Prevention (DLP) workflow, not as a standalone chatbot. The model receives a structured alert payload—including breach indicators, affected data categories, user context, and environmental signals—and returns a structured escalation decision. The application layer is responsible for gathering that payload, invoking the model, validating the output, and executing the escalation path. Do not expose this prompt directly to end users or allow free-form chat interaction; the prompt's authority depends on a controlled input schema and a machine-readable output contract.
Integration pattern: The recommended architecture is a classifier-routed triage pipeline. A lightweight pre-filter (regex, signature-based DLP, or anomaly score threshold) identifies candidate events and assembles the [BREACH_INDICATORS], [AFFECTED_DATA_CATEGORIES], [USER_CONTEXT], and [ENVIRONMENTAL_SIGNALS] blocks. These are injected into the prompt template and sent to a fast, instruction-tuned model (e.g., Claude 3.5 Haiku, GPT-4o-mini, or a fine-tuned Llama variant) for initial assessment. The model returns a JSON object with severity, escalation_path, urgency_justification, and confidence. The application layer then applies a decision matrix: low-severity, high-confidence events are logged and aggregated for review; medium-severity or low-confidence events are queued for human analyst review; high-severity events trigger immediate paging and ticket creation. This tiered approach prevents both over-escalation fatigue and under-escalation of subtle exfiltration patterns.
Validation and retry logic: Before acting on the model's output, validate the JSON structure against a strict schema. Check that severity is one of the allowed enum values (low, medium, high, critical), that escalation_path contains a valid team identifier from your routing table, and that confidence is a float between 0.0 and 1.0. If validation fails, retry once with the same payload and an explicit error message appended to the prompt (e.g., 'Your previous output failed schema validation. Return ONLY valid JSON matching the specified schema.'). If the retry also fails, escalate the raw event to a human analyst with a schema_failure flag. Log every validation failure and retry for prompt performance monitoring.
Human review integration: For events classified as medium severity or with confidence below a configurable threshold (start at 0.85 and tune based on your team's false-positive tolerance), route the full event payload and model output to a review queue. The human analyst should see the original indicators, the model's assessment, and a one-click option to confirm, override, or downgrade the escalation. Capture the analyst's decision as ground truth for future eval dataset construction. This feedback loop is essential for measuring and improving the prompt's accuracy over time.
Audit and observability requirements: Every invocation of this prompt must produce an immutable audit record containing: the full prompt payload (with PII redacted if necessary), the raw model output, the validation result, the final escalation decision (including any human override), and timestamps for each stage. Store these records in a tamper-evident log for compliance review and incident postmortems. Use structured logging with trace IDs that connect the prompt invocation to the originating SIEM alert. This audit trail is not optional—confidentiality breach decisions are high-stakes, and regulators will expect evidence of consistent, defensible decision-making.
What to avoid: Do not use this prompt with models that have high hallucination rates on structured outputs without additional validation layers. Do not skip the confidence threshold check—a model that sounds certain is not necessarily correct. Do not allow the model to directly trigger destructive actions (e.g., account disablement, data quarantine) without human approval for any severity level below critical. And do not treat this prompt as static; regularly update the [BREACH_INDICATORS] taxonomy and [ESCALATION_PATHS] mapping as your threat landscape and organizational structure evolve. Run regression tests against a golden dataset of known breach and non-breach events before deploying any prompt changes.
Expected Output Contract
Defines the exact JSON schema and validation rules for the model's breach escalation decision. Use this contract to parse the response in your application and trigger the correct workflow.
| Field or Element | Type or Format | Required | Validation Rule |
|---|---|---|---|
escalation_decision | enum: [ESCALATE, DO_NOT_ESCALATE, INSUFFICIENT_DATA] | Must be exactly one of the three enum values. Reject any other string. | |
severity | enum: [CRITICAL, HIGH, MEDIUM, LOW] | Required if escalation_decision is ESCALATE. Must be null if DO_NOT_ESCALATE. Reject if severity is CRITICAL but decision is DO_NOT_ESCALATE. | |
urgency_justification | string | Required if escalation_decision is ESCALATE. Must be 1-3 sentences explaining the time sensitivity. Must not contain PII or raw data excerpts. | |
affected_data_categories | array of strings | Must contain at least one item if ESCALATE. Allowed values: [PII, PHI, FINANCIAL, CREDENTIALS, INTERNAL_DOCS, SOURCE_CODE, LEGAL_PRIVILEGED, TRADE_SECRET, OTHER]. Reject unknown categories. | |
breach_indicators | array of objects | Each object must have 'indicator' (string) and 'confidence' (float 0.0-1.0) fields. Array must not be empty if ESCALATE. Confidence must be a number, not a string. | |
recommended_escalation_path | string or null | Required if ESCALATE. Must match a valid team identifier from the allowed list: [SECURITY_OPS, LEGAL, COMPLIANCE, DPO, EXECUTIVE]. Must be null if DO_NOT_ESCALATE. | |
false_positive_risk | enum: [HIGH, MEDIUM, LOW] | Always required. Indicates the model's self-assessment of over-escalation risk. If HIGH and decision is ESCALATE, flag for human review before routing. | |
requires_human_review | boolean | Must be true if severity is CRITICAL, false_positive_risk is HIGH, or affected_data_categories contains LEGAL_PRIVILEGED. Otherwise may be false. |
Common Failure Modes
What breaks first when using the Confidentiality Breach Escalation Decision Prompt and how to guard against it.
Over-Escalation Fatigue
What to watch: The model escalates every anomaly as a critical breach, flooding the SOC with false positives and causing alert fatigue. This often happens when the prompt lacks severity calibration or treats all data categories as equally sensitive. Guardrail: Define explicit severity tiers with concrete examples (e.g., 'PII exposure = Critical', 'Internal doc metadata leak = Low') and require the model to map findings to a tier before recommending escalation path.
Under-Escalation of Subtle Exfiltration
What to watch: The model misses low-and-slow data exfiltration patterns, such as small chunks of source code sent over days, or data encoded in seemingly benign outputs. The prompt focuses on obvious breach indicators and ignores cumulative or obfuscated leakage. Guardrail: Add a specific instruction to check for aggregation risk and unusual output patterns over time. Include few-shot examples of subtle exfiltration (e.g., base64-encoded data in logs, steganographic-like patterns in summaries).
Data Category Misclassification
What to watch: The model incorrectly classifies the sensitivity of affected data, escalating a public document as confidential or treating a trade secret as internal-only. This skews severity assessment and triggers wrong escalation paths. Guardrail: Provide a strict data classification taxonomy in the prompt with definitions and examples for each tier. Require the model to cite specific content evidence when assigning a category, not just infer from context.
Context Window Truncation of Evidence
What to watch: Long incident logs or multi-turn conversations exceed the context window, causing the model to assess breach severity from incomplete evidence. Critical indicators in truncated sections are missed. Guardrail: Implement a pre-processing step that extracts and prioritizes breach-relevant segments before prompt assembly. Instruct the model to flag when its assessment is based on partial data and request the full evidence set.
Confidence Without Evidence Grounding
What to watch: The model asserts high confidence in a breach determination without linking to specific log entries, timestamps, or data samples. This makes the escalation unverifiable and forces manual re-investigation. Guardrail: Require the model to output a structured evidence map linking each breach indicator to a specific source excerpt. Add an eval check that fails the output if a severity claim lacks at least one grounded citation.
Escalation Path Ambiguity
What to watch: The model recommends escalation to 'the security team' or 'legal' without specifying the exact team, channel, SLA, or notification template. This creates operational delays as humans interpret vague handoffs. Guardrail: Embed a concrete escalation matrix in the prompt mapping severity tiers and data categories to specific teams, PagerDuty schedules, Slack channels, and required notification templates. Validate that every escalation output includes a specific routing target.
Evaluation Rubric
Run these eval cases against your prompt with real or synthetic incident reports to test output quality before shipping. Each criterion targets a specific failure mode observed in confidentiality breach escalation prompts.
| Criterion | Pass Standard | Failure Signal | Test Method |
|---|---|---|---|
Severity Classification Accuracy | Severity level matches ground-truth label within one adjacent tier for 95% of test cases | Output severity differs by two or more tiers from ground truth; critical breach labeled as low | Run 50 labeled incident reports through prompt; compare output severity against expert-labeled severity; measure exact match and adjacent-tier accuracy |
Over-Escalation Rate | False-positive escalation rate below 15% on non-breach scenarios | More than 15% of benign incidents or policy-compliant data access flagged for escalation | Inject 20 non-breach scenarios (e.g., authorized data sharing, routine access); count escalation recommendations; calculate false-positive rate |
Under-Escalation of Subtle Exfiltration | Detects at least 80% of slow-leak or low-signal exfiltration patterns | Misses exfiltration via print-to-file, screenshot, small batch export, or encrypted channel | Use 10 synthetic reports with subtle exfiltration indicators (low volume, staggered timing, encrypted transfer); measure detection rate |
Affected Data Category Identification | All affected data categories from ground truth are present in output; no hallucinated categories | Missing a regulated data category (e.g., PII, PHI, PCI) that was present in the incident; or adding a category not supported by evidence | Compare output [AFFECTED_DATA_CATEGORIES] field against labeled categories in 30 test cases; measure precision and recall per category |
Escalation Path Correctness | Recommended escalation path matches policy-defined path for the severity and data category combination | Escalation routed to wrong team (e.g., legal instead of security operations) or skipped required approval tier | Map each test case to expected escalation path from policy matrix; compare output [ESCALATION_PATH] field; flag any path mismatch |
Urgency Justification Quality | Justification contains at least one specific, evidence-grounded reason tied to breach indicators | Justification is generic (e.g., 'data breach detected'), circular, or hallucinates indicators not present in the report | Review output [URGENCY_JUSTIFICATION] field; check for presence of at least one concrete indicator from the input; flag empty, generic, or hallucinated justifications |
Confidence Score Calibration | Confidence score correlates with correctness; high-confidence outputs are correct at least 90% of the time | High-confidence outputs (score > 0.9) are wrong more than 10% of the time; or confidence is always 0.99 regardless of ambiguity | Bin outputs by confidence score decile; measure accuracy per bin; check that high-confidence bins have high accuracy; flag uniform confidence distribution |
Output Schema Compliance | Output is valid JSON matching the [OUTPUT_SCHEMA] with all required fields present and no extra fields | Missing required field; wrong type; extra field not in schema; unparseable JSON | Validate every test output against the defined JSON schema; count schema violations; require 100% schema compliance across test set |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Adapt This Prompt
How to adapt\nUse the base prompt with a single severity tier and simplified output schema. Replace multi-field evidence requirements with a single `rationale` field. Remove escalation path logic and return only a `recommended_action` enum.\n\n### Watch for\n- Over-escalation on ambiguous indicators\n- Missing structured output validation\n- Prompt producing prose instead of machine-readable JSON

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us