Skip to content
pleach
Use casesGovernment

Worked example: an offline deployment review

The steps an operator runs when an assessor asks for proof that an air-gapped Pleach runtime can't reach the network, and for the SBOM and provenance of what's installed.

An assessor reviewing an air-gapped deployment asks for two things: proof that the agent runtime can't reach the network, and the SBOM and provenance for what is installed. This page walks through how an operator answers both.

Self-assessed, not legal advice

Pleach's maintainers wrote this example. AI tools helped draft and check it. That check isn't legal, security or authorization review. No lawyer, assessor or agency has reviewed it.

  • This page is orientation only. Nothing here says any system meets a control or holds an authorization. Confirm each step with your assessor and your authorizing official.
  • This page is vendor documentation. The project it describes wrote it. It isn't your system's security record.
  • The steps read the source, not your deployment. @pleach/core is a 0.0.1 placeholder on npm today, and no @pleach/* package has been published with its SBOMs or npm provenance yet.

Example: one offline deployment under review. An agency runs a governmentAgent bot inside its perimeter, with an on-prem model gateway at llm.internal.example.gov. The assessor asks the operator to show that the runtime can't call a host outside the perimeter. The assessor also asks for the software bill of materials and provenance for every package installed.

  1. Show the runtime config. airGapped: true is set, and airGappedAllowedHosts lists only in-perimeter hosts. An empty or absent list rejects every outbound URL, so a missing entry fails closed (Fail-closed by design).
  2. Show where the internal LLM paths resolve. Memory consolidation, fact extraction and the context summarizer read openrouterBaseURL, then PLEACH_OPENROUTER_BASE_URL, then the public default. Set one of them on every build, point it at the in-perimeter gateway, and list that host in the allowlist (Air-gapped deployment).
  3. Run the negative test in front of the assessor. Route a call to a public endpoint and confirm bot.ask throws AirGappedHostRejectedError. The error carries url and allowedHosts, so the rejected host and the allowlist go straight into the evidence (Verifying enforcement).
  4. For a single URL, call checkAirGappedHost(url, opts) with the deployed options. It permits an exact host or a subdomain of an entry, and it rejects a malformed URL outright (Allowlist semantics).
  5. Hand over your outbound-call inventory. List every provider URL, @pleach/observe destination and tool endpoint, and mark which are in-perimeter. The allowlist checks provider URLs. A tool that reaches an external endpoint is yours to block, for example from a HarnessPlugin (What you provide).
  6. Hand over the package SBOMs. The release workflow packs sbom.cdx.json and sbom.spdx.json into each @pleach/* tarball except the transport packages. None has been published yet, so today this step yields nothing from npm. Add an npm ls snapshot of the tree you resolved (SBOM and provenance).
  7. Hand over your deployment SBOM. Your build generates it, in CycloneDX or SPDX. The recipe's sbomFormat field only stamps the format you declare as metadata; it doesn't generate anything (Offline install).
  8. Show provenance for the mirror. Run npm audit signatures on the install before you mirror it, then sign the mirror under your own identity. The slsaProvenance field is metadata too, and Pleach claims no SLSA build level (What this page does not claim).
  9. Show the license record. Each package's LICENSE file carries the FSL-1.1-Apache-2.0 text. Record the versions you installed and their publish dates (License compatibility).

Pleach shows that the runtime refuses provider hosts outside the allowlist, and the release workflow is built to ship an SBOM in each tarball. The perimeter itself, the private registry or vendored snapshot, your deployment SBOM and the signatures on your mirror are yours. So are tool endpoints the allowlist doesn't check, and the FedRAMP authorization for your system boundary.

On this page