Skip to content

keys: narrow the Goose read rule; cover OpenCode's key store - #166

Open
paulfoley wants to merge 1 commit into
SoulCraft-Org:mainfrom
paulfoley:keys/narrow-goose-read
Open

paulfoley wants to merge 1 commit into
SoulCraft-Org:mainfrom
paulfoley:keys/narrow-goose-read

Conversation

@paulfoley

@paulfoley paulfoley commented Nov 20, 2026 •

Copy link
Copy Markdown
What Detail
Narrows credential-files: Read(~/.config/goose/**) becomes Read(~/.config/goose/secrets.yaml). Goose keeps secrets in the keychain (service goose, account secrets) and writes plain-text secrets.yaml only without a keyring (config files, read 2026-11-20). The rest of the folder is settings a session needs to read
Adds Read(~/.local/share/opencode/opencode.db*) and Read(~/.local/share/opencode/auth.json): OpenCode 2 stores provider keys in that SQLite database and imports a legacy auth.json once (providers, read 2026-11-20). No rule covered them
Examples read_blocks gains both secret paths; read_allows gains Goose's config.yaml
Checked python3 -I tools/claude_deny.py --self-test: 290 rules, ok

🤖 Generated with Claude Code


Get evidence
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…s key store

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: paulfoley <268432743+paulfoley@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant