Repository navigation
v0.1.1
Security hardening release. Upgrading is recommended for everyone, especially if you apply profiles from git sources.
kitbag 0.1.1, a security hardening release
- Profiles from GitHub are untrusted by default. They can't add permission rules, hooks, or commands that run shell snippets, and your local secrets aren't filled into servers they define.
--trust-sourceopts in. - Better secret redaction. It now covers frontmatter, permission rules, short passwords, more secret names,
${VAR:-default}fallbacks, tokens in URLs and webhooks, and secrets sitting next to${VAR}. - Replacing an MCP server no longer inherits the old one's trust or login settings.
- Files that get a secret written into them are made private (0600) on Mac and Linux.
--projectcan't be tricked into writing or reading outside the project through symlinks.- Error messages for broken config files no longer print the offending line, which could contain a key.
- Hidden terminal control characters in a profile are shown visibly, so a profile can't disguise what it's about to change.
- Every apply plan lists the MCP servers it adds or changes, for review.
Fixes #1, #2, #3, #4, #5, #6, #7, #8. Full details in CHANGELOG.md.
Note
kitbag is still an early release: redaction is best-effort, so review a captured profile before sharing it, and only apply profiles from sources you trust. See SECURITY.md. Roadmap: #29.
Install
curl -fsSL https://raw.githubusercontent.com/cargopete/kitbag/main/install.sh | shWindows (PowerShell): irm https://raw.githubusercontent.com/cargopete/kitbag/main/install.ps1 | iex
Or download an archive below; each has a matching .sha256.