Skip to content

test(evidence): prove trusted and observation modes against hostile CI input #779

Description

@akrock

Goal

Complete the EvidenceHost trust-boundary proof with a documented threat model and hostile-input acceptance matrix for trusted and observation execution modes.

Why

A registered CI envelope is a constrained assertion, not an independent sandbox attestation. EvidenceHost must fail closed when head-controlled input attempts to substitute policy, registration, envelope, artifacts, paths, or capabilities. Observation mode must never create a complete or release-eligible claim.

Acceptance criteria

  • Document the trusted and observation threat model, including control-plane ownership, allowed capabilities, sensitive projections, artifacts, and explicit non-claims.
  • Add hostile tests for policy, producer-registration, and envelope substitution; path traversal and artifact tampering; schema and hash drift; cancellation; cleanup failure; and capability mismatch.
  • Verify observation mode cannot provision privileged dependencies, receive secrets, or emit complete or release evidence.
  • Verify trusted mode requires the registered base-owned verifier and records only the supported envelope assertion.
  • Keep any Docker containment runtime out of scope; it remains a separately approved pilot with its own egress, mount, process-tree, and cancellation proof.

Context

Follow-up to #775 and implementation task T4/E4 in docs/designs/appsurface-evidencehost-contract-first.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions