Files
OpenShell/python/openshell/prover/testdata/policy.yaml
T
Alexander Watson d7f1f8052d feat(prover): add OpenShell Policy Prover (OPP) to Python SDK
Integrate Z3-based formal verification for sandbox policies as
openshell.prover. Detects data exfiltration paths, write bypass
attacks, L7 enforcement gaps, overpermissive methods, and privilege
escalation via binary capability chains.

Closes #699

Signed-off-by: Alexander Watson <zredlined@gmail.com>
2026-03-31 08:31:00 -07:00

34 lines
649 B
YAML

version: 1
filesystem_policy:
include_workdir: true
read_only:
- /usr
- /lib
- /proc
- /etc
read_write:
- /sandbox
- /tmp
process:
run_as_user: sandbox
run_as_group: sandbox
network_policies:
github_readonly:
name: github_readonly
endpoints:
- host: api.github.com
port: 443
protocol: rest
enforcement: enforce
access: read-only
- host: github.com
port: 443
# No protocol field — L4 only! Git wire protocol passes through.
binaries:
- { path: /usr/local/bin/claude }
- { path: /usr/bin/git }
- { path: /usr/bin/curl }