Provisioning tells you what an agent is allowed to do in theory. Runtime attestation shows what it actually did under load, which is the only defensible basis for minimum-necessary evidence when agent behavior varies by encounter, workflow, and model state. That is especially important when access must be proven after the fact.
Why This Matters for Security Teams
Clinical AI agents do not behave like static workloads. They can change tool use, sequence actions differently, and reach into sensitive systems based on the encounter in front of them. That makes provisioning necessary but insufficient: it shows entitlement at issuance, not conduct during execution. For healthcare teams, the real risk is not whether the agent had a token, but whether it used that token only within the intended clinical scope.
That distinction matters because clinical environments combine high sensitivity, fragmented workflows, and strong after-the-fact accountability requirements. Guidance from the NIST AI Risk Management Framework and the OWASP Agentic AI Top 10 both point toward runtime governance because pre-issued access cannot prove safe behavior under changing context. NHIMG research on the OWASP NHI Top 10 also reinforces that autonomous systems inherit the same identity risks as other NHIs, but at machine speed.
In practice, many security teams encounter overbroad agent access only after a clinical workflow has already touched records, tools, or external services that were never intended for that encounter.
How It Works in Practice
runtime attestation adds evidence about what the agent actually did, not just what it could do. In a clinical setting, that usually means pairing workload identity with request-time policy checks, task-scoped credentials, and immutable telemetry that records tool calls, patient context boundaries, and decision points. The agent presents cryptographic proof of identity, then each action is evaluated against current policy rather than a broad standing role.
Current best practice is evolving toward a layered model:
- Use workload identity to prove the agent instance and workload origin, rather than relying on a shared service account.
- Issue short-lived credentials per task or encounter, then revoke them automatically when the task ends.
- Evaluate authorisation at runtime with policy-as-code, so the decision reflects the patient context, the tool requested, and the current risk state.
- Capture attested logs of tool use, prompt-to-action transitions, and downstream resource access to support audit and clinical review.
This approach aligns with the direction of CSA MAESTRO agentic AI threat modeling framework and the runtime controls encouraged by the MITRE ATLAS adversarial AI threat matrix. It also fits the pattern described in NHIMG coverage of the Analysis of Claude Code Security, where security depends on what the agent does under live conditions, not only on pre-declared permissions.
These controls tend to break down when hospitals bolt agents onto legacy IAM, because standing roles and shared credentials cannot express encounter-specific constraints or prove the exact path an autonomous agent followed.
Common Variations and Edge Cases
Tighter runtime control often increases operational overhead, requiring organisations to balance auditability against latency, integration complexity, and clinical usability. That tradeoff becomes sharper when agents support urgent care, multi-step escalation, or vendor-hosted model endpoints.
There is no universal standard for this yet, but current guidance suggests a few practical variations. For low-risk administrative workflows, organisations may accept lighter attestation with strong logging. For direct patient-care workflows, stronger runtime proof is usually warranted, especially when agents can query records, schedule actions, or trigger external messaging. Shared model gateways are another edge case: they can centralise enforcement, but they do not remove the need to attest each agent instance and each encounter-level action.
NHIMG research on the Gemini AI Breach – Google Calendar Prompt Injection and the OWASP Agentic Applications Top 10 shows why prompt injection, chained tool use, and context drift make provisioning-only models fragile. In environments with disconnected networks, heavily customised EHR integrations, or life-critical response times, runtime attestation may need to be selective, event-driven, and paired with local fallback controls rather than enforced uniformly at every step.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10, CSA MAESTRO and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST AI RMF and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | A2 | Runtime attestation limits unsafe agent action after prompt injection or tool chaining. |
| CSA MAESTRO | T2 | MAESTRO models agentic risk across runtime behavior, not just initial access. |
| NIST AI RMF | GOVERN | AI RMF governance requires accountability for agent behavior under operational conditions. |
| OWASP Non-Human Identity Top 10 | NHI-03 | Clinical agents rely on secrets and credentials that must be short-lived and monitored. |
| NIST Zero Trust (SP 800-207) | PR.AC-4 | Zero trust supports request-time authorization instead of perimeter trust for agents. |
Replace standing credentials with ephemeral identity and continuous secret oversight.