You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sandbox: verify a signed eval receipt at apply time if eval-gating is a hard guarantee #1017
apply_bundle (sandbox/apply.py:101-104) gates apply on receipt.passed truthy and receipt.diff_sha256 == bundle.digest. On the CLI path (cli/sandbox.py:_run_apply) the receipt is built from an arbitrary JSON file, and EvalReceipt.receipt_hash is never verified or signed. Since the bundle digest is printed by diff and recomputable, a hand-written {"passed": true, "diff_sha256": "<digest>"} will apply an unevaluated diff.
This is not a privilege escalation — CLI apply still requires --yes (human confirmation) and all writes are confined to the host root by the path-traversal defenses. But the "evaluation-gated apply" property is currently a workflow marker, not a cryptographic control. If eval-gating is intended as a hard guarantee, apply should verify a signed receipt (reuse the Ed25519 audit-signing pattern from Dream Mode #935).
Activity
Merge #940: sandboxed PC Twin (closes #747)