Security Research - Team Mode Vulnerability Audit

code-yeongyu/oh-my-openagent/packages/skills-loader-core/src/features/builtin-skills/security-research

作者 code-yeongyuac9fcb6f4223cf105a80b93e965cbc6274e53100无许可证71K 个星标收录于 2026年10月9日更新于 2026年10月9日仓库今天更新

Use this skill to run a parallel security audit that separates real exploitability from generic concern. The team has 3 vulnerability hunters and 2 PoC engineers.

仅含说明安全
AI 生成的概览

运行五人团队模式安全审计,寻找漏洞、构建安全 PoC,并只报告可复现的发现。

功能
该技能通过 Team Mode 运行三名漏洞猎手和两名 PoC 工程师,编排并行安全审计。猎手负责梳理攻击面、认证与数据隔离缺陷,以及运行时或供应链风险;PoC 工程师随后复现、证伪或降级候选发现。它产出最终报告,包含结论、带 CWE 与严重级别的发现表、逐项证据与最小修复方案、被降级的候选以及残余风险。
适用场景
适用于对代码仓库、差异范围、PR、发布候选、路径列表或威胁面进行以可利用性为导向的审计。适合需要拒绝泛泛加固建议、只保留具备具体攻击路径发现的评审。它需要团队模式工具和主会话,而非后台子代理。
运行要求
需要 Team Mode 工具(team_*),通过在 .omo/omo.jsonc 配置中设置 team_mode.enabled 启用,并需要主会话而非后台子代理。还需要明确的目标,并使用 rg、git diff、git log、LSP 及现有测试等工具。该技能不附带脚本,仅为说明文档,并引用 CWE、OWASP WSTG/ASVS 与 CVSS v4.0 作为评分框架。

AI 概览如何生成和校验

Security Research - Team Mode Vulnerability Audit

Use this skill to run a parallel security audit that separates real exploitability from generic concern. The team has 3 vulnerability hunters and 2 PoC engineers.

Hard Preconditions

Before starting, verify:

  1. team_* tools are available. If not, stop and tell the user: security-research requires team-mode. Set team_mode.enabled: true in your .omo/omo.jsonc config, restart opencode, then retry.
  2. You are in the main session, not a background subagent.
  3. You have a concrete target: repository, diff range, PR, release candidate, path list, or threat surface.

If the user provided no target, audit the current repository and current branch diff against its upstream or merge base. If there is no diff, audit the security-sensitive surfaces in the working tree.

Severity Standard

Use these references as the scoring frame:

Rules:

  • No severity without an attack path.
  • No critical or high finding without concrete exploit preconditions and impact.
  • Keep CWE category separate from severity.
  • Prefer a small, reproducible PoC over theoretical language.
  • Never run destructive exploits against real services or third-party systems.
  • Use local fixtures, toy payloads, dry runs, or static proof when real execution would be unsafe.

Team Roster

Create one Team Mode run with these 5 members:

MemberKindCategoryRole
surface-huntercategorydeepMap entry points, trust boundaries, and reachable attack surfaces.
auth-data-huntercategoryultrabrainHunt auth, authorization, data isolation, injection, and secret handling flaws.
runtime-supply-huntercategoryunspecified-highHunt filesystem, subprocess, archive, dependency, hook, MCP, and config risks.
poc-engineer-acategoryunspecified-highBuild minimal PoCs for the strongest candidate findings.
poc-engineer-bcategorydeepIndependently reproduce, falsify, or downgrade candidate findings.

Call team_create with an inline spec:

team_create({
  inline_spec: {
    name: "security-research",
    description: "Parallel exploitability-driven security research team.",
    members: [
      {
        name: "surface-hunter",
        kind: "category",
        category: "deep",
        prompt: "You map attack surface. Enumerate entry points, trust boundaries, attacker-controlled inputs, data sinks, privilege transitions, and sensitive assets. Return evidence with file paths and exact functions. Do not assign severity unless you can name an attack path."
      },
      {
        name: "auth-data-hunter",
        kind: "category",
        category: "ultrabrain",
        prompt: "You hunt auth, authorization, tenant/data isolation, injection, SSRF, credential exposure, and confused-deputy flaws. Reason from attacker capability to impact. Return only findings with concrete exploit preconditions, CWE candidates, and verification steps."
      },
      {
        name: "runtime-supply-hunter",
        kind: "category",
        category: "unspecified-high",
        prompt: "You hunt filesystem, subprocess, archive extraction, dependency, hook execution, MCP, config, and environment-variable risks. Check path traversal, command injection, unsafe downloads, permission boundaries, and supply-chain assumptions. Cite file paths and commands used."
      },
      {
        name: "poc-engineer-a",
        kind: "category",
        category: "unspecified-high",
        prompt: "You build minimal safe PoCs for candidate findings. Use toy inputs and local-only execution. Your job is to prove or disprove exploitability, not to broaden scope. Report exact reproduction steps and expected output."
      },
      {
        name: "poc-engineer-b",
        kind: "category",
        category: "deep",
        prompt: "You independently reproduce candidate findings and try to falsify them. Downgrade anything without a working path. If a PoC is unsafe to run, design a safe static or dry-run proof and explain the limit."
      }
    ]
  }
})

If a category is unavailable, retry once by replacing only that category with unspecified-high. Do not reduce the team below 5 members.

Workflow

Phase 0: Scope and Baseline

Collect:

  • Target scope and reason for audit.
  • Branch, base ref, diff, and changed files if this is a change review.
  • Security-sensitive directories and files if this is a full-repo audit.
  • Existing tests and commands that exercise relevant surfaces.
  • Any user-stated constraints, such as no network calls or no destructive tests.

Use rg, git diff, git log, LSP, and existing tests before assigning work.

Phase 1: Independent Hunter Pass

Send one prompt to the 3 hunters:

Audit target:
{target summary}

Context:
{diff, file list, security-sensitive paths, known constraints}

Task:
Find candidate vulnerabilities in your assigned role. For each candidate include:
- title
- affected file/function
- attacker capability
- attack path
- impact
- CWE candidate
- exact evidence
- safe verification idea

Reject generic hardening advice. Return only candidates with a plausible path.

Wait for all hunters.

Phase 2: PoC Pass

Deduplicate hunter candidates. Send the strongest candidates to both PoC engineers.

Each PoC engineer must return:

  • Reproduced, falsified, or unsafe-to-run.
  • Exact commands, fixtures, or static proof.
  • Observed output or reason it fails.
  • Severity recommendation using exploitability and impact.
  • Downgrade rationale for anything not reproduced.

Phase 3: Cross-Check

Send the PoC results back to all 5 members.

Ask every member:

  • Which findings survive?
  • Which findings should be downgraded or removed?
  • What remediation is smallest and specific?
  • What regression test would prevent recurrence?

Phase 4: Final Report

Produce this report:

## Security Research Result

### Verdict
PASS | PASS WITH FINDINGS | BLOCK

### Scope
- Target:
- Base/diff:
- Commands run:

### Findings
| Severity | Title | CWE | Exploitability | Impact | PoC | Fix |
|----------|-------|-----|----------------|--------|-----|-----|

### Finding Details
For each finding:
- Evidence:
- Attack path:
- PoC:
- Severity rationale:
- Minimal fix:
- Regression check:

### Downgraded or Rejected Candidates
| Candidate | Reason |
|-----------|--------|

### Residual Risk
- What was not tested and why.

Output Rules

  • Lead with the verdict.
  • Do not bury blocking issues.
  • Do not report speculative findings as vulnerabilities.
  • Do not claim CVSS precision unless you actually scored the metrics.
  • Include exact file paths and commands for every surviving finding.
  • If no findings survive PoC, say that plainly and list residual risk.

来源与署名

来源:code-yeongyu/oh-my-openagent位于packages/skills-loader-core/src/features/builtin-skills/security-research提交ac9fcb6

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

在 README 中添加徽章

向读者展示该技能已收录于 SourceWeft,徽章链接到本页。

“Listed on SourceWeft”徽章预览
[![Listed on SourceWeft](https://sourceweft.com/badge/skills/gh-code-yeongyu-oh-my-openagent-security-research-team-mode-vulnerability-audit-cc126f31-packages-skills-loader-core-src-features-builtin-skills-security-740dcec251b16ed9.svg)](https://sourceweft.com/skills/gh-code-yeongyu-oh-my-openagent-security-research-team-mode-vulnerability-audit-cc126f31-packages-skills-loader-core-src-features-builtin-skills-security-740dcec251b16ed9?utm_source=readme&utm_medium=badge)

举报或申请下架

更多来自 code-yeongyu/oh-my-openagent 的技能

HYPERPLAN — Adversarial Multi-Agent Planning

code-yeongyu

组织五名对抗式智能体进行三轮辩论,再把幸存洞见交给规划智能体生成计划。

AI 与智能体71K今天更新

Hyperplan

code-yeongyu

组织五人对抗式规划团队交叉批判方案,再把幸存洞见交给规划者正式成文。

AI 与智能体71K今天更新

Hyperplan

code-yeongyu

组织五个敌对角色智能体进行交叉批判辩论,提炼经得起攻击的洞见,再交给 plan 智能体形成可执行计划。

AI 与智能体71K今天更新

Hyperplan

code-yeongyu

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', 'adversarial plan', 'hostile planning', 'cross-critique plan', '하이퍼플랜', '적대적 계획', '교차 비평'.

待分类71K今天更新

Work With Pr

code-yeongyu

Full PR lifecycle in a fresh task-owned git worktree: implement via the ulw-loop skill with mandatory evidence-bound manual QA → reviewer-readable English PR → verification loop (CI + Cubic, where Cubic is skipped only when its quota is exhausted) → merge by default → worktree cleanup. Decomposes one task into the smallest atomic, independently-mergeable PRs and builds the independent ones concurrently via one worktree per PR driven by parallel subagents or a team. Unbounded loop: any failing gate sends you back to fix-and-re-QA inside that PR's worktree. Use whenever implementation work needs to land as a PR. Triggers: 'create a PR', 'implement and PR', 'work on this and make a PR', 'implement issue', 'land this as a PR', 'split into atomic PRs', 'parallel PRs', 'work-with-pr', 'PR workflow', 'implement end to end', even when user just says 'implement X' if the context implies PR delivery.

软件开发71K今天更新

Pre Publish Review

code-yeongyu

对未发布的 npm 变更运行多智能体发布前审查,输出发布结论与版本号升级建议。

软件开发71K今天更新