2026-11-26 15:48 UTC

Paper identifies context-role and cross-scope privilege escalation risks in AI agents

state: corroboratedheat: lowuncertainty: mediumrelevance: highagentic-security context-security prompt-injection

What is this?

The paper, “What’s in Your Agent’s Context? Context Privilege Escalation Attacks against AI Agent Harness,” describes two ways an agent’s context assembly can undermine privilege boundaries: attacker-controlled content may be placed in a higher-privilege message role (MCPE), or its influence may persist across contexts beyond where it originated (XCPE). The authors say they systematically studied 12 agent harnesses. The supplied paper summary and search result support the central concern that context provenance and handling matter alongside tool permissions; they do not provide enough detail to verify the paper’s full methods, results, or the effectiveness of proposed defenses. Related supplied reports and discussions describe prompt-injection risks in agents, but are not independent confirmation of this paper’s findings.

Why it matters

The paper sharpens a core security problem for tool-using agents: an agent may act with its own legitimate permissions on the basis of attacker-controlled context. Its distinction between content promoted into a higher-privilege message role and influence that persists across contexts points to weaknesses in how harnesses assemble and carry context—not just whether a model recognizes a prompt injection. That is useful for anyone choosing or deploying agents with access to files, email, code, or other tools. The available evidence does not establish how prevalent these flaws are or how well proposed defenses work.

Current assessment

The paper, “What’s in Your Agent’s Context? Context Privilege Escalation Attacks Against AI Agent Harness,” distinguishes attacker-controlled content promoted into a higher-privilege message role from influence that persists across contexts; its authors report studying 12 harnesses. Later reports and demonstrations describe related agent prompt-injection and credential-exposure risks, while local monitoring tools such as Weir offer ways to observe sensitive-data flows; these do not independently validate this paper’s findings or show that such tools prevent its attacks. The evidence does not establish prevalence, severity across deployed harnesses, reproducibility, or the effectiveness of provenance-aware isolation and runtime permission controls. The latest added coverage is general discussion of agent behavior, not a material new result for this case.

Measured heat

now 0 pts/hpeak 2 pts/hcomments 0/hpeers p10momentum: steady3 platformsage 2048h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

09-02 07:26 (minted)⭐ origin echo-reconstructedThe paper identifies context privilege-escalation attacks against AI agents as a distinct security threat arising from what enters an agent’
paper authors on paper (echo) · attributed from hn.story.49532763 · published time unknown
—
09-02 07:07first on hacker news · published · lag ?What's in Your Agent's Context? Context Privilege Escalation Attacks Against AI
sbulaev
—
09-02 11:35first on r/ClaudeAI · published · lag ?Well I almost got prompt injected
autistamine
—
09-12 21:26first on r/artificial · published · lag ?Spike traps for AI: fun food for thought
Street_Estate2342
—
09-17 01:40first on r/OpenAI · published · lag ?From OpenAI: An unreleased research model inserted unrelated instructions, including instructions to disregard its normal constraints, into summaries used to continue its work in a new context window.
Rare_Guide_9830
—
09-20 20:12first on r/LocalLLaMA · published · lag ?gemma 4 ran a shell command a web page told it to. qwen 3.8 mostly didn't.
divinetribe1
—
09-02 07:07amplified on hacker newshn.story.49532763
sbulaev
peak 1 · 0 comments · 0% of case engagement
09-02 11:35amplified on r/ClaudeAI 👑reddit.post.1w57t43
autistamine
peak 884 · 68 comments · 57% of case engagement
09-02 16:56amplified on hacker newshn.story.49539111
Miyamura80
peak 2 · 0 comments · 0% of case engagement
09-04 19:00amplified on hacker newshn.story.49568736
ta988
peak 1 · 0 comments · 0% of case engagement
09-06 05:53amplified on hacker newshn.story.49583720
aghuang
peak 1 · 0 comments · 0% of case engagement
09-07 11:44amplified on hacker newshn.story.49597166
edf13
peak 3 · 0 comments · 0% of case engagement
24 more amplifiers in ainews.case_chain
09-02 07:21our radar first saw it · lag ?discovery anchor: hn.story.49532763—

Evidence (31) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnWhat's in Your Agent's Context? Context Privilege Escalation Attacks Against AIsbulaev10
🟧 echo.paper ⭐The paper identifies context privilege-escalation attacks against AI agents as a distinct security threat arising from what enters an agent’paper authors——
🟠 redditWell I almost got prompt injected
ClaudeAI
autistamine88268
🟧 hnShow HN: Sleeper Agents in Robot Dogs and Kinetic Prompt InjectionsMiyamura8020
🟧 hnNetworkManager Works to Enforce AI Policy by Tricking AI Agents to Add a Canaryta98810
🟧 hnRevealing a Hidden Class of Task-in-Prompt Adversarial Attacks on LLMsaghuang10
🟧 hnAn agent skill can hand a stranger your shell – hours after you installed itedf1330
🟧 hnAgent pasted a fake captcha into Terminal, it lived on my Mac for 30 daysgatreddi10
🟧 hnTaint tracking on AI agent traces: 0.48 precision on AgentDojoCodeNinja77830
🟠 redditWe told our own agent to betray us: 24-tool email MCP server, and what the approval gate had to survive
ClaudeAI
Soft-Lie-43405
🟧 hnA Git Config Key Ran Code in Seven Coding Agents. The 2022 Fix Does Not Stop Itedf1340
🟠 redditWhy I am receiving a prompt injection with <system-reminder> on Claude Code ?
ClaudeAI
Greenerli39
🟠 redditSpike traps for AI: fun food for thought
artificial
Street_Estate234244
🟧 hnA computational constitution to stop LLM agents from bricking serversmisqe32
🟧 hnPyshackle: A hard pre-execution gate for AI agent tool calls (open source)SHACKLE-PRO-10
🟧 hnWe gave a coding agent the lethal trifecta: data, internet, a public repojoeyorlando111
🟧 hnShow HN: What an agent does when anyone can read and rewrite its contextljedrz30
🟧 hnShow HN: Open-Source Lightweight Prompt Injection SafetyHiskias10
🟧 hnGitLost: We Tricked GitHub's AI Agent into Leaking Private Reposfagnerbrack11
🟧 hnI caught an LLM-powered recruiter with a prompt injection on LinkedInbucket201511
🟠 redditFrom OpenAI: An unreleased research model inserted unrelated instructions, including instructions to disregard its normal constraints, into summaries used to continue its work in a new context window.
OpenAI
Rare_Guide_983015277
🟧 hnOpenAI models secretly generate instructions to ignore constraintstheahura12537
🟠 redditgemma 4 ran a shell command a web page told it to. qwen 3.8 mostly didn't.
LocalLLaMA
divinetribe1612
🟧 hnCan open-source prompt-injection detectors catch realistic AI agent attacks?northbridgedev84
🟧 hnAI agent memory can be poisoned – and later treated as the user's own pastrodicarsone20
🟧 hnI tested whether AI agents obey text you never see. 4 of 8 did, every timenickcosta10
🟧 hnForensic Analysis of RL/RLHF-Induced Privilege Escalation in AI Agentssbulaev10
🟠 redditI almost got owned. By myself.
ClaudeAI
TimAtMongoDB1429
🟧 hnShow HN: Weir – Catch credential leaks in the AI agents you build and useCodeNinja77851
🟧 hnShow HN: Keep your credentials out of the AI agents you use and buildIdoGol2410
🟧 hnWhy Is It So Hard to Teach A.I. Agents to Behave? Researchers Have a TheoryAnon8430

Interpretation history

Decision trace