Skip to content

Releases

mcp-attest 1.2.2

Choose a tag to compare

@Balanov Balanov released this 14 Nov 16:31

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

Choose a tag to compare

@Balanov Balanov released this 14 Nov 09:21

[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.in now
    ships docs/mcp-attest-suite.schema.json and docs/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-002 against 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

Choose a tag to compare

@Balanov Balanov released this 13 Nov 23:40

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-001 to AT-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 validate and attest suite run, and
    the published mcp-attest-suite schema. A suite says who may call what, as
    whom, and what must come back, in a shape another harness can read.
  • attest posture measures the servers the official MCP registry lists. It
    sends at most three well-formed requests per server — the handshake, the
    initialized notification and tools/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.
  • --stride takes 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

Choose a tag to compare

@Balanov Balanov released this 13 Nov 23:01

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, so python -m unittest discover -s tests on an
    unpacked sdist failed. MANIFEST.in now ships tests/ and examples/, 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 PATH reads 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 understands mcp.tool.call, mcp.tools.list,
    mcp.client.servers and mcp.gateway.route; the README documents the
    span contract.
  • CI now runs on the develop branch 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 --trace and --otlp are 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

Choose a tag to compare

@Balanov Balanov released this 13 Nov 22:53

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 PATH reads 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 understands mcp.tool.call, mcp.tools.list,
    mcp.client.servers and mcp.gateway.route; the README documents the
    span contract.
  • CI now runs on the develop branch 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 --trace and --otlp are 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

Choose a tag to compare

@Balanov Balanov released this 13 Nov 22:41

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 full initialize handshake, paginated tools/list, SSE responses and
    the Mcp-Session-Id header. 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, with headers for
    HTTP and env for 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 expired alg: none JWT.
  • 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, with attest verify to check them
    offline.
  • --sarif output 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) and examples/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 test mode, an optional baseline, SARIF
    output and an evidence bundle.
  • The README, the Russian README, SPEC.md, docs/POSITIONING.md and
    docs/RESEARCH.md were 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 shadow and the trace rules
    C1–C9 keep their behaviour and their format.
  • Zero runtime dependencies. Python 3.10+ and the standard library.

mcp-attest 0.1.5

Choose a tag to compare

@Balanov Balanov released this 13 Nov 22:03

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.json is the policy used
    by the examples and the demo.

Added

  • docs/readme/hero.png, docs/readme/architecture.png and docs/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/ as Homepage and Documentation, 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

Choose a tag to compare

@Balanov Balanov released this 13 Nov 19:10

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.json is the policy used
    by the examples and the demo.

Added

  • docs/readme/hero.png, docs/readme/architecture.png and docs/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/ as Homepage and Documentation, 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

Choose a tag to compare

@Balanov Balanov released this 13 Nov 18:56

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.json is the policy used
    by the examples and the demo.

Added

  • docs/readme/hero.png, docs/readme/architecture.png and docs/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/ as Homepage and Documentation, 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

Choose a tag to compare

@Balanov Balanov released this 13 Nov 18:31

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/ as Homepage and Documentation, 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.