Skip to content

RFC: deterministic egress & secret-read guard for the browser CLI (Grimdall) #21

Closed

Description

@grimdalltech

Summary

Propose an opt-in guard on the browser-act CLI that adds deterministic, below-the-model controls on what leaves the machine: an egress allowlist plus secret-read denial. Shadow-mode (log-only) by default.

Why browser-act

The CLI drives a real, logged-in browser and moves files and network data on the user's behalf — a prime exfiltration surface. Secrets exposed to the agent (e.g. the env-var exposure tracked in #18) are only half the problem; the other half is stopping the agent from sending them anywhere. An egress allowlist closes that half deterministically.

Proposal

Grimdall (MIT) is a <2ms deterministic policy checkpoint. Wrapped around the CLI's network/file boundaries, it would:

  1. Egress allowlist — block network egress not explicitly allowed.
  2. Secret-read denial — refuse reads of ~/.ssh, ~/.aws, .env, *.pem.
  3. Shell policy — AST-parse any shell it invokes and block destructive patterns.

Default is shadow mode: log what it would block; enforcement is opt-in.

Questions

  1. What's the canonical seam for intercepting outbound network/file actions in the CLI — a middleware, a hook, or the command dispatcher?
  2. Would you accept a PR, or prefer it as a separate integration?
  3. OK with a shadow-mode default?

Non-goals

I'm a maintainer of Grimdall and happy to build and test this against browser-act.

Activity

  1. browseract-ai commented on Aug 31, 2026

    @browseract-ai
    Contributor

    Thanks for the thoughtful proposal and for offering to contribute.

    We agree that deterministic security controls around browser, network, and file operations are important. This work is
    already on our roadmap, and we currently plan to implement these controls natively around BrowserAct’s own command, session,
    and browser-network boundaries.

    As a result, we’re not planning to integrate Grimdall or accept a Grimdall-based implementation at this time.

    Thanks again for raising this and sharing your ideas.

  2. grimdalltech commented on Aug 31, 2026

    @grimdalltech
    Author

    @browseract-ai Understood. Good that deterministic controls are on your native roadmap. Closing this out. If you hit edge cases with DNS rebinding or shadow-mode adoption friction during that work, ping.

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