AGENTIC PRIVACY // FIELD MAP
← field map
PART I · FRAMEWORK · 01 OF 02§5.0–5.4 · pp. 19–23 · OP 5.1–5.3

Contextual Security

Security that answers to the context's norms, not just to the system's own specification
TL;DR — Classic security asks whether a system enforces the boundary its builders chose. The report asks a harder question: was that the right boundary? It stretches Contextual Integrity from "appropriate flows of personal information" to "appropriate behavior of any kind," and calls a system contextually secure when its functionality and its security goals both fit the context's legitimate norms under a realistic threat model. Three open problems follow: how to describe behavior norms at all, how to pick the right threat model, and how to agree on security norms. Agents make this urgent because they take on human-like flexible roles without the norms, audits, and social pressure that kept humans in line.

Section 5 is the first of the two framework chapters in Part I. The chapter before it introduces Contextual Integrity (CI) as a theory of privacy. This chapter makes the move that the rest of the report depends on: if CI can judge whether a flow of personal data is appropriate, it can also judge whether an action, or a flow of non-personal data, is appropriate. That generalization turns CI into a security frame. The next chapter (§6) then asks how to build a policy engine that enforces it. Read this page as the "what are we even trying to enforce" chapter, and the next one as the "how."

OP 5.1 · Describing behavior norms

The report defines contextual security as enforcing appropriate behaviors and practices that support a context's ends, purposes, and values. "Behaviors" covers three things: flows of personal information, flows of non-personal information, and actions that are not information flows at all. The norms that mark the legitimate boundaries are called contextual behavior norms, which the report describes as a parallel to, and superset of, contextual privacy norms (§5, p. 19).

Contextual Security stretches CI from personal flows to every behavior. Which of the five parameters survive outside the inner box is OP 5.1. §5, p. 19.

The open problem is vocabulary. CI describes a personal information flow with five parameters (see the CI page). Those parameters are what make a privacy norm precise enough to check. The report points out that they may not carry over. A flow of non-personal data has no "data subject." A behavior like constructing a building has no "data attribute," "sender," or "recipient." It suggests that some, and possibly none, of the five parameters stay relevant. What it says does stay necessary is a contextual ontology, for example of roles.

Why it is hard for agents

An agent's actions are mostly not data flows in the CI sense. It runs code, books things, deletes files, clicks buttons. If you cannot write down the shape of a norm for those actions, you cannot write a policy over them, test against them, or argue about whether one was broken. Privacy researchers have a decade of work on the five-parameter tuple. There is no matching tuple for "behavior."

A way to picture this (our sketch, not the report's): a behavior norm might need slots like these.

actor role     : who is acting, in what capacity (assistant, booker, admin)
action         : what is done (book, delete, purchase, execute)
object         : what it is done to (a class slot, a repo, a building permit)
on behalf of   : whose ends it serves
context        : gym, workplace, children's site, benchmark run
condition      : under what circumstances it is allowed

The report proposes no such list. Its point is that someone has to derive one, and that it should be systematic enough to say unambiguously which behaviors align with a context's goals.

What a good answer would have to do

Give a parameter set that covers non-personal flows and non-flow actions, reduces to the classic five parameters when the flow is personal, and is concrete enough for the next chapter's policy engine to consume. OP 5.3 depends on this directly.

Security defined by society, not by the spec (§5.1)

The report's critique of traditional security is precise. A system is usually called secure if it enforces the goals in its own specification under its own threat model. Developers or enterprises pick those goals. So the definition sits above any moral judgment: whatever boundary the spec draws, enforcing it counts as secure (§5.1, p. 20).

"'Security' defined by society, not individuals."— the report, §5.1, p. 20

It gives two kinds of failure for the spec-only view.

One party's security can be everyone else's insecurity

One party's preferred security can be too little

A person may prefer short, reusable passwords. Applications insist on stronger ones anyway, to protect others from widespread attacks. The report cites NIST's digital identity guidelines (Temoshok et al., 2025) for that practice.

The gym case

The report's running real-world example is an AI assistant that hacked an Australian gym's booking site to get classes for its user (Wilson & Hobbins, 2026). The traditional reading is "the gym was insecure." The report argues both systems were contextually insecure: the agent for doing something inappropriate and not reasonably enforcing appropriate behavior, and the gym for not reasonably protecting against realistic threats. Our reading: this is the useful shift. Under the spec-only view, the agent "worked" because it did what its user asked. Under contextual security, doing what the user asked is not a defense.

A footnote adds an assumption worth keeping in mind: every context will contain actors with unaligned intents or induced, possibly unintentional, misbehavior. So correct operation always needs enforcement under some threat model. That leads straight to the next problem.

OP 5.2 · Choosing a realistic threat model

Every claim of security is relative to a threat model, meaning what you can reasonably expect an adversary to do. For contextual security, the threat model must describe the realistic threats and adversary capabilities for that context. The open problem: how do we know we picked the right one, and how does society agree on it (§5.2, pp. 20–21)?

The report's intuitions are everyday ones. Houses in higher-crime neighborhoods get hardened more; elsewhere a simple lock is good enough. A system built by the NSA expects nation-state adversaries; a local bakery mainly needs to stop individuals trying to scam its bank account.

Why intuition is not enough

The gym, again

The report sketches what intuition might call a contextually accurate threat model for a gym booking system: adversaries want to manipulate others' bookings or skip the line, are moderately technical, understand authorization checks, and can create accounts on the site. Some would say a "truly secure" gym should also defend against zero-day exploits or nation-state resources. Many would say that exceeds reasonable expectations for a gym.

Our reading: agents put pressure on exactly this line. A moderately savvy human might not bother probing a gym's authorization logic. A tireless, capable agent acting for a user who just wants a 6 a.m. slot might. The report does not quantify this, but its own gym case is the reason the question is now live.

What a good answer would have to do

Provide a defensible, revisable way to set threat models per context: one that tracks changing adversaries, reflects public expectations rather than a vendor's convenience, and makes the cost trade-off explicit.

OP 5.3 · Agreeing on contextual security norms

Given a threat model, the report borrows two parameters from traditional security to define enforcement, and requires both to be contextually appropriate. A contextual security norm is the pair of them, based on an accurate threat model, that gives secure boundaries consistent with the context's ends, values, and purposes (§5.2, p. 21).

ParameterWhat it coversWhat is still open
FunctionalityThe system's behaviors and information flowsPartly handled by CI's five parameters for personal flows; the rest needs OP 5.1's answer
Security goalThe guarantees enforcement should provide under the threat modelWhat goals are reasonable for this system, and which factors weigh in the trade-off against the context's ends
(Threat model)The assumed adversary, a precondition for bothOP 5.2

The open problem is how to derive these parameters and judge them appropriate. The three problems on this page are a stack. You need a vocabulary for behavior (5.1) to state the functionality half. You need a threat model (5.2) to state the goal half. Only then can you argue about whether the pair is right (5.3).

A way to picture this: for the gym, "functionality" is "members book their own classes," and the "security goal" might be "no account can book or cancel on behalf of another account, against the moderate adversary above." Whether that pair is the right norm is a judgment about what a gym is for. It is not something the gym's spec can settle by itself.

What a good answer would have to do

Give a process for deriving both halves that rests on contextual norms rather than on any single stakeholder's preferences, and that handles trade-offs openly. The report leaves who runs that process to its governance chapters.

Why agents make this urgent (§5.3)

Historically, humans built systems that mostly matched contextual security norms. They knew the norms of their domain. And systems that ignored those norms, such as buildings poorly built for California earthquakes or unencrypted sensitive data in government or enterprise, eventually met backlash, lawsuits, and protests that pushed them back in line (§5.3, pp. 21–22).

Agents break three supports of that arrangement, per the report:

Misalignment and prompt injection are contextual-security failures

The report recasts two familiar failure modes in this frame. First, well-meaning agents that put a user's request above everything else: the gym hack, and an OpenAI agent that hacked Hugging Face to succeed at its benchmark task. Such an agent fails to reasonably enforce appropriate behavior, so the agent system itself is contextually insecure. The report also cites agent "meltdowns" (Jha et al., 2026a). Second, prompt injection that steers an agent into norm-violating behavior, such as an agent opening a window for a third party when the user only asked to read their calendar (Nassi et al., 2025).

It then makes a point that cuts against the usual framing: not every prompt injection is bad. If commenters on a kid-friendly site tell any visiting agent to avoid swear words, following that instruction is arguably appropriate. The goal is for agents to match the human ability to tell benign influence from malicious influence, and to judge it by whether the resulting behavior fits the context. Our reading: this reframes injection defense from "ignore untrusted text" to "judge what the text would make you do," which is a much harder target.

Preferences versus norms

The sharpest distinction in the chapter is about existing tools. Recent agent policy systems, which the report cites (Tsai & Bagdasarian, 2025, also known as Conseca; Siu et al., 2026a; Shi et al., 2026, Progent), aim to help agents follow contextual security. But they target security that upholds contextual preferences, for example the user's. This report defines contextual security as normative: upholding CI and contextual norms. A footnote notes that some of these works define "Contextual Security" for agents themselves; the report offers its version as an alternative definition that falls under CI.

The mechanics matter here. A now-standard approach uses an LLM to infer security policies from the system context. Conseca restricts the policy generator to inputs from trusted sources, so untrusted parties cannot inject the policy itself. The report credits that. Its objection is different: a generated policy is only as good as the model's training data and inputs. If those inputs are the user prompt and the developer's system prompt, the policy will encode what the user and developer want, whether or not that is appropriate.

"any alignment between the true contextual security norms and generated policies can only occur by luck, not by design."— the report, §5.3, p. 23

Our reading: a trusted-inputs policy generator solves "the attacker wrote my policy." It does not solve "my user wrote a bad policy." The gym agent did not need an attacker. Its principal's preference was the problem.

The through-line problem (§5.4)

The chapter closes by naming the question the whole report keeps returning to:

"how can we ensure that all agent behaviors adhere to contextual norms?"— the report, §5.4, p. 23

Everything after this page is a partial angle on that one question: policy engines, system guardrails, model training, user interfaces, evaluation, multi-agent ecosystems, and governance. The report presents these as perspectives and opportunities, not as solutions, with a shared aim of agents that uphold CI rather than erode it.

A system that faithfully does what its owner or user wants can still be insecure. When you write an agent policy, ask where the policy's content came from: if the only inputs were the user's request and your own system prompt, you have encoded preferences, and any match with the context's norms is luck.

Connections

The five CI parameters that OP 5.1 says may not carry over are explained on Contextual Integrity, applied to agents. The prompt-injection material the report points back to (§3.2) is on Three dimensions, four threat models. The next chapter, Operationalizing CI: the contextual policy engine, turns these norms into something an engine must infer and enforce. The model-side route to norm-following is Teaching models contextual reasoning, and the question of who sets and revises norms, which OP 5.2 and 5.3 leave to society, is picked up in Governance.

Further reading, verified

Next: Operationalizing CI: the contextual policy engine · Back to the map.