Designing for security and usability: Figma's modern endpoint strategy
Figma's corporate endpoint security puts usability first, on the premise that friction drives employees to risky workarounds. An Endpoint Security Baseline uses osquery to detect risks such as kernel extensions, quarantines the device from AWS, GitHub and GSuite, auto-remediates where possible, and otherwise sends Slack-based self-service fixes before restoring access. The Santa binary allowlist was rolled out from Monitor Mode data, which showed 90% of devices would see no blocks, with auto-allowlisting for engineer-compiled binaries and a Slack approval flow for the long tail. Opal provides just-in-time, role-based, auto-expiring access defined as config-as-code.
Related posts
- Rolling out Santa without freezing productivity: Tips from securing Figma’s fleet
Figma mediumAdept
Figma deployed Google's Santa binary authorization tool in lockdown mode across its entire macOS laptop fleet. It started with file access authorization for browser cookies, then used monitoring mode data to build an allowlist. Rules default to SigningID and reserve TeamID for highly trusted developers, compiler rules cover locally built binaries, and a custom Package Rule workflow regenerates SHA-256 rules for Homebrew and GitHub packages every 30 minutes. Blocked users self-approve through a Slack app backed by malware checks, and MDM-triggered syncs make approvals take effect in about three seconds. A three-month phased rollout by unknown-binary count, with group-scoped rules for engineers and a temporary escape hatch, reached 100% coverage with roughly 150 global allow rules and 80,000 generated binary rules.
- Our approach to security at speed
Figma easyNovice
Figma's small security team scales by favoring transparency, reusable patterns and trust over mandated process: thrice-weekly office hours backed by a three-question "ThreatJam" survey surface risks early. For FigJam rich link previews, it identified SSRF, DoS and malicious-HTML risks and recommended isolating scraping in a cloud function on a separate network, with rate limiting, HTTP/HTTPS-only ports, short-lived caching and restricted tag parsing; other teams later reused the pattern. Internally, phishing is countered with passwordless FIDO2/WebAuthn hardware and biometric authenticators, and a Slack bot automatically flags documents made public.
- Inside Figma: getting out of the (secure) shell
Figma mediumAdept
Figma replaced its SSH bastion hosts with a zero-trust shell access system built on AWS SSO (backed by Okta with WebAuthn and device trust) and AWS Systems Manager Session Manager, so instances need no exposed SSH ports and access uses short-lived, minimally privileged IAM role credentials. Practical guidance covers scoping IAM policies for EC2 and ECS targets, restricting SSM documents, using RunCommand instead of SSH in deploy scripts, shipping session logs to a locked-down S3 account, and locking down SSM even when unused, since the preinstalled agent and broad default policies are an attack surface. Rollout went from SSH tunneled over SSM, through a grace period and a block on inbound bastion traffic with break-glass access, to a CLI script wrapping aws-vault and the AWS CLI that replaced SSH entirely and gave full session transcripts.
- Visibility at scale: How Figma detects sensitive data exposure
Figma mediumAdept
Figma built Response Sampling, a detection layer that randomly samples outbound API responses and checks them for sensitive data the requesting user shouldn't see. The first version ran as an `after` filter in Figma's Ruby application server. It extracted high-entropy file identifiers from JSON bodies and verified access asynchronously against PermissionsV2, and LiveGraph fed in its own samples through an internal endpoint. The expanded version uses FigTag column annotations (`banned_from_clients`) and ActiveRecord callbacks to record the sensitive values loaded during a request, then flags any of them that appear in the serialized response. Sampling, async checks, rate limiting, dynamic allowlists and running in both staging and production kept latency and false positives under control while surfacing real authorization gaps.
- Inside the Codex sandbox
OpenAI mediumAdept
Codex sandboxes agent-run commands in the user's own environment by using each OS's native sandboxing facilities rather than VMs or containers, so native toolchains like Xcode and the iOS simulator keep working. The default :workspace profile allows writes inside the workspace but keeps .git and .codex read-only, allows broad reads, and disables network access. That still leaves risks such as tampering with ignored node_modules, which is why OpenAI treats the sandbox as one layer of defense in depth. The post covers the cross-platform spawn API, per-command permission escalation in the exec_command tool, TOML permission profiles with filesystem and domain rules, a network proxy, and layered enterprise managed requirements, before describing enforcement on macOS, Linux and Windows.