Check the owner of each secret file, not only its mode #79
Labels
No labels
boundary:crosses
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:go
svd:hold
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/messages-mind-mcp#79
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Split out of #65 at triage on 2026-11-16. The operator agreed that this check needs its own spec.
Problem
A secret file's owner is not checked. Only its mode is checked (
kit/secrets.py). The README says "owner-only file". A secret file that is mode 0600 but owned by another user passes the check today.Constraints
kit/secrets.pyis a*secret*path, so the merge is T4.deploy/k8s/base/messagesmind.yaml:27-48). The owner rule must hold for those copies, which another uid may write. Check therunAsUserandfsGroupof each container before you choose the rule.checkafter the change.Acceptance criteria
Filed under: operator word "Yes, do it your way" on #65 triage, 2026-11-16