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
RFC: deterministic egress & secret-read guard for the browser CLI (Grimdall) #21
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:
Egress allowlist — block network egress not explicitly allowed.
Secret-read denial — refuse reads of ~/.ssh, ~/.aws, .env, *.pem.
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
What's the canonical seam for intercepting outbound network/file actions in the CLI — a middleware, a hook, or the command dispatcher?
Would you accept a PR, or prefer it as a separate integration?
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.
@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.
Activity
browseract-ai commentedon Aug 31, 2026
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.
grimdalltech commentedon Aug 31, 2026
@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.