scanner-pipeline
БесплатноЗапускает вложенные скриптыНе проверенSet up and run deterministic security scanners across a repo or a whole fleet of repos — gitleaks, trufflehog, semgrep, osv-scanner, trivy, checkov, Brakeman…
от briiirussell★ 541 звезда на GitHubОб этом скилле
Scanner Pipeline — Run the Real Tools, Normalize, Hand Off
Stop asking the agent to hack your app. Have it pick the right deterministic scanner for each layer, run it non-interactively, merge the output into one format, and route each finding to a fix agent. Scanners find the same thing every time; an agent review finds it when it happens to look.
Field evidence from a 45-app sweep in October 2026 (patch-sweep). An agent-led review eventually found all of these; a scanner would have flagged each one on the first run:
- 10 Supabase tables with RLS disabled, readable and writable with the public anon key — including 472k inbound email bodies. Supabase's own security advisor reports this as
rls_disabled_in_public. - An always-true RLS policy:
csr.collection_id = csr.collection_id. A custom semgrep rule over migrations catches it (below). - Separate
npm audit,pnpm audit, andbundle-auditruns per repo, where oneosv-scannerpass covers every lockfile.
This skill orchestrates. Interpreting a tool's findings in depth stays with the layer skill: secrets-audit, dependency-audit, container-audit, cloud-audit, owasp-audit. Active exploitation is web-pentest / red-team-engagement.
Why Write is pre-approved: this skill's main output is files — the scanner-pipeline.md plan, a .github/workflows/security-scan.yml, and scanner configs. It writes only those, and only inside the target repo. Live-app scanners (nuclei, zap) are deliberately not pre-approved; they always prompt.
Cross-references: finding-triage (ranking and disposition), secrets-audit, dependency-audit, container-audit, cloud-audit (Supabase advisors, PaaS), web-pentest (authorization for live scans), cicd-security (SHA-pinned Actions, workflow hardening; zizmor / actionlint results), patch-sweep (fleet CVE response), log-watch.
Authorization
Before running anything, confirm:
- Repos: the user owns or is authorized to scan each one. For fleet mode, the owners/orgs to enumerate.
- Live targets: only domains the user owns and names explicitly in this conversation. Not "whatever the repo deploys to" — the user says the hostnames.
- Where results go: local files only, GitHub code scanning, or issues. Secret findings never go into a public issue.
Refuse to: run live scanners (nuclei, ZAP, Burp) against hosts the user doesn't own or didn't name; scan third-party or shared hosts (a shared Supabase/Vercel/Heroku hostname, a CDN, an API you call); run ZAP active scan or nuclei intrusive templates without the web-pentest authorization step; print secret values anywhere.
1. Detect the stack and pick tools per layer
Read the repo first: lockfiles, Dockerfile, *.tf, supabase/, Gemfile, go.mod, .github/workflows/. Then pick one tool per layer, preferring multi-ecosystem tools over per-package-manager ones.
| Layer | Primary | Stack-specific add-ons | Fallback |
|---|---|---|---|
| Secrets | betterleaks git or gitleaks git (full history) |
Liveness, after asking: betterleaks … -v / -a, or trufflehog git --only-verified |
— |
| Code (SAST) | semgrep scan |
Brakeman (Rails), gosec (Go), CodeQL (if GHAS), custom semgrep rules (below) | — |
| Dependencies | osv-scanner scan source -r . (npm, pnpm, yarn, Bundler, pip, Go, Cargo, Composer, Maven in one pass) |
bundle-audit (Rails), govulncheck (Go, call-graph reachability), pip-audit |
npm audit / pnpm audit --prod / yarn audit |
| Infra / IaC / containers | trivy fs --scanners vuln,misconfig,secret . |
checkov -d . (Terraform, CloudFormation, k8s, Actions), trivy image <img> |
— |
| Database (Supabase) | Supabase security advisor (supabase db advisors, or Management API GET /v1/projects/{ref}/advisors/security) |
supabase db lint (plpgsql_check: function errors, not RLS), semgrep rule over supabase/migrations/ |
pg_policies / pg_tables.rowsecurity query |
| Live app (guarded) | ZAP baseline (passive) | nuclei with -rl |
— |
Commands, non-interactive, one output file per tool under .security/out/:
mkdir -p .security/out
# Secrets — full history, values redacted
gitleaks git . --redact --report-format sarif --report-path .security/out/gitleaks.sarif
# or Betterleaks: detection only and silent, so a stray BETTERLEAKS_VALIDATE=true can't use found keys and nothing prints.
# v2 has no SARIF reporter: convert, then export (needs_validation records go out at level "note")
betterleaks git . --validate=false --analyze=false --redact --silent -o .security/out/betterleaks.json
node references/betterleaks-to-findings.mjs .security/out/betterleaks.json -o .security/out/betterleaks.findings.json
node references/to-sarif.mjs .security/out/betterleaks.findings.json --include-needs-validation -o .security/out/betterleaks.sarif
trufflehog git file://. --only-verified --json --no-update | jq -c 'del(.Raw, .RawV2)' > .security/out/trufflehog.jsonl
# Code
semgrep sca
Установить scanner-pipeline в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGrepGlobWriteBash(gitleaks:*)Bash(betterleaks version)Bash(betterleaks git . --validate=false --analyze=false --redact --silent -o .security/out/betterleaks.json)Bash(osv-scanner scan:*)Bash(trivy fs:*)Bash(trivy image:*)Bash(trivy config:*)Bash(checkov:*)Bash(bundle-audit:*)Bash(brakeman:*)Bash(gosec:*)Bash(govulncheck:*)Bash(gh repo list:*)Вложенные файлы
FAQ
Что делает скилл scanner-pipeline?
Set up and run deterministic security scanners across a repo or a whole fleet of repos — gitleaks, trufflehog, semgrep, osv-scanner, trivy, checkov, Brakeman, govulncheck, Supabase advisors, and (guarded) nuclei/ZAP — then normalize their output to findings.json or SARIF, dedupe, suppress with expiry, schedule in CI, and hand findings to fix agents. Use when the user mentions 'run scanners,' 'security scanning pipeline,' 'set up gitleaks,' 'betterleaks in CI,' 'semgrep in CI,' 'osv-scanner,' 'trivy fs,' 'SARIF,' 'code scanning,' 'scan all my repos,' 'security-scan workflow,' 'weekly security scan,' 'Supabase RLS advisor,' 'dedupe scanner findings,' 'suppression file,' 'stop asking Claude to hack my app,' or wants tools, not an agent, to find the bugs.
Как установить скилл scanner-pipeline?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл scanner-pipeline запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic