# Security and Resilience

URL: https://eoxlabs.dev/capabilities/security-resilience
Last updated: 2026-11-26
Publisher: EOXLABS (https://eoxlabs.dev)

Section: [Capabilities](https://eoxlabs.dev/capabilities)

EOXLABS builds security and resilience into a system's architecture rather than adding them after launch. That means zero trust access, envelope encryption with keys that can be rotated, backups locked against deletion and overwriting, and recovery steps rehearsed before they are needed. The aim is a system that limits the damage of a breach and recovers on a documented schedule.

## Which threat does each control answer?

EOXLABS starts from the threats, not from a list of products. Each control in a design has to name the threat it answers and the evidence that it works.

| Threat | Control | Evidence that the control works |
|---|---|---|
| Stolen credentials, or a compromised device inside the office network | Zero trust: every request is authenticated and authorized, whatever network it comes from | A test showing that a request from inside the network without a valid token is refused |
| A copied database or a leaked backup file | Envelope encryption of sensitive fields, with the keys held outside the database | A check that the copied data can't be read without the key service |
| Ransomware that encrypts both production data and its backups | Immutable backups under retention locks, out of reach of production credentials | A timed restore into a clean environment, measured against the agreed RPO and RTO |
| An origin server exposed to the internet | Origins reachable only through an outbound-only tunnel | A scan showing no public listener on the origin |
| Confusion during an incident | A written, exercised incident response plan | Records of each exercise and the fixes that followed |

## How does EOXLABS apply zero trust?

NIST SP 800-207, [Zero Trust Architecture](https://csrc.nist.gov/pubs/sp/800/207/final), states that "there is no implicit trust granted to assets or user accounts based solely on their physical or network location." EOXLABS applies that in three places.

At the edge, identity is verified before a request reaches the origin. EOXAUTH, EOXLABS's zero-trust authentication product, follows this model: JWTs for people, first-class API keys for services, short-lived tokens and scoped keys, and rotation, revocation and a per-key audit trail. Internal tools sit behind Cloudflare Access, whose [policies re-evaluate attributes such as device posture with each new HTTP request](https://developers.cloudflare.com/cloudflare-one/access-controls/policies/). And origins connect through [Cloudflare Tunnel, which makes outbound-only connections and needs no publicly routable IP address](https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/).

## How are encryption keys managed?

EOXLABS uses envelope encryption for sensitive fields and stored credentials. Each record or tenant is encrypted with its own data key, and each data key is wrapped by a key-encryption key that never sits in the database. Rotating the key-encryption key re-wraps the data keys without re-encrypting every record.

The building blocks are documented platform features. The Workers [Web Crypto API supports wrapping and unwrapping keys with AES-KW, AES-GCM and RSA-OAEP](https://developers.cloudflare.com/workers/runtime-apis/web-crypto/), among others. Key-encryption keys are stored as [Worker secrets, which are encrypted and not visible in Wrangler or the dashboard once set](https://developers.cloudflare.com/workers/configuration/secrets/). For key types and key lifetimes, EOXLABS uses [NIST SP 800-57 Part 1 Rev. 5, Recommendation for Key Management](https://csrc.nist.gov/pubs/sp/800/57/pt1/r5/final) as the reference. The engineering note on [envelope encryption for OAuth tokens](https://eoxlabs.dev/engineering/envelope-encryption-oauth-tokens) shows the pattern in code.

## What makes a backup immutable?

A backup is only useful after ransomware if the attacker couldn't change it. On R2, [bucket locks prevent the deletion and overwriting of objects for a specified period, or indefinitely](https://developers.cloudflare.com/r2/buckets/bucket-locks/). EOXLABS writes backups with credentials that can add objects but not remove them, and keeps the credentials that manage the locks away from production.

The [#StopRansomware Guide](https://www.cisa.gov/stopransomware/ransomware-guide) from CISA and MS-ISAC recommends maintaining offline, encrypted backups and regularly testing their availability and integrity. BASTION, EOXLABS's immutable backup product, adds detection to the copy: entropy analysis flags mass-encryption patterns early, and snapshots are write-once within their retention period.

Platform recovery features help with a different problem. [D1 Time Travel](https://developers.cloudflare.com/d1/reference/time-travel/) restores a database to any minute within its retention window, and [SQLite-backed Durable Objects support point-in-time recovery within the past 30 days](https://developers.cloudflare.com/durable-objects/api/sqlite-storage-api/). They undo a bad migration or a bad write. They live in the same account as production, so EOXLABS doesn't count them as the copy kept out of an attacker's reach.

## How does EOXLABS prepare a system for an incident?

[NIST SP 800-61 Rev. 3](https://csrc.nist.gov/pubs/sp/800/61/r3/final), published in April 2025, places incident response inside an organization's wider cybersecurity risk management under CSF 2.0. EOXLABS's preparation follows that framing and stays practical:

- An append-only audit trail of administrative and data-access events, kept apart from application logs.
- Request logs retained outside the running system. [Workers Trace Events Logpush](https://developers.cloudflare.com/workers/observability/logs/logpush/) can send them to R2 on the Workers Paid plan.
- Runbooks for the likely incidents: a leaked key, a compromised account, mass encryption, a bad deploy.
- A restore rehearsal on a schedule, with the measured time written down next to the target.

## When should an organization bring EOXLABS in for security and resilience?

- The system holds health, financial or identity data, and nobody can say who can read it.
- Backups exist, but no one has restored one recently.
- One leaked credential would expose the whole system.
- A customer, insurer or board has asked how the system would recover from ransomware, and the answer is a guess.

## What does the client receive?

- A threat model listing assets, threats and the control that answers each.
- A key hierarchy diagram with rotation schedules and the procedure for rotating each key.
- Backup and restore designs with documented RPO and RTO targets, and the results of the latest restore test.
- Incident runbooks and records of each exercise.
- An access matrix stating who and what can reach each resource, and on what condition.

## When isn't EOXLABS the right fit for security work?

- **The need is an audit opinion or a certification.** Only an accredited assessor can issue one. EOXLABS designs controls and produces the evidence an assessor reviews; it makes no certification claims here.
- **The need is an independent penetration test.** Testing should come from a party that didn't build the system.
- **The problem is the corporate IT estate.** Laptops, email and office networks are a different discipline from securing the software EOXLABS builds.

## What else connects to security work?

Security decisions run through every other capability. [Data pipelines with lineage](https://eoxlabs.dev/capabilities/data-pipelines) supply much of the audit trail, a [legacy-to-edge migration](https://eoxlabs.dev/capabilities/legacy-to-edge-migration) is often the moment an exposed origin gets closed, and [product engineering](https://eoxlabs.dev/capabilities/product-engineering) builds these controls in from the first release. The [capabilities overview](https://eoxlabs.dev/capabilities) lists the rest. Questions about EOXLABS itself, rather than the systems it builds, belong on the [trust page](https://eoxlabs.dev/trust).

The engineering note on [ransomware-resilient backups](https://eoxlabs.dev/engineering/ransomware-resilient-backups) goes deeper on the backup design. The stack pages on [R2](https://eoxlabs.dev/stack/r2) and [Cloudflare Workers](https://eoxlabs.dev/stack/cloudflare-workers) describe the platform underneath.

The stakes differ by sector. The pages on [healthcare](https://eoxlabs.dev/industries/healthcare), [critical infrastructure](https://eoxlabs.dev/industries/critical-infrastructure) and [cybersecurity](https://eoxlabs.dev/industries/cybersecurity) describe what a breach or an outage costs in each.

## Related

- [Designing backups that survive ransomware](https://eoxlabs.dev/engineering/ransomware-resilient-backups): Attackers go for backups first. A design built on locked retention, credentials production cannot reach, entropy signals with known false positives, and timed restores.
- [Envelope encryption for OAuth tokens on Workers](https://eoxlabs.dev/engineering/envelope-encryption-oauth-tokens): Per-token AES-GCM data keys wrapped by a key-encryption key in a Worker secret, associated data binding each ciphertext to tenant and provider, cheap rotation, and a threat model.
- [Security and reliability at EOXLABS](https://eoxlabs.dev/trust): Practices, not certifications. How eoxlabs.dev is built, the principles behind EOXLABS systems and the security properties of its products.
- [Critical Infrastructure](https://eoxlabs.dev/industries/critical-infrastructure): Embedded controller software, monitoring, data pipelines, field tools and compliance evidence for operators of physical systems, with nothing on the internet in a control loop.
- [Immutable Backup](https://eoxlabs.dev/glossary/immutable-backup): An immutable backup cannot be altered or deleted by anyone until its retention period ends. It is the copy ransomware cannot reach, provided the lock is one an attacker cannot lift.

## More capabilities

- [Legacy-to-Edge Migration](https://eoxlabs.dev/capabilities/legacy-to-edge-migration)
- [Product Engineering](https://eoxlabs.dev/capabilities/product-engineering)
- [Edge Architecture](https://eoxlabs.dev/capabilities/edge-architecture)
