Skip to main content
Loss of provenance

A previous release had provenance metadata, but this release does not. View details.

admission-gate

CI License: MIT PyPI

A deterministic admission gatekeeper, feedback regulator, and cryptographic audit logger for autonomous shell environments and agent tooling.

Architectural Layers

  1. The Map (admission-gate): Static verification kernel executing strict path canonicalization, command jail confinement, and invariant enforcement.
  2. The Territory (kpt_kernel / fpt_daemon): Adaptive PID damping controller adjusting burst allowance, cooldown intervals, and path quarantines based on real-time fault telemetry.
  3. The Witness (Human_inthe_loop): Out-of-band sovereign attractor handshake preventing automated execution bypasses when damping escalates ($\sigma > 0.85$).
  4. Agent Integration (fpt_mcp_server.py): Zero-dependency Model Context Protocol server exposing gated shell execution over JSON-RPC stdio.

Installation

pip install admission-gate kpt_kernel
Formal Verification
​State Space Model Checking: Verified via discrete state exploration (spec/verify_model.py) across 697 states, 1,020 transitions, and 0 bypasses.
​Control Stability: Discrete Lyapunov stability with anti-windup accumulator bounds (\sup \vert{}I_k\vert{} \le I_{\max}) documented in ARCHITECTURE.md.
​Adversarial Fuzzing: 500+ path-traversal mutations verified against root confinement invariants (tests/test_properties_adversarial.py).
​Quick Start
from admission_gate import evaluate, GateConfig, ActionProposal

config = GateConfig(
    write_roots=["./workspace", "./scratch"],
    read_roots=["./workspace", "./scratch"],
    blocked_patterns=["rm -rf /", ":(){ :|:& };:", "/dev/sd", "> /dev/null"]
)

proposal = ActionProposal(
    action_id="task-01",
    command="echo 'build complete' > ./workspace/status.txt",
    target_path="./workspace/status.txt",
    risk_tier=1
)

passed, reason = evaluate(proposal, config=config)
print(f"Policy Decision: {passed} ({reason})")

License
​MIT

Metadata

Release files for admission-gate 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Loss of provenance

These files do not have provenance metadata, despite files in a prior release including this data.

We recommend further investigation before installing these files. View details.

Source distribution (sdist)

Source distribution for admission-gate 0.4.1
File Size Uploaded Provenance
admission_gate-0.4.1.tar.gz 28.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for admission-gate 0.4.1
File Interpreter ABI Platform
admission_gate-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 51.8 kB

Release files / admission_gate-0.4.1.tar.gz

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL admission_gate-0.4.1.tar.gz
Size 28.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b0296f2ec60a348d5a1bee66cf03dde45009a8c7fa2c7cdb6ef07a641c27754d
BLAKE2b-256 checksum
How to use checksums
33c1ae638034ffab35a29be908fb6f6b9571e2d7f60d4dc08d23217e38ffd090
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / admission_gate-0.4.1-py3-none-any.whl

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL admission_gate-0.4.1-py3-none-any.whl
Size 23.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b53eb7d90297c2e28bd2436d0728de38c2357f2601103732d75b0af051ce4686
BLAKE2b-256 checksum
How to use checksums
f0dba96d07aca14aaf85f98d5c30f4cf24e4f2e2c2cf2637c0ba07054baeb191
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for admission-gate 0.4.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Loss of provenance

A previous release of these files had provenance metadata, but this release does not.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Release comparison

  • Removed 0.4.0 2 files With provenance
  • Added 0.4.1 2 files Without provenance

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page