Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

AWS Architecture Blog 8 min read Case study hardMaster

How Bee implemented Zero Operator Access for personal AI on AWS

Bee, Amazon's wearable personal AI, enforces Zero Operator Access by having the user's device release short-lived decryption keys only to EC2 instances whose NitroTPM attestation matches software published in a public Sigstore Rekor transparency log. Attestable AMIs have no SSH/SSM/shell, read-only root filesystems and ephemeral encrypted storage, with OS measurements in PCR4/7/12. A custom measured-boot tool extends PCR14 with a hash of container ECR digests and model artifact checksums, and the attestation is embedded in AWS Private CA TLS certificates that clients verify offline. Network isolation with no egress, in-memory-only keys with data encrypted before reaching RDS, ElastiCache and S3, and SCP-backed separation of duties between independent teams close the gaps attestation cannot measure.

Assumes: TPM and measured bootTLS and PKIAWS IAM and VPC basics

Related posts

  • A few notes on AWS Nitro Enclaves: KMS integration

    Trail of Bits hardMaster

    Integrating AWS Nitro Enclaves with KMS through PCR-based key policies and attestation-encrypted responses still leaves a range of passive and active attacks on the enclave-KMS channel. Passive attackers can swap data-key ciphertexts, substitute CMKs, abuse key aliases or IAM credentials, and replay attestations within KMS's five-minute window. The countermeasures are attacker-resistant encryption context, hardcoded full CMK ARNs checked against response keyId, an attested IAM role verified via sts:GetCallerIdentity, and validation of algorithm identifiers. Active attackers require enclave-initiated TLS with a pinned, attested Amazon CA plus VPC restrictions, and key policies should use PCR0/PCR8, avoid root-principal pitfalls, and require MFA for critical operations.

  • The Trust Layer: Securing Agentic AI with Docker AI Governance

    Docker easyNovice

    Docker AI Governance secures AI agents by enforcing controls around their runtime rather than trusting model behavior, across three layers: Sandbox Policies, MCP Tool Governance, and Audit + Visibility. Sandbox policies constrain each agent's microVM environment, with network and filesystem rules enforced at the proxy and mount layers. MCP Gateway requests are denied by default unless a Cedar policy permits them, and policies can require confirmation for specific tool calls. Structured audit records of allow/deny decisions can feed SIEM workflows, and Docker Hardened Images, with signed SBOMs, VEX and SLSA Level 3 provenance, address the supply-chain side.

  • 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.

  • How to Secure AI Agents: A Practical Overview for Development Teams

    Docker easyNovice

    AI agents need a different security model than traditional services because they select tools, chain actions and act on credentials autonomously, widening the blast radius of prompt injection or tool poisoning. Defense rests on four layers: execution isolation in disposable microVMs or hardened containers with allow-listed networking, runtime-scoped tool access through a central gateway and curated registries, dedicated short-lived agent credentials injected at runtime, and full decision-chain logging with behavioral baselines to catch drift. Permission prompts are a UX pattern, not a control. Start with isolation as the highest-impact, lowest-friction step, and treat inter-agent communication as untrusted so delegation cannot escalate privileges.

  • Bringing Private Processing to Meta AI Glasses

    Meta Engineering mediumAdept

    Meta's Private Processing extends the AI glasses trust boundary into the cloud by running models inside confidential VMs on TEE-capable CPUs and GPUs, so host OS, hypervisor and Meta operators see only ciphertext. Requests are made non-targetable through blind-signed anonymous credentials and third-party OHTTP relays. Devices verify servers via RA-TLS attestation against an append-only, publicly witnessed transparency ledger and fail closed on mismatch. For stateful features, the storage and query engine run inside the TEE, which avoids access-pattern leakage and the cost of shipping ciphertext to remote databases. Observability relies only on aggregate health signals because debuggers and memory dumps are impossible, and the design is opened to external audit via NCC Group reviews and an expanded bug bounty.

The quest for software engineering knowledge.

Look:
Layout: