Skip to content

agent-browser-shield

Prototype browser extension capabilities that make browser-use agents faster, safer, and more accurate.

Install Browse the rules View on GitHub Skill on ClawHub
BeforeAfter
Before agent-browser-shieldAfter agent-browser-shield

Token efficiency

Strip page chrome — footers, cookie banners, chat widgets, sponsored content — so agents spend tokens on the user’s task.

Security & compliance

Mask PII and credentials before they reach the model, and suppress hidden text, HTML comments, and user-generated content that could carry prompt-injection payloads.

Accuracy

Block manipulative dark patterns and hide engagement rails and other content that could distract the model from the user’s task.

  • Masking and redacting sensitive information on the webpage.
  • Blocking and modifying dark patterns on the webpage.
  • Preprocessing webpage content to be more agent-friendly — hiding irrelevant content, hiding user-generated comments that could contain prompt-injection attacks, and similar.

For the full project overview, see the repository README.