From cc5fee5aeec69c5f56b6d03d3491439ffe39b8c7 Mon Sep 17 00:00:00 2001 From: Naseem Alnaji Date: Thu, 26 Nov 2026 20:43:48 +0000 Subject: [PATCH] docs: put the sensitive key mask in the 1.1.2 changelog section Version 1.1.2 has a dated section but was never published: the publish job of its release run stopped when CI failed on a Maven download. The mask (#14) merged after that, so a publish from main now ships 1.1.2 with the mask. The entry moves from [Unreleased] into [1.1.2], and the 1.1.2 note about raw Authorization and Cookie headers now says that the SDK masks them. --- CHANGELOG.md | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d721a5..04ac70a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,18 +7,6 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and ## [Unreleased] -### Security - -- The SDK now masks sensitive values in every event before the event leaves your server. It - tests each key in `parameters` and `response`, at any depth. When the key names a secret, - the SDK keeps the key and replaces the value with `[redacted]`. A key names a secret when - it is a known credential header (`authorization`, `cookie`, `x-api-key` and others) or has - a word such as `token`, `secret`, `password`, `signature` or `api-key`, in any spelling - (`X-Api-Key`, `HTTP_X_API_KEY`, `xApiKey`). Before, the SDK sent the HTTP headers of each - MCP request as received, in `parameters.extra.http.req.headers`. Tool arguments and results - under such key names lose their values too, for example `pageToken` and `auth_type`. - `null`, `true` and `false` stay. No option turns the mask off (#14). - ## [1.1.2] - 2026-11-26 ### Fixed @@ -28,12 +16,23 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and servers sent no headers, so AgentCat could not detect the client (for example Codex or Claude Code) from `user-agent`. `track()` wraps the transport's `contextExtractor`; your own extractor still runs and its context is unchanged. This covers the MCP SDK's `HttpServlet*` - transports and the Spring WebMVC and WebFlux transports. `Authorization` and `Cookie` are - included like every other header: remove them with `setRedactEvent` if you do not want to - send them. + transports and the Spring WebMVC and WebFlux transports. The SDK masks the values of + credential headers such as `Authorization` and `Cookie`: see Security below. - SDK version reporting now uses a constant generated from the SDK's Maven project version, rather than a hardcoded value or the consuming application's version. +### Security + +- The SDK now masks sensitive values in every event before the event leaves your server. It + tests each key in `parameters` and `response`, at any depth. When the key names a secret, + the SDK keeps the key and replaces the value with `[redacted]`. A key names a secret when + it is a known credential header (`authorization`, `cookie`, `x-api-key` and others) or has + a word such as `token`, `secret`, `password`, `signature` or `api-key`, in any spelling + (`X-Api-Key`, `HTTP_X_API_KEY`, `xApiKey`). This covers the request headers that this + release adds at `parameters.extra.http.req.headers`. Tool arguments and results under such + key names lose their values too, for example `pageToken` and `auth_type`. `null`, `true` + and `false` stay. No option turns the mask off (#14). + ## [1.1.1] - 2026-11-25 ### Added