AID-H-018.002
Very High
Policy-Based Access Control
Enforce deterministic Policy-Based Access Control (for example, via Open Policy Agent or Casbin) at the tool dispatcher and final service adapter using verified caller attributes (
permission_level: "viewer", can_edit: false), and attenuate downstream credentials instead of executing edit_workspace_file under an unrestricted service account. Access control is a deterministic invariant, not a probabilistic classification problem: enforcing can_edit == true in code independently blocks the unauthorized edit regardless of Jev’s is_risky score.