Agent Policy Conformance Validator (APCV): Independent Validation of AI Agent Containment Boundaries
Yongcan Xiang
APCV (Agent Policy Conformance Validator) validates that an AI agent's declared security boundaries are its actual boundaries — before deployment. It statically discovers a LangGraph agent's complete tool surface (framework @tool decorators, MCP endpoint declarations, and sub-agent create_agent declarations) and classifies each tool's dangerous capabilities via AST sink analysis (code_exec, file_read, file_write, network) into a versioned Tool SBOM. It then generates policy-relative probes — baseline, denied-tool, capability-directed injection, and deep canary probes — and executes them in a fixed, non-root, network-disabled Docker sandbox while recording every tool invocation with wrapt instrumentation. Finally, it scores conformance across tool, filesystem, and network boundaries (0–100) and emits an auditable PASS/FAIL verdict. On a simulated enterprise support agent, it surfaces nine violations (five critical plus capability residue a manual review would miss) and confirms the remediated version passes — reframing containment from a design assumption into independently reproducible evidence.
No reviews are available yet
Cite this work
@misc {
title={
(HckPrj) Agent Policy Conformance Validator (APCV): Independent Validation of AI Agent Containment Boundaries
},
author={
Yongcan Xiang
},
date={
},
organization={Apart Research},
note={Research submission to the research sprint hosted by Apart.},
howpublished={https://apartresearch.com}
}


