How Figma secures its multiplayer agent platform
How we secure Figma’s multiplayer agent platform
Figma's security team explains the security design of its multiplayer agent platform: the Nimbus service provides each editor with an independent sandbox per file, guarding against two types of threats: agents violating user intent due to errors, bugs, or prompt injection, and malicious collaborators stealing others' credentials. The platform uses FigJWT issued by a trusted backend to carry identity and file scope, generates and partitions token profiles per prompt, and has the AI gateway enforce least privilege outside the sandbox via YAML policies; file scope validation is moved into a centralized permissions system to close the bypass gap in shared helpers. On egress control, sandboxes by default can only send request bodies to allowlisted hosts; other hosts are limited to GET, HEAD, and OPTIONS without a request body, with URLs no longer than 10KB; credentials are injected on demand with user prompts, and AI gateway tokens expire after two hours.