本文へ移動
cccskills
無料GitHub で公開

pb-security-sweep

Run a security sweep over one repo: secrets, dependencies and the diff, a security review and a silent-failure hunt, one deduped and ranked findings report, issues filed for blocking findings only after GO, each one handed to pb-bug-fix. Use for "security sweep", "audit this repo", "check for leaked secrets and vulnerable deps".

インストール方法を見る

含まれるファイル(1)

  • SKILL.md4.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Security sweep with ranked findings

What you get: one ranked findings report for the repo (blocking, should, note), an issue per blocking finding filed after your GO on a private repo, and a before-and-after delta from the re-run.

Inputs

  • repo — the current directory, or the one the user names; <owner/repo> comes from git -C <repo> remote get-url origin
  • scope — diff (changes against the default branch) or full (the whole tree), asked if missing

Steps

  1. bdb-security-audit — repo, scope → secrets, dependency and diff findings in production_artifacts/pb-security-sweep-<date>/findings.md (optional scanners the skill cannot find are logged as skipped by the skill itself) — file written; secret values are never copied into the report, only file and line
  2. security-reviewer (agent) — same scope → findings appended to findings.md — each finding cites file and line
  3. silent-failure-hunter (agent) — same scope → findings appended to findings.md — each finding cites file and line
  4. Dedupe and rank — findings.md → one table, each finding blocking, should or note, with id, file, line, source step — stops for approval (the human confirms the ranking and which blocking findings get an issue)
  5. github — gh repo view <owner/repo> --json visibility -q .visibility → run log line — equals PRIVATE; PUBLIC or unknown → no issue is filed, the blocking findings stay in the report only (a secret in a public issue leaks it), logged, steps 6 and 7 skipped
  6. [GO] gh issue create — per approved blocking finding: gh issue create -R <owner/repo> --title "<title>" --body-file <body> with file, line and impact but no secret value — the WAITING FOR GO line names the finding id and the title. The run stops here until the human types GO. One GO = one issue. (gh issue create is not hooked; this GO is its only guard.)
  7. pb-bug-fix — per filed issue → one pb-bug-fix run with its own GO for the push and the PR (nothing is pushed from this playbook) — each issue number is logged next to its PR URL or "deferred"
  8. bdb-security-audit — re-run as in step 1 → delta (fixed, still open, new) in the run log — every remaining blocking finding names its pb-bug-fix PR
  9. verification-before-completion — delta → run log line — zero open blocking findings, or each remaining one named with its PR; output pasted, not claimed

Run log: production_artifacts/pb-security-sweep-<date>.md in the start directory, never committed; the findings file stays in production_artifacts/ and is not staged

Optional gate check: Strix

  • Strix (https://github.com/usestrix/strix) is an open-source autonomous AI penetration-testing agent: it runs your code dynamically, finds and validates vulnerabilities with working PoCs, and reports with CVSS/OWASP classification. Apache-2.0 licensed.
  • Install path/binary (as the README documents it): curl -sSL https://strix.ai/install | bash, binary strix; first run needs Docker and an LLM API key.
  • This is optional. Installation is a separate manual step that needs its own GO from the human — never install, run or download Strix as part of this playbook. If it is installed, strix --target <repo> can complement steps 1-3; its findings go through the same dedupe and rank step.

Rules

  • Anything other than the literal GO (case-insensitive) is not a GO; a GO covers only that one step, one time.
  • GO is by contract in every harness. The go-gate hook is only a backstop on Claude Code, OpenCode and agy (Codex: unverified; Cursor, Kimi: none). A missing hook is never permission to proceed.
  • A failed check stops the run: write the failure into the run log and report. No silent retries.
  • Write one run-log line per step as it completes (N. done|skipped|failed — artifact — check result) and WAITING FOR GO: <step> at each gate.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use when manage multiple local CLI agents via tmux sessions (start/stop/monitor/assign) with cron-friendly scheduling.

日本語の概要は準備中です。原文の説明を表示しています。

hybridlabor-api/aos62026年10月12日 更新

Use when a hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).

日本語の概要は準備中です。原文の説明を表示しています。

hybridlabor-api/aos62026年10月12日 更新

Reference for how BDB structures autonomous software engineering work — the seven-node dispatcher graph (Architect, TechLead, UI/UX, Engineering, Media/EventTech, Reviewer, Shipping) that /startcycle-graph actually runs. Use when you need the high-level lifecycle framing without inventing your own process.

日本語の概要は準備中です。原文の説明を表示しています。

hybridlabor-api/aos62026年10月12日 更新

Tools are how AI agents interact with the world. A well-designed tool is the difference between an agent that works and one that hallucinates, fails silently, or costs 10x more tokens than necessary. This skill covers tool design from schema to error handling.

日本語の概要は準備中です。原文の説明を表示しています。

hybridlabor-api/aos62026年10月12日 更新

Harness patterns for coding agents — memory, permissions, context engineering, delegation, skills, hooks, bootstrap.

日本語の概要は準備中です。原文の説明を表示しています。

hybridlabor-api/aos62026年10月12日 更新

agenttrail: live map of a multi-agent build in the browser: which plan component is being worked on, by which agent or harness, what is done and what is stuck. Use when a multi-agent pipeline starts (/startcycle, /startcycle-graph, /teamwork-preview) or after a plan-canvas approve, when the user asks to see what the agents are doing ("live map", "build board", "who is running now"), or by yourself whenever a multi-agent run is under way — no user prompt needed.

日本語の概要は準備中です。原文の説明を表示しています。

hybridlabor-api/aos62026年10月12日 更新

hybridlabor-api のスキルをすべて見る

このスキルの問題を報告する