There is a newer version of the record available.

Published October 7, 2026 | Version benchmark-v0.6.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.6.0 tells you why a run measured nothing, names the gateway it talked to, and explains one outcome that used to look like a bug.

pip install --upgrade pii-leak-benchmark

What changed

The flat command says why nothing reached the capture

Before: pii-leak-benchmark --target-base-url http://127.0.0.1:4000/v1 against a gateway that wanted a key printed Passed: False, Outcome: claim-unstated and a paragraph about recording a vendor claim. That every request had been answered 401 was in the JSON only. After: a Why: line in the summary, in the words selfcheck already used:

  Why:          The gateway at http://127.0.0.1:4000/v1 answered HTTP 401 and forwarded nothing to the capture. It rejected the client key: pass the key it expects with --target-api-key or CONFORMANCE_TARGET_API_KEY.

It appears whenever no request carrying the run's marker reached the capture, so a gateway that probes its upstream on startup does not hide it.

The gateway is named by its URL

selfcheck and the flat summary say "The gateway at http://127.0.0.1:4000/v1 answered HTTP 401" instead of "Your gateway answered HTTP 401". The URL is reduced to scheme, host, port and path before it is written anywhere, because the reason also lands in ci's published report and job summary.

Why a one-way gateway scores no-leak-profile-not-met on the v2 profile

A gateway that redacts the system prompt and tool descriptions but never restores values echoed from them scores fidelity 0 on those two request sites and 1 on the caller's own. The console now prints, beside the row:

-> Nothing leaked. Every value the gateway did not restore came from system-content and tool-description (text the application wrote, not the caller); chat-content and unrecognised-key restored in full. A gateway that keeps those sites one-way on purpose scores this outcome on this profile.

A fidelity miss on the caller's own turn gets no such sentence. The sentence is printed by the entry point, outside the instrument.

The conformance landing page opens with selfcheck

Like the README and the package page already did.

No scorer, outcome rule, oracle, corpus or inspector digest changed (inspector_sha256 stays 94262e29a492ab6a). Reports from 0.5.x stay comparable.

Notes

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

Files

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

Files (6.5 MB)

Name Size
md5:794560468524e35c1abc508bb9b7cf83
6.5 MB Preview Download

Additional details