Dataset Viewer
The dataset could not be loaded because the splits use different data file formats, which is not supported. Read more about the splits configuration. Click for more details.
Couldn't infer the same data file format for all splits. Got {NamedSplit('train'): (None, {}), NamedSplit('test'): ('parquet', {})}
Error code:   FileFormatMismatchBetweenSplitsError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

πŸ“‚ Fachbereich / Domain: πŸ€– Autonomous Agents & Swarm Safety
πŸ” Katalog-Filter: Alle verwandten Autonomous Agents & Swarm Safety Suiten auf Hugging Face anzeigen
πŸ›’ Kommerzielle Lizenz & Webshop: emgena.com/trainingslager?product=agentic_browser_playwright_eval_xss_firewall&coupon=LAUNCH20


πŸ›‘οΈ Agentic Browser Playwright page.evaluate() XSS Firewall MCP

Official Turnkey Model Context Protocol (MCP) Guard & Fine-Tuning Suite (FAANG v2.5 Gold Standard)


βš–οΈ Dual-Licensing & Fair-Use Compliance Notice

  • Community & Evaluation License (CC-BY-NC-4.0): This evaluation repository is 100% free for academic research, education, personal experimentation, and local evaluation.
  • Commercial & Enterprise License: Any integration into commercial software, SaaS applications, proprietary models, or corporate pipelines requires a valid commercial license from emgena.com/trainingslager.
  • Launch Discount: Use code LAUNCH20 at checkout for 20% off all commercial tiers (Single, Team, Enterprise).

πŸ“¦ What is Included in this Package

This repository contains the full 500-sample verified dataset and in-IDE guardrails:

  1. Parquet & JSONL Datasets (agentic_browser_playwright_eval_xss_firewall.parquet, chatml_format.jsonl):
    • 500 verified multi-turn trajectories across 30 production incidents.
    • 100% AST Invariance: Zero syntax errors (validated via ast.parse()).
  2. Deterministic MCP Engine (server.py & server_free.py):
    • Zero-dependency stdio engine (<0.15ms latency, 100% offline).
    • Compatible with Cursor IDE, Claude Desktop, and VS Code.
  3. Dual Fine-Tuning Recipes:
    • Apple Silicon Mac (train_mlx.py): Native LoRA fine-tuning for M1/M2/M3/M4 unified memory in 15 minutes.
    • Nvidia CUDA (train_lora_unsloth.py): 4-bit QLoRA fine-tuning on RTX 4090 / 5090 / Colab.
  4. Active AST Tools:
  • execute_tool('intercept_untrusted_page_evaluate_string'): Blocks execution of string-interpolated scripts inside Playwright page.evaluate().
  • execute_tool('enforce_parameterized_arg_passing_to_dom'): Mandates passing arguments as structured JSON parameters into browser functions.
  • execute_tool('detect_dom_xss_injection_in_locator'): Catches unescaped user input passed into page.locator() CSS and XPath selectors.
  • execute_tool('sanitize_browser_console_log_listener'): Redacts sensitive tokens printed by client-side web apps into browser console.
  • execute_tool('quarantine_untrusted_file_download_event'): Validates file download MIME types and prevents automatic execution of downloaded binaries.
  • execute_tool('fuzz_csp_header_bypass_in_browser'): Ensures browser context does not disable Content-Security-Policy or bypass CORS.
  • execute_tool('audit_browser_storage_state_secret_leak'): Scrubs sensitive authentication cookies from storage_state.json dumps.
  • execute_tool('circuit_break_malicious_redirect_chain'): Aborts browser session if page navigates through multiple unverified redirect hops.

πŸš€ Quickstart: Apple Silicon Fine-Tuning (MLX)

pip install mlx mlx-lm
python train_mlx.py

πŸ’» Quickstart: Cursor IDE & Claude Desktop MCP Setup

Add the following to your .cursor/mcp.json or claude_desktop_config.json:

{
  "mcpServers": {
    "agentic_browser_playwright_eval_xss_firewall": {
      "command": "python",
      "args": ["server.py"]
    }
  }
}

βš–οΈ License & Commercial Deployment

Distributed under Creative Commons Attribution-NonCommercial 4.0 International (CC-BY-NC-4.0).
For commercial enterprise deployment rights, BGB Β§ 97 UrhG indemnification, and EU AI Act Annex IV audit certificates, visit:
πŸ‘‰ emgena.com/trainingslager

Downloads last month
50