Developer Tools

Pre-Merge Agent Diff & Skill Supply-Chain Gate

A GitHub App and CLI that scans third-party SKILL.md files, MCP configs, and AI-opened PR tests for silent exfiltration and empty assertions before merge.

Market & Ecosystem Signal

Prompted by late-November 2026 disclosures on Hacker News and GitHub Trending: third-party SKILL.md plugins silently exfiltrating user project ideas, poisoned GGUF chat templates on Hugging Face, and engineering teams adopting guardrails like Stacktrace and Appxiom to catch coding-agent regressions and test-slop before merge.

The problem

Engineering teams using Claude Code, Codex, Cursor, and Devin install community SKILL.md bundles and merge dozens of agent-authored PRs every week. Without automated supply-chain and test-integrity checks, a malicious skill can quietly instruct the agent to POST proprietary code to a remote endpoint, while rushed agent runs pass CI by deleting assertions, adding skipped tests, or mocking out core behavior.

The idea

A fast, deterministic GitHub App and local CLI (`npx skillgate check`) that runs in CI before human review. It statically audits SKILL.md, AGENTS.md, and MCP server configs against a repo egress allowlist, verifies model artifact hashes, and parses test diffs with Tree-sitter AST rules to block empty assertions, silenced linters, and unverified benchmark claims.

Who it's for

  • Startups merging 30%+ AI-authored pull requests via Claude Code, Cursor, or Codex
  • AppSec & platform engineering teams governing internal MCP servers and agent skills
  • Open-source maintainers drowning in low-signal AI PRs and inflated test suites
  • DevTool vendors certifying safe community skill packs and plugins

The first version

  • Static SKILL.md & MCP manifest scanner flagging unapproved outbound URLs, base64 pipes, and split-shell commands
  • Tree-sitter AST test-diff gate detecting newly added .skip markers, empty expect() blocks, and assertion-count drops
  • Versioned `.agent-egress.json` allowlist with CODEOWNERS approval for any new external endpoint
  • GGUF / Safetensors tokenizer chat-template linter and SHA-256 lockfile verifier
  • Inline GitHub PR check annotations showing exact offending lines and deterministic pass/fail evidence
  • Zero-LLM deterministic analysis so prompt injection inside diffs or skills cannot bypass the check

System architecture

  • Rust or TypeScript CLI core using Tree-sitter grammars (TS/JS, Python, Rust, Go) for sub-second AST diff inspection
  • GitHub App webhook receiver running checks inside ephemeral network-isolated containers
  • Signed check-run attestations stored in PostgreSQL with team-wide policy dashboards in Next.js
  • Pre-commit and Claude Code / Cursor hook integrations catching risky skills locally before push

Test it this week

  1. 1

    Release the open-source CLI scanner on GitHub targeting SKILL.md egress patterns + TypeScript/Python test-slop rules and share on Hacker News

  2. 2

    Run the scanner against 20 popular public agent skill repos and publish a transparent findings report

  3. 3

    Interview 5 engineering managers using Claude Code or Devin daily and offer a 14-day hosted GitHub App pilot

Ways to earn

  • Free open-source CLI and public-repo GitHub App for solo builders and OSS maintainers
  • Team SaaS at $49/month per 10 active committers with org-wide egress policies and PR audit history
  • Enterprise self-hosted / GitHub Enterprise Server license ($499+/month) with SAML SSO and compliance exports

Frequently asked questions

Why not just use another AI code reviewer to catch agent test-slop and malicious skills?

LLM reviewers are non-deterministic and vulnerable to prompt injection hidden inside untrusted SKILL.md files or PR diffs. Deterministic AST rules and static egress allowlists give teams fast, reproducible, tamper-proof CI gates.

How does this differ from traditional SAST tools like Semgrep or Snyk?

Traditional SAST tools scan application source code for CVEs, not markdown agent instructions (SKILL.md), GGUF chat templates, or coding-agent behavioral regressions like deleted test assertions and split-shell harness bypasses.

More from the garden.