Repository navigation
Releases
mcp-attest 1.2.2
The AT-TOKEN-001 probe could tamper nothing.
It replaced the first character of the signature with a letter taken from the last one, so a signature that already began with that letter came back byte for byte identical. One token in sixty-four then reached a server that verifies signatures correctly, the server accepted it as the valid token it was, and the harness reported a critical finding against a server that was doing everything right.
The probe now uses the same helper as the OAuth probes: the signature is decoded, one bit is flipped and encoded again, so the token always differs from the valid one. The example server refuses a malformed signature with a plain 401 instead of dropping the connection.
Four regression tests cover it: the case the old flip missed, a correct server that must not be reported, a probe that must not send the valid token, and a server that really does accept a tampered token and must still be reported.
Pull request #5. Published to PyPI as mcp-attest 1.2.2.
mcp-attest 1.2.1
[1.2.1] - 2026-11-14
Two defects in the published artifact: one in the packaging, one in the probe.
Fixed
- The sdist left
docs/out, so the published suite schema and the posture
report were missing from the artifact, and the test that checks the schema
against the validator failed on the unpacked tarball.MANIFEST.innow
shipsdocs/mcp-attest-suite.schema.jsonanddocs/posture/. The sdist
from PyPI unpacks and runs its own seventy-seven tests green. - The tampered-signature probe could tamper nothing. The last character of a
base64url signature carries four significant bits, so a signature ends in one
of sixteen characters, and flipping the last character of a signature ending
in "A" gave back the same bytes. One token in sixteen therefore reached a
correct server unchanged, the server accepted it, and the harness reported
AT-OAUTH-002against a server that verifies signatures correctly. The
signature is now decoded, one bit is flipped and encoded again, so the
tampered token always differs. A test covers all sixteen endings.
mcp-attest 1.2.0
Changelog
Unreleased
Added
- Nothing yet: the next release starts from the 1.2.0 line.
[1.2.0] - 2026-11-14
The OAuth half of the OWASP minimum test set, a suite format another harness
can run, and a posture measurement of the public servers.
Added
- Twelve OAuth rules,
AT-OAUTH-001toAT-OAUTH-012, covering the OAuth
tests the guide lists: wrong audience, wrong issuer, wrong scope, tampered
signature, expiry,alg: none, protected resource metadata (RFC 9728),
PKCE, redirect URI validation, state binding, and a token that must not be
passed to an upstream server. The rule catalogue now holds twenty-four live
rules. - The claim-level probes — expired, wrong audience, wrong issuer — mint
correctly signed tokens, because a token the server may refuse for the wrong
reason proves nothing. They need the signing key named by
oauth.signing_key_env; without it they are reported as skipped, never as
passed. attest suite export,attest suite validateandattest suite run, and
the publishedmcp-attest-suiteschema. A suite says who may call what, as
whom, and what must come back, in a shape another harness can read.attest posturemeasures the servers the official MCP registry lists. It
sends at most three well-formed requests per server — the handshake, the
initialized notification andtools/list— and never calls a tool, so
nothing can be changed on a server that is not yours. The report carries
aggregates and the method; host names stay with the operator, because
naming a server that accepts an unauthenticated session is a disclosure.- The first posture measurement, published in
docs/posture/2026-11-14.md:
of 189 servers measured, 177 answered and 81 of those (45.8%) opened a
session with no credentials at all. --stridetakes every N-th server of the registry, so a sample covers the
whole name space instead of the names that sort first, and the same stride
picks the same servers tomorrow.- The example HTTP server grew an OAuth 2.1 layer —
/authorize,/token,
protected resource metadata — with one switch per check, so every rule can
be shown on its own. docs/ADOPT.md: the sixty-second path from a server to a first run.
mcp-attest 1.1.1
Changelog
Unreleased
Added
- Nothing yet: the next release starts from the 1.1.0 line.
[1.1.1] - 2026-11-14
Fixed
- The source distribution shipped the test suite without its fixtures and
without the example servers, sopython -m unittest discover -s testson an
unpacked sdist failed.MANIFEST.innow shipstests/andexamples/, and
the sdist runs its own tests.
[1.1.0] - 2026-11-14
The OTLP reader contributed in #3 now works from the command line. A team that
already emits OpenTelemetry GenAI spans can check them against its policy
without building a second instrumentation path.
Added
attest check --otlp PATHreads the trace from an OpenTelemetry export
instead of a JSONL trace file. The reader takes a single OTLP JSON payload
or newline-delimited payloads, and skips spans that are not MCP spans with a
warning. It understandsmcp.tool.call,mcp.tools.list,
mcp.client.serversandmcp.gateway.route; the README documents the
span contract.- CI now runs on the
developbranch as well, so the development line is
verified before it reaches a release.
Fixed
- The OTLP reader merged in #3 was only reachable as a library.
attest check
now accepts it, and--traceand--otlpare mutually exclusive.
All notable changes to this project are documented in this file.
The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.
mcp-attest 1.1.0
Changelog
Unreleased
Added
- Nothing yet: the next release starts from the 1.1.0 line.
[1.1.0] - 2026-11-14
The OTLP reader contributed in #3 now works from the command line. A team that
already emits OpenTelemetry GenAI spans can check them against its policy
without building a second instrumentation path.
Added
attest check --otlp PATHreads the trace from an OpenTelemetry export
instead of a JSONL trace file. The reader takes a single OTLP JSON payload
or newline-delimited payloads, and skips spans that are not MCP spans with a
warning. It understandsmcp.tool.call,mcp.tools.list,
mcp.client.serversandmcp.gateway.route; the README documents the
span contract.- CI now runs on the
developbranch as well, so the development line is
verified before it reaches a release.
Fixed
- The OTLP reader merged in #3 was only reachable as a library.
attest check
now accepts it, and--traceand--otlpare mutually exclusive.
All notable changes to this project are documented in this file.
The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.
mcp-attest 1.0.0
Changelog
All notable changes to this project are documented in this file.
The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.
[1.0.0] - 2026-11-14
This release repoints the product. Version 0.1.x judged a recorded session
against a policy; 1.0.0 tests a live server against the policy, as every
identity in it, and produces evidence a third party can verify offline.
Added
attest test— the primary command. Connects to a live MCP server over
stdio or Streamable HTTP, presents each identity from the policy, sends
real calls and reports every point where the server's decision differs
from the policy's decision.- A JSON-RPC 2.0 client written for this tool: stdio and Streamable HTTP,
the fullinitializehandshake, paginatedtools/list, SSE responses and
theMcp-Session-Idheader. No SDK, no dependencies. - The authorization matrix: the policy is the expected side, the server is
the observed side, and every identity × tool pair is compared. Arguments
are derived from the tool's own schema. - Policy
cases— explicit expectations for what a generated probe cannot
express, such as an identifier owned by another principal. - Policy
probes— pinned arguments per tool, which is also how an operator
opts in to calling a tool that changes state. - Policy
identity— how each client presents itself, withheadersfor
HTTP andenvfor stdio, and${VAR}expansion so credentials stay out
of the file. - Twelve live rules, each mapped to a test in the OWASP MCP Security
Testing Guide:AT-AUTHZ-001,AT-AUTHZ-002,AT-TOKEN-001,
AT-POISON-001,AT-DRIFT-001,AT-SECRET-001,AT-FAILCLOSED-001,
AT-INJECT-001,AT-SINK-001,AT-SCHEMA-001,AT-APPROVAL-001,
AT-ERROR-001. - Token validation probes: a malformed token, a token with a tampered
signature and an expiredalg: noneJWT. - Tool-manifest snapshots and drift detection against an approved baseline
(--baseline,--update-baseline). - Evidence bundles: one record per call with request, response, identity,
timestamp, expected decision and observed decision, secrets redacted,
hash-chained, optionally HMAC-signed, withattest verifyto check them
offline. --sarifoutput in SARIF 2.1.0, so findings land in GitHub code
scanning.attest init --command/--url— scaffold a policy from a live tool list.- Example servers:
examples/servers/orders_server.py(a vulnerable and a
fixed variant over stdio) andexamples/servers/orders_http_server.py
(over Streamable HTTP, with switches for weak and missing token checks). - The test suite now starts real MCP servers and asserts on what the
harness finds.
Changed
- The GitHub Action gained a
testmode, an optionalbaseline, SARIF
output and an evidence bundle. - The README, the Russian README,
SPEC.md,docs/POSITIONING.mdand
docs/RESEARCH.mdwere rebuilt around the new job. - The positioning document now names the tools that appeared in this space
since 0.1 — mcp-assert, mcp-fence, mcp-fuzz, mcp-server-fuzzer, mcpsec,
MCTS, OpenTrustBench — and states what each does better.
Unchanged
attest check,attest receipts,attest shadowand the trace rules
C1–C9keep their behaviour and their format.- Zero runtime dependencies. Python 3.10+ and the standard library.
mcp-attest 0.1.5
Changelog
All notable changes to this project are documented in this file.
The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.
[0.1.5] - 2026-11-14
Added
docs/POSITIONING.md— what the tool solves, the evidence with every source
checked, the tools that already judge recorded MCP sessions, and the claims
this project cannot make.
Changed
- The README now states plainly that other tools already audit recorded MCP
sessions, and says what actually makes this one different: one offline
question, zero dependencies, no proxy, no SDK. - Research notes: every number carries its denominator and a working link. Two
figures were corrected — the ~200,000 instances are an SDK stdio design flaw,
not exposed servers, and the CVE count is now cited to its source. - The landing page attributes the survey to Pipelock and the design
considerations to NSA/CISA, and links to the NSA mirror that does not block
automated fetches.
[0.1.4] - 2026-11-13
Changed
- The readme visuals now use absolute URLs, so they render on the PyPI project
page as well as on GitHub.
[0.1.3] - 2026-11-13
Changed
- The README was rebuilt around the product idea instead of the research: a hero
diagram, a recorded demo, the nine checks in one table, and an explicit
"what this is not" section. - Added
docs/RESEARCH.md— the market evidence that used to sit in the README
now lives in one place, linked from the README. - Added
README_RU.md— Russian version of the README. - Removed the stale
demo-policy.json;examples/policy.jsonis the policy used
by the examples and the demo.
Added
docs/readme/hero.png,docs/readme/architecture.pnganddocs/readme/demo.gif
— the readme visuals, rendered from the real CLI output.
[0.1.2] - 2026-11-13
Changed
- The PyPI project page now points to the product page
https://balanov.pro/mcp-attest/asHomepageandDocumentation, so the
package index leads to the landing page instead of the repository. - The README links to the product page directly from the header.
[0.1.1] - 2026-11-13
Added
- CI and PyPI badges in the README.
Fixed
- CLI output is forced to UTF-8, so findings containing em dashes no longer break
on a Windows console with a legacy code page.
mcp-attest 0.1.4
Changelog
All notable changes to this project are documented in this file.
The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.
[0.1.4] - 2026-11-13
Changed
- The readme visuals now use absolute URLs, so they render on the PyPI project
page as well as on GitHub.
[0.1.3] - 2026-11-13
Changed
- The README was rebuilt around the product idea instead of the research: a hero
diagram, a recorded demo, the nine checks in one table, and an explicit
"what this is not" section. - Added
docs/RESEARCH.md— the market evidence that used to sit in the README
now lives in one place, linked from the README. - Added
README_RU.md— Russian version of the README. - Removed the stale
demo-policy.json;examples/policy.jsonis the policy used
by the examples and the demo.
Added
docs/readme/hero.png,docs/readme/architecture.pnganddocs/readme/demo.gif
— the readme visuals, rendered from the real CLI output.
[0.1.2] - 2026-11-13
Changed
- The PyPI project page now points to the product page
https://balanov.pro/mcp-attest/asHomepageandDocumentation, so the
package index leads to the landing page instead of the repository. - The README links to the product page directly from the header.
[0.1.1] - 2026-11-13
Added
- CI and PyPI badges in the README.
Fixed
- CLI output is forced to UTF-8, so findings containing em dashes no longer break
on a Windows console with a legacy code page.
mcp-attest 0.1.3
Changelog
All notable changes to this project are documented in this file.
The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.
[0.1.3] - 2026-11-13
Changed
- The README was rebuilt around the product idea instead of the research: a hero
diagram, a recorded demo, the nine checks in one table, and an explicit
"what this is not" section. - Added
docs/RESEARCH.md— the market evidence that used to sit in the README
now lives in one place, linked from the README. - Added
README_RU.md— Russian version of the README. - Removed the stale
demo-policy.json;examples/policy.jsonis the policy used
by the examples and the demo.
Added
docs/readme/hero.png,docs/readme/architecture.pnganddocs/readme/demo.gif
— the readme visuals, rendered from the real CLI output.
[0.1.2] - 2026-11-13
Changed
- The PyPI project page now points to the product page
https://balanov.pro/mcp-attest/asHomepageandDocumentation, so the
package index leads to the landing page instead of the repository. - The README links to the product page directly from the header.
[0.1.1] - 2026-11-13
Added
- CI and PyPI badges in the README.
Fixed
- CLI output is forced to UTF-8, so findings containing em dashes no longer break
on a Windows console with a legacy code page.
mcp-attest 0.1.2
Changelog
All notable changes to this project are documented in this file.
The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.
[0.1.2] - 2026-11-13
Changed
- The PyPI project page now points to the product page
https://balanov.pro/mcp-attest/asHomepageandDocumentation, so the
package index leads to the landing page instead of the repository. - The README links to the product page directly from the header.
[0.1.1] - 2026-11-13
Added
- CI and PyPI badges in the README.
Fixed
- CLI output is forced to UTF-8, so findings containing em dashes no longer break
on a Windows console with a legacy code page.