gunk-dev/the-valley
the-valley:ida-43fed48idearaw

SSH fetch from a valley host is not held to a project's read grants

State
question or idea
Created
2026-11-23 by contributor

Body

Any SSH key admitted for the host's git user can fetch any ref of any repository; fetch reaches git-shell without a read-authorization check (valleyhook/shell.go). Read grants govern the web and mirrors only. Confirmed by a security review of the change that opens refs/the-valley/flow/data to named writers: conversations published there join that host-wide SSH readership. It matters on a host with more than one operator or with principals that should see only some projects. Related: the aim of one signed-claims authorization model for reads and writes.

Comments

No comments.