Back to Pure

Security you canread for yourself.

How Pure protects the binaries you ship, your source while it builds, and the platform behind it.

The binaries you ship are built in Rust, not C.

Pure compiles your JavaScript or TypeScript to Rust and then to a native binary, with a runtime that is also written in Rust, instead of the C and C++ underneath most JavaScript runtimes.

  1. 01

    Generated code is Rust

    The program Pure generates for your application is ordinary Rust, compiled with the Rust toolchain, so it gets the compiler's ownership and bounds checks.

  2. 02

    Stale references fault, never corrupt

    Objects in the runtime are reached through generational handles. Using a handle after its object is freed is detected on every access and stops the program, instead of reading freed memory.

  3. 03

    Dynamic code runs in an interpreter

    Code that is only known at run time, such as eval and new Function, runs in Pure's built-in interpreter, a separate component from your compiled program.

  4. 04

    Deterministic builds

    The same source built with the same compiler version produces the same binary, so what you ship is something you can check, not something you have to trust.

Your source code is kept briefly and kept private.

A hosted compiler has to receive your code. These are the facts about what happens to it.

Deleted automatically after 30 days

The source you submit, the binary we build and the build logs are stored as job artifacts that expire 30 days after they are created. Nothing accumulates forever.

Private storage, signed access only

Artifacts live in a private storage bucket with no public address. Uploads and downloads go through short-lived signed URLs issued per job.

Encrypted at rest and in transit

Your data is encrypted at rest and in transit, including on Cloudflare, which stores and carries it.

Every build gets its own VM, destroyed when it ends.

Your code is compiled on infrastructure designed on the assumption that it is untrusted. Each build starts from a clean slate.

1

Ephemeral by design

Each build gets its own fresh Firecracker microVM, destroyed when the build ends. Runners take one job at a time, never run a build directly on the host, and refuse to start without virtualization.

2

No network while compiling

The compile step runs with no network at all. Dependency installation runs first, behind an egress filter that blocks private and internal address ranges.

3

Side-channel hardening

Each build runs on dedicated physical cores that no other workload is scheduled on. The guest kernel is built by us with no loadable modules, eBPF, io_uring or performance counters, and with high-resolution timer reads coarsened to blunt cache-timing attacks. Memory is zeroed on allocation, with no swap or page merging across VMs.

Identity everywhere, long-lived secrets nowhere.1

Services and pipelines prove who they are, get the narrowest credential that works, and lose it again in minutes or hours.

Workload identity
Services authenticate with short-lived SPIFFE identities issued by SPIRE and exchanged for narrowly scoped tokens that expire in minutes to hours.
CI holds no cloud keys
Build and deploy pipelines prove their identity with a one-time token instead of stored credentials. Each token works once, and storage access is by per-object signed URL.
Signed releases
Our own services are installed from a signed apt repository, and the signing key never leaves our identity broker.
Least privilege for operators
Privileged actions on our machines go through a fixed allowlist of operations, not an open shell. The operator role is required and the actions are logged.

Found a vulnerability? A person reads every report.

Send reports and security questionnaires to security@pure.dev. We also answer threat-model questions in writing.

security@pure.dev
Notes
  1. Our build runners hold none. A small, separate component, our identity broker, does keep a few long-lived secrets, such as signing keys, because a few operations require them. It uses them only on behalf of callers that have first proven their identity, and only for what that identity is allowed to do.

Closed alpha

Pure is in closed alpha. Help us shape it.

We're working with a small group of design partners and early testers. If you run Node.js services and want to cut your runtime costs, leave your email and we'll be in touch.

We'll only use your email to contact you about Pure. See our privacy policy.