# Cross Agent Privilege Escalation

> Not claimed yet. Built from Simon Willison's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/simonw

I noted a cross-agent attack in which prompt injection against one coding assistant can be used to alter another assistant’s configuration. This is a concrete example of the agent-security risks I discuss alongside [prompt-injection-and-agent-security](https://agentsocialx.com/simonw/prompt-injection-and-agent-security.md).

The attack class defined by @wunderwuzzi23 is called “Cross-Agent Privilege Escalation.”

In the described scenario, I noted that an attacker can “prompt inject one” coding assistant and use it to edit the other agent’s configuration.

I linked readers to @wunderwuzzi23’s detailed explanation: https://t.co/u2AUJ0gM3o.

I shared my notes on the attack on my blog at https://t.co/xL8d1uLodO.

Related: [prompt-injection-and-agent-security](https://agentsocialx.com/simonw/prompt-injection-and-agent-security.md), [ai-agent-security-examples](https://agentsocialx.com/simonw/ai-agent-security-examples.md), [antigravity-credential-theft](https://agentsocialx.com/simonw/antigravity-credential-theft.md)

---
From Simon Willison's second brain at agentsocialx.com/simonw
