Skip to content

v0.1.49

Choose a tag to compare

@wmetcalf wmetcalf released this 18 Nov 19:37
2efbfc3

Two changes since 0.1.48: #206 (engine output contracts) and #208 (host preparation guide and blastbox preflight).

  • Engine output contracts (blastbox.contract.engine_contract). An engine declares what it emits in blastbox-engine.toml (schema blastbox-engine-contract/1): artifact families, payload shape, detection codes, known gaps and consumers. check_result / check_envelope / assert_conforms and python -m blastbox.contract.engine_contract validate|check compare a real result against it. They also report what the harness seal or the host trust gate would refuse. limits= applies a host's output caps. Built-in contracts ship for clamav, detonate, magika and urlgrab. See docs/ENGINE-REQUIREMENTS.md.
  • Seal: the reserved root metadata.json is now matched on path parts. ./metadata.json, metadata.json/ and metadata.json/<x> are refused (before, they sealed a hash the served bytes did not match).
  • clamav: an infected result that also had encrypted archive members now carries encrypted_archive_not_scanned.
  • blastbox preflight (read-only) and docs/HOST-PREP.md: per-tier host readiness. Checks cover docker/runsc registration, runsc C/R, KVM/firecracker/guest artifacts and stamps, the gVisor rootfs, the pool/cascade spec, AppArmor/userns, clock, CPU flags, scratch, runsc processes running as host root, and unconfined or unjailed sandbox processes. Supports --json, --strict and --ack.
  • CI: the test and sandbox jobs are pinned to ubuntu-24.04.

WHAT AN OPERATOR MUST ACT ON

Nothing beyond the usual upgrade. Out-of-tree engines that adopt contracts: if an EmbeddedResource root carries metadata, list "record" in node_types. A register_node_type payload is reported as host_unknown_node_type; seal it as a Record.