All notable changes to this project are documented here. The format follows Keep a Changelog; versions are Semantic Versioning.
- Redemption target binding: a token can be restricted to specific hosts, path
prefixes and headers at issue time, and
keysmith run --targetrefuses a redemption aimed anywhere else (default: deny when a token is bound).
LICENSEnow carries the full Apache-2.0 text; the copyright statement moved toNOTICE. GitHub previously reportedNOASSERTIONfor this repository.- The MCP server reports the real build version in
serverInfo.version(it advertised a hardcoded0.1.0regardless of the binary). keysmith runno longer leaves a duplicate entry behind when a redeemed variable name is already present in the environment.- Test coverage:
cmd/keysmithargument parsing, validation and environment merging now have unit tests; CI runsgofmt,go vet,go test,e2e_test.py,verify_redeem.pyand the doc-parity check on every push.
- Masking now uses the key name:
DB_PASSWORD=correcthorsebatterystapleis masked byget,list, the MCPgettool and the MCP resource, instead of being returned verbatim.KeyNameIsSensitivehad no callers before. putonly accepts avalue_fileinside<store>/inbox; an agent-supplied path outside it was an arbitrary-file read and unlink.keysmith inboxprints the directory, and symlink escapes are refused.- Store writes take an exclusive lock (
<store>/store.lock), so the MCP server and the CLI can no longer lose each other's updates (20 concurrentsetcalls used to store 12 keys). --targetpaths containing./..segments, encoded slashes or backslashes are refused, closing a--allow-pathprefix escape such as/services/../../admin.- An HTTP listener on a non-loopback address requires
-http-token; requests without a matchingAuthorization: Bearerget 401. keysmith scanno longer prints the leaked value itself in its report.randomSecretuses rejection sampling instead of a biased modulo.
- Redemption layer (
internal/redeem): session-bound placeholder tokens ([[keysmith:v1:NAME:sid8]]) resolved locally, plus thekeysmith tokenandkeysmith runcommands. Values reach a child process environment without entering a model request, a transcript or an argument list. Every failure mode is fail-closed, and<store>/audit.logrecords key names only. docs/THREAT-MODEL.md(adversaries in scope, and explicitly out of scope),docs/REDEEM.md, anddocs/audit-2026-09-14.mdwith captured evidence.verify_redeem.py: end-to-end checks that read a live child's/procentries.- Japanese mirrors for the new material in
README.ja.md,AGENTS.ja.md,docs/architecture.ja.mdandskill/SKILL.ja.md.
- The
getandrotateMCP tool descriptions told agents to use--unsafe, a flag that does not exist on the MCP transport; following that advice produced a protocol validation error. They now describe the real behaviour and point at the redemption layer.
Store (age-encrypted residency), masked views, handle passing, leak-scan with self-healing rotation, the Vault backend with dynamic short-TTL credentials, the three MCP transports (stdio, HTTP/SSE, Streamable HTTP), the CLI subcommands, the bundled agent skill, and the Japanese translations. See the git history for the individual changes.