Threat model

For the reference implementation, the demonstration and this site, as the project's private build repository holds it. Threats to the protocol itself are in the draft's security and privacy section.

This document covers what this repository builds and ships: the protocol package, the reference runtime and its mock adapters, the deterministic demonstration, the specification site, and the way the site is published. Threats to the protocol itself, to any implementation of it, are in the specification’s security section, spec/v0.1/16-security.md.

Status: written 2026-10-10 for draft 0.1, updated on 2026-10-11, when the site was published at businessagentprotocol.org, and on 2026-10-12, when the specification was published in a public repository and the addresses for security and conduct reports were set up. The runtime, the adapters and the site’s playground are built in the same release, and this document describes them as built; the final reviews checked them against it.

What is protected

Asset Why it matters
The correctness of the validators Implementers will trust them. A validator that accepts what the specification refuses is the worst failure this repository can have.
The agreement between the specification, the schemas and the code Implementers copy examples and fixtures. If they disagree, someone builds the wrong thing.
Visitors to the site They should be able to read the specification and run the demonstration without being tracked, and without anything running that the site did not intend.
The project’s accounts and domain The Cloudflare account and zone that serve the site, the GitHub repository that holds the public specification, and businessagentprotocol.org, whose control by the project the owner confirmed on 2026-10-11.
The honesty of the project’s claims The draft is a proposal. Claims of certification, registration, adoption or real activity would mislead readers and damage trust.

Trust boundaries

  • The developer’s machine builds everything and is trusted.
  • The npm registry supplies the dependencies; package-lock.json pins what is installed.
  • The built site is static files, served by Cloudflare Workers Static Assets since 2026-10-11. There is no server-side code, database, form or API.
  • The visitor’s browser runs the site and the demonstration. The demonstration runs entirely in the browser, on fictional data, with no network calls.
  • GitHub hosts the public repository, furthermachines/enna, which holds what the site publishes under /spec/v0.1/ and the project’s documents, and receives private vulnerability reports.
  • Cloudflare Email Routing forwards the security and conduct addresses at businessagentprotocol.org to a mailbox the owner reads.

Threats and what addresses them

Threat What addresses it What remains
A validator accepts an invalid document or record Closed schemas; cross-object invariants; conformance fixtures with exact expected errors; full line and branch coverage of the three packages. Rules the specification leaves unchecked (section 9.17).
The specification and the code drift apart Every json example in the specification is validated by the test suite; tests hold the lifecycle’s transition table and the A2A and PAP state tables of section 10 to the protocol package’s data; examples come from the fixtures; tests hold the error catalog and the block reasons of sections 8.4 and 10.4 to the protocol package, and the site’s discovery example in section 12.8 to its fixture. jsonc examples are only parsed, never validated.
A compromised or malicious dependency The lockfile is committed and npm ci installs exactly it; dependencies are kept few; schemas are compiled at build time, so no schema compiler ships to browsers; npm reports packages whose install scripts have not been approved. Any dependency can still be compromised upstream; updates need review.
Script injection in the browser Validators are compiled ahead of time, with no eval or new Function at run time, and a test loads them in Node with code generation from strings disabled. The site’s design requires a strict Content Security Policy without unsafe-eval, self-hosted fonts and no third-party scripts. The policy is enforced by the site’s headers, which are checked by the site’s own tests.
Visitors are tracked The site’s design forbids telemetry, analytics, forms, waitlists and third-party requests, and the build scripts turn Astro’s telemetry off. Hosting providers keep their own logs, outside the project’s control.
Secrets end up in fixtures, examples or screenshots Fictional organizations under .example, inert placeholders, and a schema rule that refuses credential references shaped like JSON Web Tokens. The release’s hardening step adds a secret scan. A scan finds known shapes, not every secret.
The demonstration is mistaken for real activity Every scenario is labeled a simulation with fictional companies and mock agents; receipts carry attestation none and are shown as unsigned; business impact stays unknown. Screenshots can be taken out of context.
Readers believe claims the project has not earned The specification’s status section, self-declared conformance with no certification, and mappings labeled implemented and tested or proposed. The site is published before the owner’s review of all public copy, which is still an open decision.
Digests fail in the browser Web Crypto is available only in a secure context, so the playground must be served over HTTPS or from localhost; elsewhere the protocol package throws a clear error instead of computing a wrong digest.
A large validator bundle slows pages The generated validators are about 58 KB compressed; the site loads them only on pages that validate.
A deployment changes DNS by accident A non-interactive wrangler deploy with custom domains can override existing DNS records without asking, so the domain was attached from an interactive terminal, where Wrangler asks before overriding a record; it found none. Later deploys name no custom domain (docs/runbook.md).
A vulnerability report has nowhere private to go SECURITY.md sends reports to GitHub’s private vulnerability reporting on the public repository, or by email to the security address, says what to include, and warns against posting exploit details publicly. The owner reads both. An emailed report is only as private as email.
A reporting address is unreadable on the site Cloudflare’s Email Address Obfuscation, on for the zone, would rewrite an address into a link that only a Cloudflare script decodes, and the site’s security policy blocks that script. Every address the site shows sits inside email_off markers, which turn the rewriting off, and a test holds every built page to it.
The public repository differs from what the site publishes npm run export:public writes only the files the build’s manifest lists under /spec/v0.1/, checks each against its SHA-256, and refuses a symbolic link among its inputs, all before it writes anything; the repository is regenerated at each release and merges no pull requests. The hash check catches a stale or partial build, not tampering: the manifest and the files come from the same build, which the developer’s machine is trusted to make. The documents come from the working tree, so a release exports from the commit it deployed. Publishing is a manual step, so the repository can lag the site until the release’s export is pushed.

Assumptions

  • The machines that build and review the release are not compromised.
  • The demonstration’s stores are in memory and its effects are simulated, so no real system can be harmed by it, and its deduplication demonstrates semantics rather than protecting real effects.
  • No credentials are needed to build, test or preview anything in this repository.

Open decisions

The project has been licensed, and the site published, since 2026-10-11 (LICENSING.md). Since 2026-10-12 the specification has been public at https://github.com/furthermachines/enna, and security and conduct reports have private channels (SECURITY.md, CODE_OF_CONDUCT.md). The owner has still to decide counsel review of how PAP is named and of the Source Serif 4 font notice, and the review of all public copy (GOVERNANCE.md). Whether the site sends HSTS is also the owner’s decision, and also open (docs/runbook.md).