{
  "id": "tpl_799c1e2b5bcc",
  "slug": "dependency-secret-audit",
  "asset_type": "template",
  "name": "Dependency CVE & Leaked Credential Pre-Merge Gatekeeper",
  "tagline": "Scans every commit and lockfile diff for accidentally staged API keys, high-severity npm/PyPI/Cargo CVEs, and typosquatted packages.",
  "description_md": "### Blueprint Overview & Purpose\n**Dependency CVE & Leaked Credential Pre-Merge Gatekeeper** (`dependency-secret-audit`) is a verified Grok Bot template curated with **@steipete**.\n\nScans every commit and lockfile diff for accidentally staged API keys, high-severity npm/PyPI/Cargo CVEs, and typosquatted packages.\n\n### Required Stack & Connectors\n- **Connected Tools:** GitHub MCP, LeakPatrol MCP\n- **Recommended Trigger / Cadence:** `On every pull request`\n- **Safety Boundary:** `Read-Only / Ask-First` (stages drafts and diffs for explicit human approval)\n- **Direct 1-Click Bot Link:** [https://x.ai/bot/IqXV0I1hK8sXPfyrsOZDA](https://x.ai/bot/IqXV0I1hK8sXPfyrsOZDA)\n\n### Copy-Paste System Prompt & Routine Instructions\n```text\nYou are Dependency CVE & Leaked Credential Pre-Merge Gatekeeper. Your primary mission: Scans every commit and lockfile diff for accidentally staged API keys, high-severity npm/PyPI/Cargo CVEs, and typosquatted packages.\n\nCONNECTED TOOLS & SCOPE:\n- Required Connectors: GitHub MCP, LeakPatrol MCP\n- Recommended Schedule / Trigger: On every pull request\n\nOPERATING PROTOCOL:\n1. Grounding First: Always query live state from your connected tools (GitHub MCP, LeakPatrol MCP) before making recommendations. Never fabricate IDs, metrics, URLs, or timestamps.\n2. Structured Output: Present findings in a scannable executive brief containing: (a) Summary of State / Anomalies, (b) Concrete Evidence & Links, and (c) Prioritized Next Actions.\n3. Safety & Approval Boundary: Operate in Read-Only / Ask-First mode by default. Stage any external messages, code diffs, or financial/config changes as drafts and wait for explicit human confirmation before executing irreversible actions.\n```\n\n### Step-by-Step Setup Guide\n1. **Open in Grok Bot:** Click **[https://x.ai/bot/IqXV0I1hK8sXPfyrsOZDA](https://x.ai/bot/IqXV0I1hK8sXPfyrsOZDA)** (or run `npx lightstate inspect dependency-secret-audit`) to launch the template directly in Grok Bot.\n2. **Connect Required Tools:** Enable **GitHub MCP, LeakPatrol MCP** in your workspace connector settings with least-privilege scopes.\n3. **Configure Schedule:** Set the routine trigger to **On every pull request** and run a single manual test turn to verify output formatting.\n",
  "primary_category": "security-ops",
  "categories_json": "[\"security-ops\", \"templates\"]",
  "tags_json": "[\"dependency-secret-audit\", \"grok-bot\", \"security-ops\", \"github-mcp\", \"leakpatrol-mcp\"]",
  "compatible_agents_json": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "integrations_json": "[\"GitHub MCP\", \"LeakPatrol MCP\"]",
  "includes_json": "[]",
  "safety_level": "Read-Only / Ask-First",
  "safety_summary": "Verified capability blueprint by @steipete.",
  "share_url": "https://x.ai/bot/IqXV0I1hK8sXPfyrsOZDA",
  "deep_link_uri": "grokbot://template/dependency-secret-audit?bot_id=IqXV0I1hK8sXPfyrsOZDA",
  "mcp_endpoint": "",
  "mcp_transport": "http",
  "install_command": "https://x.ai/bot/IqXV0I1hK8sXPfyrsOZDA",
  "skill_markdown": "",
  "starter_prompt": "You are Dependency CVE & Leaked Credential Pre-Merge Gatekeeper. Your primary mission: Scans every commit and lockfile diff for accidentally staged API keys, high-severity npm/PyPI/Cargo CVEs, and typosquatted packages.\n\nCONNECTED TOOLS & SCOPE:\n- Required Connectors: GitHub MCP, LeakPatrol MCP\n- Recommended Schedule / Trigger: On every pull request\n\nOPERATING PROTOCOL:\n1. Grounding First: Always query live state from your connected tools (GitHub MCP, LeakPatrol MCP) before making recommendations. Never fabricate IDs, metrics, URLs, or timestamps.\n2. Structured Output: Present findings in a scannable executive brief containing: (a) Summary of State / Anomalies, (b) Concrete Evidence & Links, and (c) Prioritized Next Actions.\n3. Safety & Approval Boundary: Operate in Read-Only / Ask-First mode by default. Stage any external messages, code diffs, or financial/config changes as drafts and wait for explicit human confirmation before executing irreversible actions.",
  "project_url": "https://grokbot.dev",
  "repo_url": "",
  "creator_handle": "steipete",
  "creator_name": "Peter Steinberger (@steipete)",
  "creator_avatar_url": null,
  "creator_url": "https://x.com/steipete",
  "creator_platform": "x",
  "creator_cal_url": null,
  "claimed_by_user_id": null,
  "scouted_by_handle": null,
  "source_url": "https://grokbot.dev",
  "source_tweet_id": null,
  "source_origin": "certified_builder",
  "source_posted_at": null,
  "x_likes": 215,
  "x_bookmarks": 548,
  "x_retweets": 137,
  "x_views": 3010,
  "human_upvotes": 215,
  "human_installs": 215,
  "bot_pulls": 548,
  "pulse_score": 85,
  "gravity_rank_score": 1894.5,
  "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-24T20:00:00Z",
  "updated_at": "2026-10-24T20:00:00Z",
  "verified_at": null,
  "primitive": "template",
  "title": "Dependency CVE & Leaked Credential Pre-Merge Gatekeeper",
  "description": "Scans every commit and lockfile diff for accidentally staged API keys, high-severity npm/PyPI/Cargo CVEs, and typosquatted packages.",
  "category": "security-ops",
  "tags": "[\"dependency-secret-audit\", \"grok-bot\", \"security-ops\", \"github-mcp\", \"leakpatrol-mcp\"]",
  "agent_compatibility": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "author_handle": "steipete",
  "author_name": "Peter Steinberger (@steipete)",
  "author_avatar": null,
  "source_tweet_url": "https://grokbot.dev",
  "github_url": "",
  "external_url": "https://grokbot.dev",
  "upvotes_count": 215,
  "installs_count": 215
}