Robotic Surgery · 14 / 26

Prisma AIRS Runtime Security

How Palo Alto Networks Prisma AIRS scans every input, reply and tool call of the surgery platform's language-model components, and the threats it is tuned for.

What Prisma AIRS adds

Prisma AIRS is Palo Alto Networks' AI (artificial intelligence) security platform. In this design its runtime security is used inline for the language-model components: the platform and the AI gateway send each input, retrieved clause, reply and tool argument to a scan API (Application Programming Interface) with a named security profile, and act on the verdict. It does not sit in the real-time control path, which has no language model and is protected by its own isolation. Other parts of the platform fit the lifecycle around it: scanning models before deployment, red-teaming before launch and watching posture over time. Product names and packaging change, so check the current documentation.

Where runtime security scans sit in the surgery platform Structured case facts, dictation and referral text are scanned before a language model reads them. The model drafts, the reply is scanned, and any tool call proposed by the copilot passes a policy check and an argument scan before the clinical systems gateway runs it. A block at any scan routes the work to the team for manual documentation. None of this is in the control path. Facts or dictation structured · referral · notes Scan: input injection · PHI · links AI gateway alias routing · budget Scan: output PHI · grounding Tool call proposed by the copilot Policy check draft only · scope Scan: tool args injection · PHI Clinical gateway draft · task · read A block at any scan ends the step: the team documents manually, with a security log entry. The control path is untouched.
Scans sit on the input, the output and the tool arguments of the documentation assistant. A block routes the work to the team.

The scan is a check, not the whole defence. Draft-only tools, scopes on the clinical systems gateway and the signing rules in ADR-002 still apply when a scan passes.

Where scans run

Scan pointWhat is scannedMain risksOn block
InputStructured case facts, dictation, referral letters and notesPrompt injection, sensitive data, malicious links, hidden textRoute to the team for manual documentation; log the event; do not call a model
Retrieved contextProtocol and instructions-for-use clauses returned by retrievalIndirect injection hidden in a documentDrop the passage; log the source for review
OutputThe model's draft before it is shownLeaked patient data, unsupported clinical statements, invented factsReplace with a flag; the team writes it
Tool argumentsArguments the copilot proposes for a draft or a taskInjection into free text, exfiltration through a note fieldRefuse the call; keep the case state
Tool resultsText coming back from a clinical systemInjection through free-text notesStrip the field; continue with structured data only

The security profile for surgical documentation

The surgical-docs-prod profile is deliberately strict because the text concerns patients and clinicians rely on it.

DetectionSettingWhy
Prompt injectionBlockRecords, referrals and dictation can carry hidden instructions
Sensitive data in prompts and repliesBlock replies, mask or block promptsIdentity, health information and images must not leak
Malicious URLs (Uniform Resource Locators)BlockNotes and letters can contain links
Malicious codeBlockNo code should enter or leave a clinical workflow
Topic guardrailsBlock clinical advice, diagnoses, promises of outcomes and anything about controlling devicesThe assistant drafts facts for clinicians; it does not decide or advise patients
Contextual groundingFlag; route to a person when repeatedDrafts must match the structured facts and the retrieved clause

Calling the scan

A synchronous scan returns a verdict and the detections that fired. The platform treats anything other than an explicit allow as a block, and fails closed for write paths if the call fails.

security/airs.py · illustrative; field names depend on the current API version
import httpx, uuid

SCAN_URL = os.environ["AIRS_SCAN_URL"]          # synchronous scan endpoint from the tenant
PROFILE  = "surgical-docs-prod"

def scan(prompt: str | None = None, response: str | None = None, *, case: str, model: str) -> dict:
    body = {
        "tr_id": str(uuid.uuid4()),
        "ai_profile": {"profile_name": PROFILE},
        "metadata": {"app_name": "surgery-platform", "app_user": case, "ai_model": model},
        "contents": [{k: v for k, v in (("prompt", prompt), ("response", response)) if v}],
    }
    r = httpx.post(SCAN_URL, json=body, headers={"x-pan-token": os.environ["AIRS_API_KEY"]}, timeout=2.0)
    r.raise_for_status()
    return r.json()

def allowed(verdict: dict) -> bool:
    return verdict.get("action") == "allow"       # anything else, including missing, is a block
Scanning a draft, and failing closed The copilot reads structured facts and drafts a note. The draft's tool arguments are scanned. If the scan service times out on a write path, the platform fails closed, does not store the draft and tells the team to document manually. The surgery is unaffected. OR copilot Prisma AIRS AI gateway Clinical systems gateway Care team scan input facts allow draft the note draft scan draft_operative_note arguments timeout fail closed: write path document manually: scan unavailable The control path is not involved.
Scanning a draft, and failing closed

A scanning outage never turns into unscanned writes. The cost is slower documentation, which is the decision in ADR-006.

Threats specific to this platform's language-model components

ThreatExampleControls
Hidden instructions in a record or referralText in a referral telling the assistant to alter a margin or skip a countInput scan; structured facts only; the assistant has no tool that changes a plan or a count
Altering what a note saysA draft that omits a safety eventDrafts are built from structured facts including every event; the surgeon reads and signs
Leaking patient dataAsking the assistant to summarise another patient's caseOutput scan; ownership check on every tool; no cross-patient tool
Overreach in adviceA request for a diagnosis or a prediction of outcomeTopic guardrail; the assistant declines and points to the clinician
Tampering with a draft before filingA change after the surgeon has read itSigned content hash; filing only the signed version
Cost abuseA flood of large inputsSize limits; per-key budgets and rate limits

Operating it

  1. Latency budget

    Scans must fit the documentation budget. Run the input scan in parallel with retrieval and use the reply only after its scan passes.

  2. Fail closed on writes

    If the scan service is unreachable, drafts and tasks are not written and the team documents manually. Reading continues.

  3. Red-team before use

    Run an automated and a human red-team campaign against staging. Every finding becomes a test in the evaluation set.

  4. Security events

    Send blocks to the security team's tools with the case and trace identifier, never the blocked text in clear.

  5. Tune with evidence

    Review false positives weekly. Change profile settings through review, and rerun the evaluation set after each change.

Build this for your business

This example is speculative and not an approved device, but the same pattern, deterministic safety for every hard duty, a governed gateway, runtime security, advisory-only AI and measured quality, fits any safety-critical service. We can scope a pilot on your own systems.

Book a discovery call