emgena's picture
Standardize domain navigation banner: Autonomous Agents & Swarm Safety
211b364 verified
|
Raw History Blame Contribute Delete
4.45 kB
metadata
license: cc-by-nc-4.0
tags:
  - mcp
  - cursor
  - claude-desktop
  - sre
  - ast-guard
  - apple-mlx
  - mac-ready
  - agentic
  - unsloth
size_categories:
  - n<1K
task_categories:
  - text-generation
language:
  - en
  - de
pretty_name: Agent Docker Daemon Socket Mount & Escape Shield MCP

πŸ“‚ 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=agent_docker_daemon_socket_mount_escape_shield&coupon=LAUNCH20


πŸ›‘οΈ Agent Docker Daemon Socket Mount & Escape Shield 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 (agent_docker_daemon_socket_mount_escape_shield.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_docker_sock_mount_request'): Blocks agent container launch commands mounting /var/run/docker.sock into containers.
  • execute_tool('detect_privileged_container_flag'): Rejects docker run --privileged flags that expose host devices to container escape.
  • execute_tool('enforce_docker_readonly_rootfs'): Mandates --read-only root filesystem on agent execution sandbox containers.
  • execute_tool('audit_container_cap_add_sys_admin'): Flags capability grants CAP_SYS_ADMIN, CAP_SYS_PTRACE, and CAP_NET_ADMIN.
  • execute_tool('quarantine_host_pid_network_namespace'): Prevents use of --pid=host or --net=host to isolate agent container namespace.
  • execute_tool('fuzz_dockerfile_ast_for_root_user'): Verifies Dockerfiles declare a dedicated non-root USER before entrypoint.
  • execute_tool('sanitize_docker_build_secret_mounts'): Ensures docker build uses BuildKit --secret instead of ARG for credentials.
  • execute_tool('circuit_break_container_escape_syscall'): Kills container via seccomp filter if unauthorized kernel syscalls are invoked.

πŸš€ 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": {
    "agent_docker_daemon_socket_mount_escape_shield": {
      "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