# Security and trust boundaries Report a suspected vulnerability privately through the repository's [security advisory form](https://github.com/openkedge/kedgespec/security/advisories/new). Include the affected version, a minimal description, the expected boundary and any relevant sanitized logs. Keep credentials, policy secrets and production data out of reports and public issues. The preview assumes a trusted workspace owner, protected SQLite state and approval files, an independent effect writer and clock, approved issuer roles, and operator-installed providers. Protect filesystem permissions and authenticate the reasoning view at the host boundary. Provider and source checks detect substitution in these assumptions. Host or database administrator compromise requires a different trust model and independently anchored evidence. For the [opt-in composition](docs/interoperability/compositional-execution.md), the operator enrolls separate workload, approval, evidence and recovery credentials. The local protected SQLite writer orders approval revocation and consumption with the target mutation. The trusted governance lock orders cooperating policy updates. Scope the database and enrollment APIs to the operator boundary and retain receipt and approval history together. | Concern | Tested or documented control | | --- | --- | | Agent-controlled inputs and evidence forgery | Typed closed operations, exact actor/resource bindings, enrolled evidence and trusted time, native admission | | Module and provider supply chain | Local-root module resolution, version/content/input locks, explicit delegation envelopes, operator installation and native assertions | | Unauthorized installation or stale governance | Exact plan approval, compilation and dependency lock verification, generation checks, verified adoption | | Reservation reuse, concurrency and uncertain effects | Exact operation binding, authority epochs, one SQLite writer, liability retained until original reconciliation | | Artifact substitution and rollback | Reconstructed compilation, observed generation and artifact digests, approved updates | | Tampering and information disclosure | Content identities, protected journals, typed scoped views, redacted explanations | | Duplicate effects and process interruption | Idempotent protected receipts, atomic duty creation, replay and retained recovery | | Incomplete adoption | Unresolved state, inspected authority and acknowledgement pins, separate qualification | The independent PostgreSQL leaf proof is limited to the pinned disposable environment. Validate production custody, writer coverage, remote lifecycle and distributed failure assumptions before using a deployment outside the tested boundaries. See the [preview security review and vulnerability triage](docs/qualification/security-review.md) for the checked dependency inventory, provider trust assumptions, and defensive regression coverage.