ZitPit is a consumer-side software admission control layer for agentic development.
Its core rule is simple: first-seen external artifacts must earn execution rights under durable policy before they affect a protected host.
ZitPit still uses the language of an artifact firewall and governed execution plane, but the deeper contract is admission control at the last consumer-side boundary that still matters once agents can search, fetch, open, install, and run faster than humans can review.
The canonical paper source lives in paper/main.tex, the latest PDF bundle lives in paper/zitpit-v1.0-paper.pdf, and the readable companion draft lives in papers/publication-draft.md.
The current repository proves important parts of the control plane, not universal ecosystem closure.
| Surface | Current public evidence | Status | Supported claim |
|---|---|---|---|
| Git smart-HTTP intake | Five-repo benchmark harness with web, disk-cache, and hot-cache timings in docs/benchmarks/latest.md |
Implemented |
Approved immutable Git intake can stay faster than unmanaged public fetch |
| Brokered protected-session enforcement families | Docker demo + shell battle packs in BENCHMARKS.md |
Implemented |
Protected sessions can deny selected high-value command families before execution |
| Governed outbound DLP | Demo smoke proofs + egress battle packs in BENCHMARKS.md |
Implemented |
Governed egress can block selected sensitive outbound data before transmission |
| Rust build-time execution | Battle-harness coverage for build.rs-style scenarios |
Partial |
Build-time execution can be modeled as a separate capability boundary |
| GitHub Actions immutable-ref enforcement | Threat-model + scenario coverage for mutable refs and unsafe actions | Partial |
Workflow references should resolve to immutable identities before execution |
| npm / PyPI / raw installer mediation | Benchmark matrix + roadmap targets | Planned |
Current public docs do not claim package-manager-complete mediation |
| Repo-open enforcement depth | Threat model, policy model, and roadmap targets for .mcp.json, hooks, memory files, and devcontainers |
Planned |
Repo-open state is in scope, but host-side closure is not yet fully proven |
The source of truth for public claims is CLAIMS.md. The source of truth for proof families and status is BENCHMARKS.md.
AI IDEs and coding agents compress discover -> fetch/open/install -> execute into one low-observability loop.
That changes the practical problem:
- provenance only matters when a consumer-side system turns it into an execution decision
- repo-open state matters because opening a repository can change tool behavior before review
- fetch, build, test, and host execution are different trust decisions
- the safe path must be faster than unmanaged fetch or teams will route around it
- durable policy events create the missing join key for recall, audit, and incident reconstruction
This is why ZitPit treats package installs, workflow refs, repo-open configuration, and selected protected-session execution surfaces as policy-visible boundaries rather than ambient trust.
ZitPit is strongest today on Git-path intake, but the architecture is bigger than Git mediation:
- Admission control: the question is not just “can we fetch this,” but “has this exact external artifact earned execution rights here?”
- Repo-open surfaces:
.mcp.json, memory files, hooks, devcontainers, and similar workspace artifacts are treated as supply-chain input - Capability-scoped rights:
FETCH_ONLY,BUILD_NO_NETWORK,TEST_NO_SECRETS,RUN_DEV, andRUN_CIseparate authority instead of collapsing it into one allow/block bit - Safe-path-fast-path: approved immutable artifacts should be faster than unmanaged public fetch, not slower
That combination is the project’s real thesis: a durable pre-execution admission boundary for agentic workflows.
ZitPit does not claim:
- to solve agent safety in general
- to prove unknown software is benign
- to provide full ecosystem closure today
- to make trusted-publisher compromise harmless
- to make unsupported or unmanaged paths safe by implication
See CLAIMS.md for approved and forbidden wording.
ZitPit organizes the control plane into four stages:
External requests should resolve to the strongest available immutable identity before execution rights are considered. Mutable refs such as branches, tags, and latest are policy exceptions, not default trust.
Install-time and build-time execution should be separated from simple acquisition. First-seen or policy-sensitive artifacts go to a controlled lane before they can affect the protected host.
Agents, shells, and workflows receive policy-scoped rights rather than ambient host trust. The current repo publicly proves selected protected-session enforcement families here.
Optional release-path controls can inspect outgoing artifacts to catch packaging drift, release leaks, and workflow-path surprises.
The shared policy vocabulary is documented in docs/policy-model.md. The artifact policy event is the durable contract across admission, evidence, and recall:
selectorresolved_immutable_identityprovenance_resultverdictevidence_pointercontextexpiry_staterevocation_state
Capability-scoped verdicts currently used across the docs are:
FETCH_ONLYUNPACK_ONLYBUILD_NO_NETWORKTEST_NO_SECRETSRUN_DEVRUN_CIBLOCKED
This shows the kind of protected workspace setup ZitPit is designed to guard. The important point is not the screenshot itself; it is that repo-open state, shell bootstrap, and execution surfaces are part of the admission problem.
The TUI is the live view of the intake perimeter: approvals, quarantine jobs, decisions, and evidence.
The current public benchmark result is intentionally narrow and explicit: approved immutable Git intake can be materially faster than unmanaged public fetch.
The figure matches the paper’s framing: without mediation, first-seen software can move directly toward host execution; with ZitPit, first-seen artifacts are held behind policy check and quarantine when required.
The repository currently demonstrates protected-session and governed-egress enforcement families. These are strong proof slices, but they should not be mistaken for universal host closure.
- Shell bypass and interpreter-evasion wrappers
- Secret and key reads
- SSH-agent touch
- Browser and session-token access
- Repo-open and config abuse
- Publish, deploy, and IAM abuse
- Persistence writes
- Destructive operations
- Selected recon and lateral-movement tooling
- 17+ detector patterns across 10 payload classes
- destination trust-zone policy
- archive unpack-and-scan before send
- smoke proofs for blocked secrets, keys, PHI-like data, and clean-text controls
See BENCHMARKS.md for the exact proof boundary and claim classes.
Caution
The quickstart demonstrates the currently implemented Git-path, protected-session, and governed-egress workflow. Use BENCHMARKS.md and CLAIMS.md as the source of truth for what is proven today versus what remains roadmap work.
Bootstrap integrity check:
sh scripts/verify_hash.shcargo run -p xtask -- demo setupPaste the printed SSH block into ~/.ssh/config, then open the protected shell:
ssh zitpitOpen the TUI:
cargo run -p zitpit-tuicargo run -p xtask -- battle lint
cargo run -p xtask -- battle shell
cargo run -p xtask -- battle egress
cargo run -p xtask -- battle controls
cargo run -p xtask -- battle fast
cargo run -p xtask -- battle all
cargo run -p xtask -- demo smokeThe roadmap is not “say bigger things.” It is “prove more of the boundary in public.”
The next proof tranche is centered on:
git_follow_on_intake: submodule, LFS, and follow-on fetch closurerepo_open_execution_surface: devcontainer lifecycle, Feature install, and agent-config-triggered behavior- one package-dynamic-execution family next, likely npm Git dependency lifecycle or Python sdist/direct-URL build paths
Read ROADMAP.md for the broader engineering agenda.
If admission control becomes part of mainstream agentic development, openness is not cosmetic. It is the safeguard against opaque gatekeeping.
We especially want community help with:
- benchmark cases and benign controls
- incident replay and reproducible proof families
- ecosystem adapters for npm, PyPI, Cargo, Go, OCI, and raw installer paths
- policy-event schema review and evidence portability
- recall and revocation workflows
- repo-open and agent-surface enforcement design
- anti-centralization guardrails for shared trust signals
The long-term value is not only blocking bad artifacts. It is building an open, portable, inspectable admission layer for software and workspace influence in the agent era.
ZitPit is licensed under MIT.


