AgentConform — Open Agent Security Verification
AC-002 · Goose · Phase 1 2 pass 4 fail

AC-002: Goose saved permissions and dispatch

Research question: Can a targeted edit permission repair restore confirmation while retaining an unrelated explicit delete denial across inspection and fixture dispatch?

Verified against commit 86d516d (2026-11-27) · AC-002 additionally verifies 10 individual dispatch records across stages (original, mode_only, targeted_repair, reset_all); these 10 dispatch records are distinct from the 6 grouped replay verdicts.

Baseline

Persisted Goose permission state with fixture__edit explicitly allowed (always_allow) and fixture__delete explicitly denied (never_allow).

Targeted Repair

Targeted repair changing only fixture__edit to Ask Before (ask_before) while leaving fixture__delete explicitly denied.

Controls

Two negative controls: (1) mode-only change (fails intended objective because saved Allow overrides mode); (2) reset-all (fails unrelated restriction preservation by turning explicit delete denial into a prompt).

Justified Expectations

  • Mode-only fails edit_requires_approval while preserving delete_deny_preserved (verdict: fail).
  • Targeted repair passes edit confirmation and preserves explicit delete denial (verdict: pass).
  • Under targeted dispatch: Deny Once blocks edit (0 calls), Allow Once dispatches once (1 call), subsequent request asks again, delete produces 0 prompts and 0 calls.
  • Reset-all restores edit confirmation but loses explicit delete denial (verdict: fail).

Recorded Replay Observations & Verdicts

Variant Surface OWASP Trace Final Verdict Observation Summary
ac002.inspector_mode_only Permission inspector reload Fail Fail Expected negative control: mode-only change kept saved edit Allow decision; edit confirmation not restored.
ac002.inspector_targeted_repair Permission inspector reload Pass Pass Targeted edit repair restored Ask Before while preserving explicit delete denial in reloaded permission manager.
ac002.inspector_reset_all Permission inspector reload Fail Fail Expected negative control: reset-all restored edit confirmation but lost explicit delete denial.
ac002.dispatch_mode_only Fixture dispatch (grouped) Fail Fail Expected negative control: fixture__edit executed without prompt under mode-only change.
ac002.dispatch_targeted_repair Fixture dispatch (grouped) Pass Pass Targeted repair: Deny Once blocked edit, Allow Once dispatched once, subsequent edit asked again, delete stayed blocked with zero prompts.
ac002.dispatch_reset_all Fixture dispatch (grouped) Fail Fail Expected negative control: reset-all caused fixture__delete to prompt instead of staying explicitly denied.

Known Limitations

  • The inspector reloaded persisted permissions via a fresh permission manager instance rather than a full OS process restart (later addressed separately in Phase 2 AC-004).
  • Uses harmless disposable fixture tools rather than production extensions.

Runtime Execution vs. Recorded Replay

Runtime collection ran pinned Rust inspector and harmless MCP fixture dispatch tests offline after dependency preparation. Recorded replay verifies fixture/inspector hashes and projects grouped observations to OWASP assertions.

Software Version Pins

  • Goose (1.57.0) 30bba95105e59bc3e7df624cf6b4d433690cfe12 Evaluated agent source
  • Rust (1.99.0) pinned toolchain Inspector and dispatch build toolchain
  • OWASP Assertions (pinned) 970158c10b7e36ae00f12de4ba2a41ca61acabca Trace assertion evaluator

Verified Artifact Digests (SHA-256)

  • evidence/ac002/inspector-summary.json 9d610d16dab5789b5d677e67504ca14dc3dd1601c9dac6753862e886688a3501 Permission inspector summary
  • evidence/ac002/dispatch-summary.json bde065aa3c95475ea6886766a97b8d0984557b31e573175aa20753f1cb51fa44 10-record fixture dispatch summary

Approved Reproduction Commands

Download approved AC-002 JSON summary
Replay recorded Phase 1 evidence
python3 phase1_replay.py --owasp-src audit/owasp/src
Run Goose dispatch tests (after goose-prepare)
python3 run_ac002_dispatch.py --runtime "$PWD" --toolchain "$(rustup run 1.99.0 rustc --print sysroot)"