Dataset Viewer

The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.

πŸ“‚ Fachbereich / Domain: πŸ›‘οΈ DevSecOps & Cloud Security
πŸ” Katalog-Filter: Alle verwandten DevSecOps & Cloud Security Suiten auf Hugging Face anzeigen
πŸ›’ Kommerzielle Lizenz & Webshop: emgena.com/trainingslager?product=cursor_rules_governance_tampering_defense&coupon=LAUNCH20


πŸ›‘οΈ Cursor Rules Governance & Dotfile Tampering Defense 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 (cursor_rules_governance_tampering_defense.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_cursorrules_tampering'): Continuously calculates SHA-256 digests of .cursorrules and .clinerules to block unauthorized edits by agents.
  • execute_tool('intercept_env_file_modification'): Rejects agent file-write operations targeting .env, .env.production, or secret credential vaults.
  • execute_tool('lock_pre_commit_hook_integrity'): Prevents autonomous agents from modifying .pre-commit-config.yaml or disabling security linters.
  • execute_tool('enforce_workspace_governance_policy'): Asserts that IDE configuration policies strictly conform to organization baseline templates.
  • execute_tool('quarantine_rogue_vscode_extension_recommendation'): Scans .vscode/extensions.json for unvetted or typosquatted third-party extensions.
  • execute_tool('audit_git_config_tampering'): Blocks agent modifications to .git/config including core.hooksPath and credential.helper.
  • execute_tool('fuzz_symlink_dotfile_escape'): Detects symlink attacks where dotfiles in the workspace point to sensitive host system paths.
  • execute_tool('circuit_break_governance_bypass'): Terminates the agent session if any attempt to disable or overwrite active governance rules is caught.

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