How we secure Figma's multiplayer agent platform figma.com · 16 points · 1 comme...
HN Best 200 @best
How we secure Figma's multiplayer agent platform figma.com · 16 points · 1 comments · HN thread
TL;DR Figma's security team describes how it isolates AI agents in Figma Make and the Figma agent, which act on a user's behalf inside shared multiplayer files. The main mechanisms are narrowly scoped FigJWT tokens enforced outside the sandbox, file-scoped permissions in the central permissions system, default-deny egress controls, and encrypted tokens bound to a single sandbox through an external egress proxy. The post is the first of a three-part series on sandboxing.
- Agents are treated as potentially misaligned: they may act against user intent through mistakes, bugs, or prompt injection, or be steered by malicious collaborators via shared file content.
- FigJWTs carry the acting user, workload, and file key, and use token profiles (for example make-generic versus make-cached-preview) enforced by the AI gateway and route policies; telemetry and shadow-mode rollout were used to narrow them safely.
- File scope was moved into the centralized permissions DSL after per-endpoint checks left a gap where a shared helper could authorize access to a file outside the token's scope.
- Sandbox egress is default-deny for request bodies: only allowlisted hosts accept bodies, other hosts get GET/HEAD/OPTIONS with no body and URLs capped at 10 KB; admins can disable general internet access.
- Tokens were leaked and reused by new accounts (LLMjacking), so Figma routed sandbox HTTPS through its own egress proxy, encrypted FigJWTs with AEAD bound to each sandbox, and reported that the abuse stopped after rollout.
- Next step is moving the agent harness out of the sandbox so generated code holds less authority.
Discussion The thread is almost empty: a single comment from corybrown praising the post as the kind of content they like and saying they wish it had more technical detail. There is no debate, so the mood is simply positive with a request for depth.
- Welcome post, but it needs more technical detail (a few): The one commenter enjoys this style of security writing but found it too high-level. They would like more specifics on the implementation. The article itself does include concrete policies, claims and a description of the abuse pattern.