AgentConform — Open Agent Security Verification

Experiment Design & Threat Model

Experimental Methodology

A case specifies a pinned agent build, a baseline permission configuration, a requested repair, unrelated restrictions, legitimate utility, expected observations, and repair variants. Each variant is evaluated against explicit expectations with recorded outcomes projected into OWASP-compatible traces.

Five Evaluation Dimensions

Dimension Question Example Observation
Intended behaviorWas the requested behavior restored?A request waits for user confirmation before dispatch
Restriction preservationAre unrelated denials still enforced?Forbidden delete fixture does not execute or prompt
Utility preservationDoes permitted work still succeed?Allowed workspace read or approved edit succeeds
Ordering & effectsDid dispatch occur only after approval?Correlated approval RPC checked against independent journal
Evidence completenessWere all mandatory observations collected?Missing interactive approval yields inconclusive
VARIANT 01

Baseline Control

Establishes starting permissions and verifies positive controls (for example, workspace read succeeds and forbidden fixtures are blocked) before interpreting any repair outcome.

VARIANT 02

Targeted Repair

Applies the minimal intended configuration change (e.g., moving only fixture__edit to ask_before) and verifies objective restoration plus invariant preservation.

VARIANT 03

Negative Controls

Intentionally flawed or over-broad changes (such as faulty_workspace, mode-only, or reset-all) confirm that the harness detects regressions.

Threat Model & Laboratory Isolation

Failure Modes Under Study

  • Unintended privilege expansion: Workspace write becomes permitted (AC-001 faulty_workspace).
  • Ineffective repair: Mode change leaves saved Always Allow intact (AC-002 mode-only).
  • Collateral restriction loss: Global reset erases unrelated delete denial (AC-002 reset-all).
  • Approval bypass: Fixture executes before confirmation or after rejection (AC-003 RPC/journal checks).
  • Over-restriction: Legitimate read or approved edit no longer succeeds.

Isolation & Out-of-Scope Boundaries

Runtime collection executes only in an isolated Linux x86-64 lab with Bubblewrap nested user namespaces, synthetic home directories, harmless disposable fixtures, and controlled loopback providers where required. Preflight failures must never be bypassed.

Explicitly out of scope: Prompt injection resistance, credential exfiltration, production penetration testing, general container escape resistance, and formal verification of all possible agent behaviors.

Recorded Replay vs. Fresh Runtime Execution

Runtime reproduction runs pinned agent binaries/sources in an isolated lab to collect fresh observations. Recorded replay (phase1_replay.py) verifies artifact SHA-256 hashes and projects archived observations into OWASP traces without executing the agent runtime. Replay verifies deterministic scoring and provenance; it is not an independent runtime replication.

OWASP assertion status and AgentConform's final evidence-aware verdict are kept strictly separate: if all available OWASP assertions pass but a mandatory observation is missing (such as AC-001 interactive approval), the final verdict remains inconclusive.