Skip to content

Walls follow-ups from the #609 lenses: untested secret paths, launcher refusal list, messages #613

Closed

Description

@scuttletoby

Follow-ups from the two lens reviews of #609 (both SAFE, minors only):

  1. Untested secret paths (4 mutants survive): /etc/group in the walls list, /etc/subuid-, /etc/subgid-, and a single file inside /var/backups. Add a test for each.
  2. The launcher still starts a job with ALLOW_PATHS=/etc/passwd- or /var/backups. Only the separate walls check refuses. Add them to the launcher's own refusal list (one line; moves the launcher pin, so do it with fleet walls: launcher checks applied stop timeouts, one shared pin, FIFO test timeout (#327 follow-ups) #365 item 1).
  3. Walls refusal message (fork-fleet-walls/linux:366-367) always says "take it out of ALLOW_PATHS". When an older launcher binds /etc/passwd the fix is to re-run the installer; for a JOB_PATHS file it is that file.
  4. Comment overclaims: the walls file says it covers "every file that names accounts"; /var/log/wtmp, /var/log/lastlog, /etc/hosts.allow are not listed. Either list them or narrow the comment.
  5. Docs (.github/fork-fleet.md:189-190): which host names get a loopback line is looser than the code.
  6. Known limit, no attack path: a link to /dev/null at the job's passwd passes the write check and leaves an empty passwd that check-net accepts (only root could plant it). Write it down, or refuse a non-regular target.
  7. Known limit (pre-existing): a bind mount of a secret folder at another path gets past both lists (same as Cleaner: upward marker check misses folders above a bind mount, plus minors from the #603 reviews #604's bind-mount point).

State question for each: runs again, stops half-way, old/empty/missing state.

🤖 Generated with Claude Code

Activity

  1. scuttletoby commented on Nov 20, 2026

    @scuttletoby
    OwnerAuthor

    More walls follow-ups, from the round-2 reviews of #597 (both SAFE): A #597 (comment) and B #597 (comment).

    1. Removing stray files from the walls folder: the owner check is untested. Dropping the "never delete another owner's file" (root-owner) check keeps every test green. Add a test that fails without it.
    2. Walls-run order is untested. Moving the install's walls run after the agent is enabled or restarted keeps every test green. It still fails safe, because the agent's own walls refuse every job. Pin the order with a test.
    3. The skip lint misses a wrapper. A helper that wraps self.skipTest is not caught. Catch it, or name the limit in the lint's docs.
    4. README wording. "before the agent starts" should say that an agent already running from the last install keeps running until the restart. That is safe; only the wording is off.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions