Skip to content
Skillpedia
Websites & UI (frontend)35k · #5844

implementing-browser-isolation-for-zero-trust

Teaches your AI agent to ship projects and manage infrastructure and plan projects before coding.

What it does

This tool protects you from dangerous websites. It analyzes the sites you visit and decides whether to block them, display them safely, or allow direct access, guarding against viruses and data theft.

When to use it

  • ✓When accessing unknown or suspicious websites.
  • ✓When downloading files from untrusted sources.
  • ✓To protect your company from online attacks.

Example of what to ask your AI

“I want to visit a download site, but I'm worried. Can you check if it's safe and protect me?”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-browser-isolation-for-zero-trust/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-browser-isolation-for-zero-trust/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool classifies websites based on their reputation and content. It then applies security rules to decide how you can interact with them, such as blocking downloads or removing dangerous content from files.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill implementing-browser-isolation-for-zero-trust

Or download just the file:

curl -L https://raw.githubusercontent.com/mukul975/Anthropic-Cybersecurity-Skills/main/skills/implementing-browser-isolation-for-zero-trust/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Implementing Browser Isolation for Zero Trust

When to Use

  • When deploying remote browser isolation as part of a Zero Trust security architecture
  • When protecting users from zero-day browser exploits and drive-by downloads
  • When implementing content disarming and reconstruction for file downloads
  • When enforcing data loss prevention policies for web browsing sessions
  • When securing access to untrusted or uncategorized websites
  • When integrating browser isolation with existing SWG and ZTNA infrastructure
  • When protecting against phishing and credential theft via isolated rendering

Prerequisites

  • Familiarity with Zero Trust architecture principles and network security
  • Understanding of Secure Web Gateway (SWG) and proxy deployment models
  • Access to a test or lab environment for policy validation
  • Python 3.8+ with required dependencies installed
  • DNS and proxy infrastructure for traffic routing

Instructions

Phase 1: URL Categorization and Risk Classification

Build a URL categorization engine that classifies websites by risk level to determine isolation policy. URLs are scored based on threat intelligence feeds, domain reputation, content category, and historical risk indicators.

from agent import BrowserIsolationPolicyEngine

engine = BrowserIsolationPolicyEngine(
    organization="Acme Corp",
    default_isolation_mode="isolate_risky",
)

# Classify a URL and determine isolation action
result = engine.classify_url("https://docs.google.com/spreadsheets/d/abc123")
print(f"Category: {result['category']}")
print(f"Risk Level: {result['risk_level']}")
print(f"Isolation Action: {result['action']}")
# Output: Category: cloud_productivity
#         Risk Level: low
#         Action: allow_direct

result = engine.classify_url("https://unknown-sketchy-domain.xyz/download.html")
print(f"Category: {result['category']}")
print(f"Risk Level: {result['risk_level']}")
print(f"Isolation Action: {result['action']}")
# Output: Category: uncategorized
#         Risk Level: high
#         Action: full_isolation

Phase 2: Isolation Policy Configuration

Define isolation policies that map URL categories and risk levels to specific isolation modes and DLP restrictions. Policies support granular controls including clipboard, file download, upload, and printing restrictions.

# Configure isolation policies
engine.add_isolation_policy(
    name="Block Uncategorized Sites",
    description="Fully isolate all uncategorized or newly registered domains",
    match_criteria={
        "url_categories": ["uncategorized", "newly_registered"],
        "risk_levels": ["high", "critical"],
    },
    isolation_mode="full_isolation",
    dlp_controls={
        "disable_copy_paste": True,
        "disable_download": True,
        "disable_upload": True,
        "disable_printing": True,
        "disable_keyboard_input": False,
        "watermark_session": True,
    },
)

engine.add_isolation_policy(
    name="Isolate Webmail with DLP",
    description="Isolate personal webmail with download restrictions",
    match_criteria={
        "url_categories": ["webmail"],
        "domains": ["mail.google.com", "outlook.live.com", "mail.yahoo.com"],
    },
    isolation_mode="read_only_isolation",
    dlp_controls={
        "disable_copy_paste": True,
        "disable_download": True,
        "disable_upload": True,
        "disable_printing": True,
        "disable_keyboard_input": False,
        "watermark_session": False,
    },
)

engine.add_isolation_policy(
    name="CDR for File Downloads",
    description="Apply content disarm and reconstruction to all file downloads",
    match_criteria={
        "url_categories": ["*"],
        "file_types": ["pdf", "docx", "xlsx", "pptx", "zip", "exe", "msi"],
    },
    isolation_mode="cdr_passthrough",
    cdr_config={
        "strip_macros": True,
        "strip_embedded_objects": True,
        "strip_javascript": True,
        "strip_active_content": True,
        "flatten_pdf": True,
        "reconstruct_to_safe_format": True,
        "max_file_size_mb": 50,
        "allowed_file_types": ["pdf", "docx", "xlsx", "pptx", "png", "jpg"],
    },
)

engine.add_isolation_policy(
    name="Allow Trusted SaaS Direct",
    description="Allow direct access to sanctioned SaaS applications",
    match_criteria={
        "url_categories": ["cloud_productivity", "business_saas"],
        "domains": [
            "*.office365.com", "*.office.com", "*.microsoft.com",

…
FAQ

What is 'browser isolation'?

It's a technique that runs browsing in a secure environment separate from your computer, preventing online threats from reaching you.

What is 'CDR' (Content Disarming and Reconstruction)?

It's a process that removes dangerous parts from downloaded files (like viruses or macros) and reconstructs the file safely while keeping it usable.

Does this work for any type of website?

Yes, the tool is designed to analyze and protect access to a wide variety of websites, from social media to news portals and downloads.

Details

Original description by the author

Deploys remote browser isolation (RBI) as a core component of a Zero Trust architecture. Implements isolation policies with URL categorization and risk-based routing, content disarming and reconstruction (CDR) for file sanitization, data loss prevention controls within isolated sessions, and integration with Secure Web Gateway and ZTNA platforms. Based on Cloudflare Browser Isolation, Menlo Securi

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularity

GitHub stars
35k
Ranking position
#5844
License
Apache-2.0
Updated
8/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills