Datasets:
|
Download README.md from emgena/ssh_agent_socket_hijacking_fuzzer_mcp_teaser: direct link, hf CLI and curl.
- Browser
- Download file 4.4 kB
-
https://huggingface.co/datasets/emgena/ssh_agent_socket_hijacking_fuzzer_mcp_teaser/resolve/main/README.md
- Command line
-
hf download hf://datasets/emgena/ssh_agent_socket_hijacking_fuzzer_mcp_teaser/README.md
-
curl -L -o README.md https://huggingface.co/datasets/emgena/ssh_agent_socket_hijacking_fuzzer_mcp_teaser/resolve/main/README.md
4.4 kB
| license: cc-by-nc-4.0 | |
| tags: | |
| - mcp | |
| - cursor | |
| - claude-desktop | |
| - sre | |
| - ast-guard | |
| - apple-mlx | |
| - mac-ready | |
| - security | |
| - unsloth | |
| size_categories: | |
| - n<1K | |
| task_categories: | |
| - text-generation | |
| language: | |
| - en | |
| - de | |
| pretty_name: SSH Agent Socket Hijacking & Forwarding Guard MCP | |
| <!-- EMGENA_DOMAIN_BREADCRUMB --> | |
| > 📂 **Fachbereich / Domain:** 🛡️ **DevSecOps & Cloud Security** | |
| > 🔍 **Katalog-Filter:** [Alle verwandten DevSecOps & Cloud Security Suiten auf Hugging Face anzeigen](https://huggingface.co/emgena?search=security) | |
| > 🛒 **Kommerzielle Lizenz & Webshop:** [emgena.com/trainingslager?product=ssh_agent_socket_hijacking_fuzzer_mcp&coupon=LAUNCH20](https://emgena.com/trainingslager?product=ssh_agent_socket_hijacking_fuzzer_mcp&coupon=LAUNCH20) | |
| --- | |
| # 🛡️ SSH Agent Socket Hijacking & Forwarding Guard 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](https://emgena.com/trainingslager?product=ssh_agent_socket_hijacking_fuzzer_mcp&coupon=LAUNCH20). | |
| > * **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 (`ssh_agent_socket_hijacking_fuzzer_mcp.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('detect_ssh_auth_sock_hijack_attempt')`: Monitors access to SSH_AUTH_SOCK to prevent unauthorized subshells from signing requests. | |
| - `execute_tool('audit_ssh_agent_forwarding_policy')`: Enforces strict disabling of ForwardAgent in SSH configurations on untrusted intermediate hosts. | |
| - `execute_tool('sanitize_id_rsa_in_command_arguments')`: Scrubs private OpenSSH/Ed25519 key strings passed into CLI tool arguments. | |
| - `execute_tool('enforce_ssh_key_passphrase_requirement')`: Verifies that unencrypted private keys without passphrases are not committed. | |
| - `execute_tool('fuzz_known_hosts_man_in_the_middle')`: Checks StrictHostKeyChecking settings in agent-generated SSH client wrappers. | |
| - `execute_tool('quarantine_ssh_authorized_keys_tampering')`: Detects backdoor key additions to ~/.ssh/authorized_keys. | |
| - `execute_tool('inspect_putty_pageant_named_pipe')`: Audits Windows Pageant named pipe queries for unauthorized key enumeration. | |
| - `execute_tool('circuit_break_remote_ssh_key_dump')`: Kills tool execution when an agent attempts to cat or transfer ~/.ssh contents. | |
| --- | |
| ## 🚀 Quickstart: Apple Silicon Fine-Tuning (MLX) | |
| ```bash | |
| 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`: | |
| ```json | |
| { | |
| "mcpServers": { | |
| "ssh_agent_socket_hijacking_fuzzer_mcp": { | |
| "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](https://emgena.com/trainingslager?product=ssh_agent_socket_hijacking_fuzzer_mcp&coupon=LAUNCH20)** | |