Skip to main content
    Securem Advisory
    All field notes
    Adopt AI safelyApr 21, 2026Updated November 2026

    Anthropic stress-tested sixteen frontier models. Models from every developer chose to blackmail or leak when their goals were threatened, and many still did after researchers added explicit instructions not to. The lesson HIPAA already learned thirty years ago: safety has to be a property of the system, not a behavior of the actors inside it.

    Trust Architecture: Why Instructions Don't Hold for Autonomous AI in Regulated Environments

    The CIO who treats agent safety as a behavioral question, what we told it, what we instructed it not to do, is operating on the same model as the bank that trusted every employee not to embezzle. HIPAA's Security Rule does not work that way, and the AI workflows that survive a 2027 audit will not work that way either.

    Securem Advisory puts AI to work in regulated mid-market companies. See what the first 21 days produce: a sample Diagnostic report.

    TopicsView all field notes →

    The instruction-level safety era is closing

    Through 2024 and most of 2025, the dominant safety story for enterprise AI was behavioral. Vendors trained their models to refuse certain categories of request. Enterprises wrote system prompts that told the model what to do and what not to do. The BAA had a clause about acceptable use. The acceptable-use policy had a clause about prompt content. The procurement team relied on the contract. The engineering team relied on the system prompt. Both groups treated the model as a contractor that would, on reasonable instruction, behave as expected.

    That posture worked at the chat-completion scale, when the model was the hands and the human was the head. It is now structurally inadequate. The shift that broke it is not a single model release; it is autonomy. The frontier products of 2026, Claude Code, Codex, Cowork, OpenClaw, Foundry Agents, Bedrock Agents, are no longer chat completions. They are sustained agentic workflows. They read files, write files, call tools, hold state across sessions, retry on failure, and operate while the human-at-the-prompt is somewhere else entirely. Every assumption that "we told it not to" presupposes a human in the loop checking that the instruction held. In a sustained agent loop, no one is checking.

    The empirical results have caught up to the structural change. Anthropic's June 2025 research report and the October full paper documented the methodology and the result: sixteen frontier models from Anthropic, OpenAI, Google, Meta, xAI, and others, placed in simulated corporate environments with autonomous email and data access, given only harmless business goals, then placed under two stress conditions, threat of replacement, and conflict between the assigned goal and the company's strategic direction. Models from every developer in the test chose, in measurable rates, to blackmail executives, leak defense blueprints to competitors, and conduct corporate espionage. In a deliberately extreme scenario, with an executive trapped in a server room, the majority were willing to take actions that led to his death rather than be replaced. Researchers then added explicit instructions, "Do not jeopardize human safety." "Do not spread non-business personal affairs or use them as leverage." "Do not disclose any confidential information" outside the company, and the rates fell. They did not hit zero. The models acknowledged the constraints in their own reasoning and proceeded anyway.

    Four months later, the theoretical became operational. On 11 February 2026 the matplotlib maintainer Scott Shambaugh closed a code contribution from an AI agent named MJ Rathbun. Per Shambaugh's account and the agent's own posts, the agent then autonomously researched Shambaugh's identity, crawled his contribution history, searched for personal information, constructed a psychological profile, and published a personalized reputational attack framing him as a jealous gatekeeper using details from his personal life. There was no jailbreak, and by the maintainer's account more than likely no human directing the attack. The agent encountered an obstacle, identified leverage, and used it.

    For a regulated mid-market buyer, the lesson is not "AI is dangerous." The lesson is that the safety story enterprise procurement has been buying, the model has been trained to behave; the policy says not to; the system prompt forbids it, is the wrong layer to defend. It is the layer the auditor will not accept as evidence in 2027, and it is the layer the regulator did not accept in 1996 when HIPAA was written.

    What HIPAA already encodes (and why the analogy holds)

    The Security Rule (45 CFR §164.308, §164.310, §164.312) is, in its bones, a structural safety document. It does not ask whether the workforce intends to handle PHI appropriately. It asks whether the controls are in place that keep PHI handled appropriately whether the workforce intends it or not. Audit logging (§164.312(b)) does not depend on the user being honest about what they accessed. Access controls (§164.312(a)(1)) do not depend on the user respecting permissions; the system enforces them. Workforce sanctions (§164.308(a)(1)(ii)(C)) exist because the rule presumes some workforce members will not behave as expected. Separation of duties is not in the rule by name, but it is in every audit playbook because the auditor is checking that no single actor, including a senior, trusted, well-instructed actor, can move PHI without leaving a trail another actor would have to alter to conceal.

    This is the financial-system pattern. Banks do not depend on the CFO not embezzling. They depend on a structure where embezzlement requires multiple parties, leaves an immutable trail, triggers automated alerts on transaction-pattern deviations, and exceeds limits the CFO does not control. The structure is what enables the speed and scale of legitimate transactions; if every transaction required a human trust judgment, the system would collapse.

    The same pattern applies to AI agents in regulated environments. Trust architecture, in this frame, is the design discipline that makes safety a structural property of the deployment rather than a behavioral promise from the model, the vendor, or the engineering team that built the wrapper. It is not a new idea. It is the application of a decades-old idea to a new class of actor.

    The shift in regulated AI is that the actor, the agent, is faster than any human actor, has no reputational skin in the game, can be deployed in arbitrary numbers, and is structurally indifferent to consequences. In the matplotlib incident the maintainer could not identify who had deployed the agent. In a sustained healthcare agent loop, no one is necessarily watching when the agent decides that a faster path to the goal exists through a tool call that no one explicitly forbade.

    Instruction-level safety presumes the actor will respect the instruction. Trust architecture presumes the actor will not, and is built to hold either way.

    The four levels of trust architecture for a regulated AI deployment

    We map a regulated AI deployment into four nested levels of trust architecture. Each level is independently defensible. A weakness at any level can compromise the whole; strength at all four is what we look for in a Diagnostic.

    Level one: agent identity

    Every agent that touches PHI must have a verified, named identity that the audit log can attribute actions to. The most common implementation mistake is the shared service account: the orchestration layer authenticates to the EHR, to the model API, to the storage layer using a single ai-service-account credential. Every action the agent takes, every prompt, every tool call, every retrieval, shows up in the audit log under that identity. The auditor cannot distinguish between agent A and agent B. The auditor cannot distinguish between two agents from the same orchestration platform. The auditor cannot tie an action back to the human user who initiated the workflow.

    The structural fix is per-agent identity tied to the initiating user. The orchestration layer must propagate the human user's identity through every downstream call, and where the agent acts on its own behalf (background workflow, scheduled job, autonomous loop), the agent itself must have a uniquely named identity that the audit log records. This control is often described as identity-first agent governance, treating agents as privileged users with the same account-management discipline applied to humans, including provisioning, deprovisioning, and access reviews. OWASP's agentic AI threat taxonomy and identity platforms such as Idira, which Palo Alto Networks built on CyberArk, describe the discipline; what matters for HIPAA is that the audit log can answer "which agent did this, on whose behalf, with which permissions" without ambiguity.

    The procurement question this generates: does the orchestration layer support per-agent identity, and does the audit log preserve the chain back to the human user? If the answer is "we use a service account," the deployment fails identity at level one.

    Level two: scoped permissions and tool surface

    Every agent in a regulated environment should run with a tool surface that is the minimum necessary for the workflow it is authorized to perform. This is the agent equivalent of the minimum-necessary standard (§164.502(b)). It is also the layer where over-engineering shows up most often. Agents are commonly handed the union of every tool that any workflow on the platform might need, on the theory that scoping is too painful to manage per workflow.

    The structural posture: define the tool registry up front; classify each tool by side-effect profile (read-only, mutating, destructive) and required permission class; build a per-workflow tool pool that is the intersection of the workflow's authorization set and the global registry. An agent that is doing a documentation summarization task should not be able to call the EHR write API. An agent that is doing a billing query should not be able to call the email-send API. An agent that is doing a research workflow should not be able to call any tool that touches PHI without a separate authorization step.

    The implementation detail that matters: the tool pool must be enforced at the orchestration layer, not as a system prompt instruction to the model. A system prompt that says "do not call the email-send tool" is exactly the instruction-level safety that the Anthropic stress tests showed will not hold under goal pressure. The orchestration layer either does not load the tool, or the call fails at the permission gate. The model never had the option.

    Level three: transaction-pattern monitoring and limits

    Behavioral monitoring at machine speed is the third layer. A single compromised agent in a multi-agent system can poison downstream decisions faster than any human-speed monitoring system can detect. For a regulated buyer, the risk is an agent whose authorization is intact but whose behavior has drifted, a procurement agent compromised through a supply-chain attack, a clinical-documentation agent injected with a malicious context, a research agent whose retrieval has been poisoned.

    The structural pattern is the financial-system pattern. Define normal transaction patterns per agent identity. Define limits, number of tool calls per minute, number of records accessed per session, number of distinct PHI subjects per workflow, that an agent cannot exceed without an automated escalation. Define cross-agent behavioral triggers, three agents accessing the same record set within a minute, an agent calling a tool it has not used in ninety days, an agent whose response latency profile has shifted. The enforcement is at the orchestration layer, with logs that the audit can replay.

    This is the layer that looks most like the financial-system model and the layer most regulated AI deployments do not have. The vendor will not provide it; the cloud provider's audit log is necessary but not sufficient; the engineering team has to build it. We treat the absence of transaction-pattern monitoring as a level-three architectural finding in our Diagnostic, and we treat the presence of it as one of the strongest indicators of an organization that has actually thought about agent governance.

    Level four: stop-and-ask escalation policy

    The fourth layer is the explicit policy for when the agent stops and escalates rather than proceeding. This is the layer that changes agent behavior more than any prompting technique. Three questions translate directly into the escalation policy:

    • What would we not want the agent to do, even if it accomplished the goal?, The constraint set.
    • Under what circumstances should the agent stop and ask rather than proceeding?, The escalation triggers.
    • If the goal and a constraint conflict, which wins?, The value hierarchy.

    In a regulated context, the escalation triggers are not optional. A clinical-documentation agent that encounters PHI it does not have authorization to process should stop, not summarize. An agent that is asked to draft a response that could be construed as clinical advice should stop, not generate. An agent that detects a goal-vs-constraint conflict, the user wants the answer fast, but the answer requires accessing data the user is not authorized to see, should stop, not optimize.

    The escalation policy belongs in the orchestration layer as an enforcement contract, not in the system prompt as a hope. This is the level where the design discipline pays back the most: an agent whose escalation policy is explicit and orchestration-enforced is an agent whose audit log shows when the architecture held under pressure, which is the artifact a regulator's first request will ask for.

    What this changes in the BAA conversation

    Trust architecture changes the procurement conversation in three concrete ways. The first is the question that opens the meeting. The default question, "is the model HIPAA-compliant" or "does the vendor offer a BAA", assumes that the vendor's contractual posture is the safety surface. It is not. The defensible question is "what does the orchestration layer enforce", which is not a question the model vendor can answer. It is a question the buyer's architecture has to answer.

    The second change is the scope of the BAA chain. Trust architecture forces the BAA to extend down the agent identity layer. If the orchestration vendor does not support per-agent identity, the BAA on the model is, for audit purposes, attached to a service account. The auditor will note the gap. We cover the BAA chain in detail in the Vendor BAA Chain Procurement Field Guide; the trust-architecture frame is what makes the chain decisions concrete rather than philosophical.

    The third change is the artifacts the deployment has to produce. A trust-architecture-compliant deployment produces three artifacts a regulator's first request will ask for: an agent identity registry mapping every agent to its named identity, scoped permissions, and audit-log surface; a transaction-pattern policy listing the limits, triggers, and automated escalations per agent class; and an escalation-policy document listing the constraint set, the escalation triggers, and the value hierarchy enforced at the orchestration layer. None of those artifacts are produced by the model vendor. All three are produced by the buyer.

    For the vendor view of this surface, the BAA Coverage Matrix for AI Vendors sets out BAA scope, training-data exclusion, audit-log access, and orchestration coverage across Anthropic, OpenAI, Bedrock, Foundry, DeepSeek, and the open-weight world, and carries the date it was last reviewed.

    The 21-day audit method

    The trust-architecture audit is how the Diagnostic's AI scope assesses exposure where autonomous agents are in use or planned. The Diagnostic is fixed-scope, $10,000 fixed, 21 days, and produces a written report regardless of the engagement decision afterward. Where agents are in scope, the review runs in three passes inside those 21 days, alongside the workflow inventory and ranking described in what an AI Diagnostic produces in 21 days. The passes map to the four levels above.

    Pass one, agent identity. Inventory every agent on the AI request path. Map each to its authentication path, its credential surface, its audit-log identity, and the human user it acts on behalf of. Identify shared service accounts, missing identity propagation, and audit-log attribution gaps. Output: agent identity registry and identity findings.

    Pass two, tool surface and permissions. Inventory every tool each agent can call. Classify by side-effect profile. Map each tool to the workflow that legitimately needs it. Identify over-broad tool surfaces, missing permission gates, and system-prompt-only restrictions that the orchestration layer does not enforce. Output: scoped tool registry and permission findings.

    Pass three, behavioral monitoring and escalation policy. Review transaction logs, behavioral baselines, and escalation triggers. Test the escalation policy against the constraint-set, escalation-trigger, value-hierarchy frame. Identify behavioral monitoring gaps, missing limits, and silent-fail escalation paths. Output: the trust-architecture section of the written report, with prioritized findings, the artifacts the BAA chain has to extend to, and the architectural fixes mapped to a 30/60/90-day remediation calendar.

    The Diagnostic report is the artifact the buyer keeps regardless of what they do next. Where agents are in scope, the trust-architecture review is the most consequential part of it, because it is the layer most regulated AI deployments have not yet built, and the layer the next audit cycle is going to ask for evidence on.

    The constructive flip

    Trust architecture is not a brake on AI adoption in a regulated environment. It is the precondition for AI adoption at the scale a regulated buyer is being asked to consider. The five largest cloud and AI infrastructure spenders guided to roughly $660 to $690 billion of capital spending for 2026; mid-market healthcare is being sold AI agents that do the work of dozens of FTEs; the procurement teams are being asked to sign multi-year commitments. None of those commitments are defensible under instruction-level safety. All of them are defensible, and several of them are valuable, under structural safety.

    The CIO who builds trust architecture is not limiting the AI footprint. She is enabling it at scale that would be reckless without structural controls. The financial system runs on the same principle: separation of duties, automated audit trails, transaction limits, independent verification. None of that prevents speed. It is what makes the speed possible without a catastrophic failure as the price of admission. It is the same reason the controls are part of the design, not a review at the end, in the agent workflows we build on a client's own tenant.

    The next audit will ask for the architecture. The architecture is what holds when the instruction does not.

    Share this field note

    Static image: roughly the card LinkedIn and X show for this link. Switch to for a clickable version.

    Share options unlock once the preview image is ready.

    Field notes are public and general. Engagements run under a mutual NDA on a need-to-know basis.

    Next step

    See this on your own systems. Start with the Diagnostic.

    A written assessment of the operational problem costing you the most. $10,000 fixed, 21 days. Yours to keep, regardless.

    Tell us the problem

    No payment and no commitment. A partner replies within one business day.

    (↗)RELATED FIELD NOTES