Skip to content

Give moca-provisioner a read-only Redis ACL user #626

Closed

Description

@moonlight16

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

  1. added this to the v0.11.0 milestone on Nov 17, 2026
  2. added a commit that references this issue on Nov 17, 2026
    219f9da
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions