Home / Companies / Cloudflare / Blog / Post Details
Content Deep Dive

Mitigating Spectre and Other Security Threats: The Cloudflare Workers Security Model

Blog post from Cloudflare

Post Details
Company
Date Published
Author
Kenton Varda
Word Count
5,020
Language
English
Hacker News Points
26
Summary

Cloudflare Workers, a serverless computing platform, has an architecture designed to ensure security when running code written by third parties. The platform uses V8 isolates for secure execution environments, which prevent code from accessing memory outside the isolate even within the same process. This allows many thousands of guest apps to be hosted on every machine with minimal overhead. Workers also employ a "layer 2" sandbox using Linux namespaces and seccomp to prohibit all access to the filesystem and network, restricting communication to local Unix domain sockets. The platform's security architecture is an ongoing project, with continuous efforts to reduce the risk and impact of future vulnerabilities.