AI NewsInfrastructureAnnouncement

Figma shows how it keeps agents inside one file and one user

Figma's security team wrote up the design behind Figma Make and the Figma agent. Each editor runs in their own sandbox, and the agent's token cannot move.

AI News

Editorial2 min read

LinkedInX
Three people inside glass pods, each guiding robotic arms to paint a shared canvas

Image: Figma

Why it mattersA multi-user file with agents in it is a new kind of shared workspace. Figma's design gives one blueprint for keeping each user's agent in their own lane.

Figma's security team published the design behind Figma Make and the Figma agent on 2 December. The piece is written by Griffin Choe, Nick Frost and Max Serrano. The two products let more than one person sit in the same file with their own agent. Each agent reads the file and writes to it. Figma's problem was keeping one user's agent from reaching another user's data, or outside the file at all.

The token is bound to the sandbox

Every agent action carries a FigJWT. It is a signed token that names one user and one file. It also names a set of powers the agent is allowed. The list is short and fixed: llm, mcp, backend. The token expires in 2 hours. If a user owns many files, the token still only works on the file it was issued for.

The token is encrypted. Figma binds that encryption to the sandbox it was issued inside. If a token is copied out of its sandbox and used elsewhere, the decryption fails. Figma uses authenticated encryption (AEAD) to make sure the bind is tight.

One sandbox per editor, per file

Each editor in a multiplayer file gets their own sandbox. Credentials do not cross between collaborators. The isolation primitive is a container service Figma calls Nimbus. Nimbus holds the agent's untrusted code and gives it a limited set of authorities.

Egress is limited by default

An agent can only send a request body to a host on Figma's allow list. For any other host, the agent is held to GET, HEAD or OPTIONS. The URL is capped at 10 KB. A long URL cannot be used to smuggle a payload out through a permitted verb.

What the design does, and does not, solve

Figma is clear about what remains the user's problem. A prompt injected inside a file can still tell the agent to do something the user did not want. The sandbox will stop it leaving the file, but it will not stop a bad instruction inside the file.

The post does not share false-positive rates for the allow list, or how often an agent was stopped in production. Figma also does not say what each capability profile allows a model to see.

A team building a multi-user product with an agent inside it now has a design to compare their own against. The piece names the token, the sandbox, the per-user split and the egress rule. It also names where each of them does not help. Reading it is cheaper than finding those limits one incident at a time.

Source

SourceFigma

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

Share
LinkedInX
Start a project