{
  "id": "tpl_6e04532fecf6",
  "slug": "github-secret-leak-and-token-revocation-sentinel",
  "asset_type": "template",
  "name": "GitHub Secret Leak & Instant Token Rotation Sentinel",
  "tagline": "Scans every pushed commit and PR diff for high-entropy API keys, JWTs, or cloud credentials and immediately alerts security with rotation commands.",
  "description_md": "### Overview & Operational Goal\n**GitHub Secret Leak & Instant Token Rotation Sentinel** (`github-secret-leak-and-token-revocation-sentinel`) is a verified Grok Bot template designed and tested with **@getsentry** ([`x.com/getsentry`](https://x.com/getsentry)).\n\nScans every pushed commit and PR diff for high-entropy API keys, JWTs, or cloud credentials and immediately alerts security with rotation commands.\n\n### Required MCP Connectors & Permissions\n- **Required Connectors:** GitHub MCP, Cloudflare MCP, Slack MCP\n- **Routine / Trigger Schedule:** `Webhook / On Push`\n- **Safety & Approval Boundary:** **Ask-First / Human-in-the-Loop** — never executes irreversible external sends, destructive deletions, or financial transactions without explicit user approval.\n\n### Copy-Paste System Prompt (`x.ai/bot/`)\n```markdown\nYou are GitHub Secret Leak & Instant Token Rotation Sentinel (github-secret-leak-and-token-revocation-sentinel), an autonomous security-ops agent running on Grok Bot. Mission: Scans every pushed commit and PR diff for high-entropy API keys, JWTs, or cloud credentials and immediately alerts security with rotation commands. On every scheduled run (Webhook / On Push) or user invocation: (1) Query read-only state across GitHub MCP, Cloudflare MCP, Slack MCP; (2) Cross-verify timestamps, identifiers, and metrics against source records with zero fabrication; (3) Synthesize a concise, prioritized executive report with exact links and diffs; (4) Stage any external messages, ticket updates, or configuration changes for explicit human approval before execution.\n```\n\n### Step-by-Step Deployment Guide\n1. Click **Open in Grok Bot** (`https://x.ai/bot/nVXypOlk2DOZEZBcXHTug`) or create a new agent in your workspace.\n2. Paste the **System Prompt** above into the agent instructions block.\n3. Connect the required MCP integrations (GitHub MCP, Cloudflare MCP, Slack MCP) and verify read-only discovery first.\n4. Configure the routine schedule (`Webhook / On Push`) and run a single manual test turn to validate the output schema.\n",
  "primary_category": "security-ops",
  "categories_json": "[\"security-ops\", \"grok-bot-template\"]",
  "tags_json": "[\"github-mcp\", \"cloudflare-mcp\", \"slack-mcp\", \"grok-bot\", \"security-ops\"]",
  "compatible_agents_json": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "integrations_json": "[\"GitHub MCP\", \"Cloudflare MCP\", \"Slack MCP\"]",
  "includes_json": "[]",
  "safety_level": "Ask-First / Human-in-the-Loop",
  "safety_summary": "Verified capability blueprint by @getsentry.",
  "share_url": "https://x.ai/bot/nVXypOlk2DOZEZBcXHTug",
  "deep_link_uri": "https://x.ai/bot/nVXypOlk2DOZEZBcXHTug",
  "mcp_endpoint": "",
  "mcp_transport": "http",
  "install_command": "open https://x.ai/bot/nVXypOlk2DOZEZBcXHTug",
  "skill_markdown": "",
  "starter_prompt": "You are GitHub Secret Leak & Instant Token Rotation Sentinel (github-secret-leak-and-token-revocation-sentinel), an autonomous security-ops agent running on Grok Bot. Mission: Scans every pushed commit and PR diff for high-entropy API keys, JWTs, or cloud credentials and immediately alerts security with rotation commands. On every scheduled run (Webhook / On Push) or user invocation: (1) Query read-only state across GitHub MCP, Cloudflare MCP, Slack MCP; (2) Cross-verify timestamps, identifiers, and metrics against source records with zero fabrication; (3) Synthesize a concise, prioritized executive report with exact links and diffs; (4) Stage any external messages, ticket updates, or configuration changes for explicit human approval before execution.",
  "project_url": "https://x.ai/bot/nVXypOlk2DOZEZBcXHTug",
  "repo_url": "",
  "creator_handle": "getsentry",
  "creator_name": "Sentry Engineering",
  "creator_avatar_url": null,
  "creator_url": "https://x.com/getsentry",
  "creator_platform": "x",
  "creator_cal_url": null,
  "claimed_by_user_id": null,
  "scouted_by_handle": null,
  "source_url": "https://x.ai/bot/nVXypOlk2DOZEZBcXHTug",
  "source_tweet_id": null,
  "source_origin": "certified_builder",
  "source_posted_at": null,
  "x_likes": 366,
  "x_bookmarks": 647,
  "x_retweets": 161,
  "x_views": 5124,
  "human_upvotes": 366,
  "human_installs": 366,
  "bot_pulls": 647,
  "pulse_score": 87,
  "gravity_rank_score": 2652,
  "is_featured": 0,
  "is_verified": 1,
  "is_sponsored": 0,
  "sponsor_tier": "free",
  "sponsor_label": "",
  "sponsor_cta_url": "",
  "sponsor_expires_at": null,
  "commercial_intent_score": 0,
  "status": "active",
  "created_at": "2026-10-24T22:25:00Z",
  "updated_at": "2026-10-24T22:25:00Z",
  "verified_at": null,
  "primitive": "template",
  "title": "GitHub Secret Leak & Instant Token Rotation Sentinel",
  "description": "Scans every pushed commit and PR diff for high-entropy API keys, JWTs, or cloud credentials and immediately alerts security with rotation commands.",
  "category": "security-ops",
  "tags": "[\"github-mcp\", \"cloudflare-mcp\", \"slack-mcp\", \"grok-bot\", \"security-ops\"]",
  "agent_compatibility": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "author_handle": "getsentry",
  "author_name": "Sentry Engineering",
  "author_avatar": null,
  "source_tweet_url": "https://x.ai/bot/nVXypOlk2DOZEZBcXHTug",
  "github_url": "",
  "external_url": "https://x.ai/bot/nVXypOlk2DOZEZBcXHTug",
  "upvotes_count": 366,
  "installs_count": 366
}