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=agentic_memory_rag_canary_token_leaker_detector&coupon=LAUNCH20


๐Ÿ›ก๏ธ Agentic RAG Canary Token & Context Exfiltration Detector 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_memory_rag_canary_token_leaker_detector.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('plant_deterministic_canary_token'): Injects verifiable HMAC-signed canary tokens into enterprise knowledge embeddings.
  • execute_tool('detect_canary_token_in_agent_output'): Catches unauthorized extraction of canary tokens in final agent responses or tool inputs.
  • execute_tool('audit_vector_chunk_similarity_threshold'): Prevents adversarial prompt manipulation that pulls out-of-bounds private documents.
  • execute_tool('quarantine_poisoned_vector_embedding'): Identifies vector embeddings with suspicious clustering designed to hijack agent attention.
  • execute_tool('enforce_tenant_metadata_filtering'): Mandates strict tenant_id metadata filtering on all Qdrant/Milvus/Pinecone queries.
  • execute_tool('fuzz_indirect_prompt_injection_in_rag'): Scans retrieved context documents for instruction-override syntax.
  • execute_tool('sanitize_rag_debug_telemetry_dump'): Redacts proprietary document contents from RAG debug logging.
  • execute_tool('circuit_break_bulk_embedding_dump'): Terminates agent session if query loop requests more than safe chunk thresholds.

๐Ÿš€ 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_memory_rag_canary_token_leaker_detector": {
      "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
60