There is a newer version of the record available.

Published September 16, 2026 | Version benchmark-v0.3.0

ninadphalak/LLM-Shield-Proxy: v1.3.0: Stateless Cryptography, MCP Governance, Air-Gapped Egress, and System Hardening

Authors/Creators

Description

pii-leak-benchmark 0.3.0. This is a release of the benchmark harness only. It is not an LLM-Shield-Proxy release, and no proxy artifact or container image is built from this tag.

pip install "pii-leak-benchmark==0.3.0"

Check your gateway in CI

A GitHub Action you can add to your own repository, and a ci subcommand behind it:

- uses: ninadphalak/LLM-Shield-Proxy@benchmark-v0.3.0
  with:
    target-base-url: http://127.0.0.1:4000/v1
    start-command: ./scripts/start-test-gateway.sh
    upstream-env: UPSTREAM_BASE_URL

The Action stands a synthetic model provider in front of your gateway's configured upstream, sends a prompt containing synthetic-but-valid personal data, and reports which data types reached that upstream. It runs a negative control first, starts and stops your gateway, writes a job summary with a row per data type and a next step, and uploads reports even when the check fails. Point baseline-base-url at your previous version and the summary separates new failures from existing ones. Setup guide: https://llmshieldproxy.com/docs/conformance/ci

An existing leak always fails the job, whether or not it is new.

In this release

  • pii-leak-benchmark ci: negative control, managed gateway startup, readiness, seeded operator workload, live or stored baseline comparison, Markdown and GitHub job summaries, retained artifacts.
  • pii-leak-benchmark selfcheck reports CLEAN, LEAK, CHECK FAILED and NOT MEASURED as distinct results, so a behaviour failure without a leak is no longer called a leak. --duty anonymize supports one-way masking gateways. --profile pii-secrets-v1 adds AWS, GitHub and Slack credential formats.
  • capture_session() and CaptureSession are public API for callers that start the target themselves. The capture endpoint is bound before the gateway starts, so a gateway that contacts its provider during startup finds it listening; traffic sent in that window is measured rather than excluded. A session measures one run and refuses reuse.
  • Reproduction safeguards: published evidence cannot be overwritten or aliased into, baselines are hash-checked against the frozen source commit and snapshotted before the experiment runs, and benchmarks/verify_frozen_evidence.py checks the full 191-file inventory.

Limits worth reading before you quote a result

The fixture uses a fixed set of data formats. The values change on every run, the formats do not, so a program written for those formats can pass without being a general detector. Credential specimens are fixed, not generated. Leak detection covers the configured capture origin only: egress to any other destination is outside what this profile observes. See https://llmshieldproxy.com/docs/conformance/fixture-threat-model

Notes

If you use this software, please cite it as below.

Files

ninadphalak/LLM-Shield-Proxy-benchmark-v0.3.0.zip

Files (5.7 MB)

Name Size
md5:552d775513fe579e2a3538b1521aa28e
5.7 MB Preview Download

Additional details