Repository navigation
AgentKeychain v0.6.2 — Production Keychain isolation
AgentKeychain v0.6.2 is an emergency safety release that prevents development
and end-to-end tests from reaching the host OS keychain or the default
production Vault.
Security fixes
- Every
bun testrun preloads a fail-closed test mode. - Test-mode keychain access requires an explicitly injected executable inside
an explicitly declared isolated stub directory; inherited command overrides
and normalPATHdiscovery cannot reach the host keychain. - Test mode refuses the default Vault and any Vault path outside the system
temporary directory. - Non-default
AGENTKEYCHAIN_HOMEvalues use deterministic path-scoped
keychain service names instead of sharing the production service tuple. agentkeychain setupverifies the supplied password against the existing
Vault before writing or replacing a keychain entry.- Legacy keychain entries are migrated to a custom Vault only after proving
that the legacy password unlocks that Vault.
Compatibility
- The default production Vault retains the existing keychain service name.
- No Vault migration, credential rotation, or secret rewrite is performed by
this release. - The private master-password check from v0.6.1 remains available with up to
ten attempts per local session.
Verification
- Exact-candidate independent security review passed with no blocking security
or logic findings. - Lint, TypeScript typecheck, 90 tests, compiled-binary build, and diff checks
passed on macOS. - Production Keychain metadata was identical before and after the local test
run; no password value was read or logged. - PR and post-merge
mainCI completed successfully before tagging.