You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Give moca-provisioner a read-only Redis ACL user #626
Follow-up to Paolo's review of #615 (sweep orphaned workload sandboxes).
The orphan sweep only reads workload records (GET sh:wl:*), but moca-provisioner uses the deployment's shared read-write REDIS_URL. A compromised provisioner could therefore write sh:sandbox:records, which picks the executor for every turn (spec §9 now says so). The provisioner is also reachable from model code through its seed port.
Proposed: give the provisioner its own Redis ACL user, limited to +get ~sh:wl:*. This needs the ACL setup that spec §3.1 says the deployment doesn't have yet: users in redis.yaml, a separate Secret, and setup.sh rotation.
Activity
docs(k8s): redis.conf is re-derived from both Redis passwords; which …
k8s: give moca-provisioner a read-only Redis ACL user