For security teams

Evaluating Ferrite's security architecture

Engineering teams now generate and ship agent-written services faster than manual code review or per-service IAM engineering can absorb. On conventional infrastructure, approving each new service forces reviewers to reconstruct ambient permissions, container baselines, transitive dependency trees, secret mounts and outbound network reach from scratch.

Ferrite changes the unit of review. Every application is safe by construction, by default, with nothing to assemble, and its complete operational authority is declared in one short manifest (ferrite.json) enforced independently across source admission, isolated compilation, capability tokens, egress gatewaying and kernel containment. Reviewers approve the declared authority envelope first and concentrate human analysis on business logic inside a verified boundary.

Rapid triage for security reviewers

  • What can an application reach? Only the six primitives, public routes, forwarded headers, secrets and outbound URL prefixes declared in ferrite.json, each delivered as a typed capability handle. There is no host file system, no environment, no process execution and no raw socket (declaration walkthrough).
  • What layers enforce that boundary? Fail-closed source and manifest admission, offline sandboxed platform builds with SHA-256 provenance attestation, signed capability tokens on every storage operation, a literal-prefix egress gateway and fail-closed Linux kernel containment.
  • How are tenants and workloads isolated? Each application runs under its own unprivileged UID in private kernel namespaces with no network route, constrained by a seccomp system-call filter and hard cgroup CPU and memory quotas, backed by its own storage engine under scoped capability tokens.
  • How are secrets stored and delivered? Secrets are write-only with zero read-back path across CLI, MCP, APIs and dashboards, absent from files and environment variables, attached at the egress gateway or scoped to declared destinations with every outbound request logged (secrets architecture).
  • What remains within the application team's responsibility? Domain-level logic inside the declared boundary: caller authentication rules, tenant record ownership, business invariants and receiver-side idempotency for external side effects.
  • How does Ferrite verify the platform itself? Continuous automated security-review tooling, multi-vendor security-specialised model reviews, independent internal code reviews outside the authoring team and adversarial test suites exercising every boundary on every change.

Tracing authority from source to production effects

Credible security diligence traces authority continuously from source ingestion through build provenance, running identity, outbound egress, persistent mutations and release promotion. Hardened kernel isolation fails if an unverified binary reaches execution, and an accurate manifest fails if a serving handler bypasses enforcement. Every security claim on Ferrite is therefore tied to tests that execute the production call site enforcing that boundary, which is the exact standard to apply during an evaluation.

Layer-by-layer control specification

  • Manifest admission runs on every deployment and rejects undeclared resource references, outbound prefixes targeting loopback, RFC 1918 private networks, link-local ranges, cloud metadata endpoints or platform-owned domains, forbidden request headers and rights outside the closed capability vocabulary.
  • Source admission permits exactly one compile-time dependency, the platform-vendored Ferrite SDK, forbids unsafe code, rejects build.rs scripts, procedural macros, unlisted macros and ambient std paths to networking, files, environment and processes, and fails closed on unparseable source. Source admission filters violations early against hostile-source regression suites before compilation begins, ahead of kernel containment.
  • Offline platform compilation builds admitted source on dedicated, sandboxed builder machines against platform-vendored dependencies, refuses uploaded binaries, enforces compiler-level #![forbid(unsafe_code)], and records a signed SHA-256 provenance digest verified again by the target runtime host before startup.
  • Kernel containment launches every instance under a dedicated unprivileged user with no_new_privs, private user, mount, PID, IPC, UTS and network namespaces with no default network route, a minimal file system exposing only the verified binary and runtime context, a seccomp system-call filter blocking mount, ptrace, raw sockets and nested namespaces, and hard cgroup CPU and memory limits. Startup fails closed if any limit cannot be applied, verified by adversarial probes paired against an uncontained control that must succeed.
  • Signed capability tokens guard every storage operation, drawing rights from a closed vocabulary scoped strictly to the owning application's resources. Delegation can only narrow rights, tokens bind to their transport connection and advancing an epoch revokes an entire generation immediately.
  • Centralised egress gatewaying matches outbound URLs character by character against declared literal prefixes, inspects resolved IP addresses at connect time to block DNS rebinding into private or metadata networks and records every outbound call.
  • Write-only secret management seals credentials at rest, exposes names alone on listing, eliminates environment-variable and file exposure, supports gateway-attached injection on declared calls and restricts any in-context credential strictly to declared egress destinations.
  • Dedicated storage isolation gives each application its own storage engine beneath its own capability scope, resting on encrypted cloud volumes.
  • Fleet transport authentication requires every internal platform machine to present a valid certificate issued by the fleet root certificate authority over mutual TLS before any frame is accepted.

With infrastructure authority bounded across those nine controls, technical review focuses directly on what the application intentionally does with the capabilities it declared.

Evaluating retries, transactions and external side effects

Process isolation alone does not protect financial or operational integrity when a worker crashes mid-request and retries a charge, reservation or deletion. Ferrite makes failure and delivery semantics explicit so reviewers can audit durability and duplicate suppression directly.

Platform queues provide leased delivery with bounded retry counts and strict dead-letter budgets, and transactional commits apply once. Alloy defines explicit delivery guarantees for every effect class: store mutations executed through Alloy actions carry replay stamps that commit effectively once, while queued jobs, notifications and outbound HTTP calls deliver at least once with a carried deduplication identifier so external receivers enforce idempotency cleanly.

Positioning beside agent sandboxes, scanners and general clouds

Agent sandboxes isolate the build-time workshop while a coding agent edits code and runs tools; Ferrite confines the finished production service once it handles live customer records and credentials. The two address consecutive phases of the lifecycle and compose cleanly (comparison with agent sandboxes). Static analysis tools and AI code reviewers search inside application logic for missing authorisation checks and pair naturally with Ferrite's platform-level confinement of any bug those scanners miss.

General-purpose clouds preserve arbitrary OS, language and networking freedom for existing estates and custom infrastructure, which leaves outbound egress policies, secret hygiene, supply-chain patching and per-service IAM tuning as ongoing engineering obligations. Ferrite runs cleanly alongside an existing estate: new agent-written services deploy onto a six-primitive, default-confined runtime without forcing your platform engineering team to build and operate that control plane internally (comparison with building it yourself).

Adversarial tests to run during diligence

Three falsifiable probes tell a principal security reviewer the most about whether the boundary actually holds. At admission, submit obfuscated Rust constructs attempting to reach ambient OS, file, environment or socket APIs and verify fail-closed refusal through ferrite check --remote. At egress, declare one HTTPS prefix and attempt requests to a sibling domain, alternate port, redirect chain or DNS name resolving to a private or metadata IP, verifying connect-time refusal and central logging. At runtime, run OS-level escape probes inside containment alongside an uncontained control that must succeed.

Every piece of verification evidence belongs to the exact builder, runtime, network topology and policy revision that generated it; any change to one of those components triggers fresh verification for the affected claims.

Platform review and verification discipline

Ferrite maintains continuous security scrutiny across its runtime, control plane, SDK, packages and hosted service using automated security-review tooling, multi-vendor security-specialised models and independent internal code reviews conducted outside the authoring team. Every finding is tracked in dated remediation records and locked under permanent regression tests, reinforced by hostile-input test suites covering every enforcement layer. During evaluation, reviewers inspect every application manifest, the SDK and every vendored package directly as source, and can walk through deeper architectural controls with Ferrite's engineering team.

Scoping a single-service technical evaluation

A sound technical evaluation starts with one representative service involving durable state, retry handling and a declared external API, paired with an explicit forbidden consequence such as reaching an undeclared host, reading another tenant's store or duplicating an external side effect. Trace that invariant end to end across manifest, source admission, offline compilation, runtime containment and release promotion, and measure security review time beside your current pipeline.

Internal tools can restrict authentication straight to your Google Workspace domain through Ferrite's auth package. Engineering teams can deploy a synthetic-data service immediately so your reviewers evaluate a live ferrite.json manifest produced by your own coding agent, or coordinate a structured single-service technical evaluation directly with the Ferrite team.