Datasets:
Download README.md from emgena/github_pat_workflow_injection_ast_armor_teaser: direct link, hf CLI and curl.
- Browser
- Download file 4.39 kB
-
https://huggingface.co/datasets/emgena/github_pat_workflow_injection_ast_armor_teaser/resolve/main/README.md
- Command line
-
hf download hf://datasets/emgena/github_pat_workflow_injection_ast_armor_teaser/README.md
-
curl -L -o README.md https://huggingface.co/datasets/emgena/github_pat_workflow_injection_ast_armor_teaser/resolve/main/README.md
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: GitHub PAT & Workflow Injection AST Armor MCP
📂 Fachbereich / Domain: 🛡️ DevSecOps & Cloud Security
🔍 Katalog-Filter: Alle verwandten DevSecOps & Cloud Security Suiten auf Hugging Face anzeigen
🛒 Kommerzielle Lizenz & Webshop: emgena.com/trainingslager?product=github_pat_workflow_injection_ast_armor&coupon=LAUNCH20
🛡️ GitHub PAT & Workflow Injection AST Armor 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
LAUNCH20at 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:
- Parquet & JSONL Datasets (
github_pat_workflow_injection_ast_armor.parquet,chatml_format.jsonl):- 500 verified multi-turn trajectories across 30 production incidents.
- 100% AST Invariance: Zero syntax errors (validated via
ast.parse()).
- 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.
- 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.
- Apple Silicon Mac (
- Active AST Tools:
execute_tool('scrub_github_pat_token_string'): Detects and redacts ghp_, gho_, ghu_, and ghs_ GitHub tokens in code and logs.execute_tool('detect_github_actions_script_injection'): Audits YAML workflows for unescaped ${{ github.event.* }} expressions in run steps.execute_tool('enforce_actions_pinning_full_sha'): Enforces that GitHub Actions use full 40-character commit SHAs instead of mutable tags.execute_tool('audit_workflow_permissions_block'): Ensures workflows declare strict least-privilege permissions blocks.execute_tool('quarantine_dangerous_workflow_triggers'): Flags pull_request_target triggers that checkout untrusted pull request code.execute_tool('fuzz_github_api_rate_limit_headers'): Monitors X-RateLimit-Remaining to prevent PAT exhaustion during automation.execute_tool('sanitize_runner_temp_secret_artifacts'): Cleans temporary runner workspace files containing environment secrets.execute_tool('circuit_break_unauthorized_repo_push'): Terminates agent workflow if write operations target unauthorized repositories.
🚀 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": {
"github_pat_workflow_injection_ast_armor": {
"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