跳到正文
Skillpedia
网站与界面(前端)35k · #8007

implementing-browser-isolation-for-zero-trust

它能做什么

这个工具帮你防范危险网站。它会分析你访问的网站,决定是拦截、安全地展示,还是允许直接访问,从而防止病毒入侵和数据窃取。

适用场景

  • ✓当你访问陌生或可疑的网站时。
  • ✓当你从不可信的来源下载文件时。
  • ✓当你想保护公司免受网络攻击时。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-browser-isolation-for-zero-trust/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我想访问一个下载网站,但有点担心。你能帮我检查它是否安全,并保护我吗?”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会根据网站的信誉和内容进行分类,然后应用安全规则,决定你可以如何与这些网站交互,比如禁止下载,或者从文件中移除危险内容。

技术内容(原始 SKILL.md)

作者在 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",

…
常见问题

什么是“浏览器隔离”?

这是一种技术,让浏览行为在与你电脑隔离的安全环境中运行,从而防止网络威胁波及你的设备。

什么是 CDR(内容清除与重建)?

这是一个处理过程,会移除下载文件中的危险部分(比如病毒或宏),并在保持文件可用的前提下,安全地重建文件。

这对所有类型的网站都有效吗?

是的。该工具旨在分析并保护对各类网站的访问,包括社交媒体、新闻门户和下载站点。

详情

作者的原始描述

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

热度

GitHub 星标
35k
排名
#8007
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能