Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

fix-review修复评论

Agent Skill

fix-review 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

558

周安装

23

GitHub Stars

25

下载量

182
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:fix-review(修复评论)
来源仓库:https://github.com/oimiragieo/agent-studio
仓库路径:skills/fix-review
安装命令:
npx skills add https://github.com/oimiragieo/agent-studio --skill fix-review
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/oimiragieo/agent-studio --skill fix-review

简介

fix-review 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于修复审查和问题排查相关的研究检索任务。
  • 通过 GitHub 仓库安装,使用 npx skills add 命令添加技能。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • fix-review 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Fix Review Skill

Overview

This skill implements Trail of Bits' fix review methodology for the agent-studio framework. When a security audit produces findings and developers commit fixes, this skill systematically verifies that each finding is properly addressed without introducing new vulnerabilities or regressions.

Source repository: https://github.com/trailofbits/skills License: CC-BY-SA-4.0 Output: Structured FIX_REVIEW_REPORT.md

When to Use

  • After developers commit fixes for security audit findings
  • During PR review of security-related changes
  • When verifying remediation of vulnerability reports
  • Before closing security findings in tracking systems
  • When reviewing patches for CVE remediations
  • After automated security tool findings are addressed

Iron Law

NO FINDING CLOSED WITHOUT FIX VERIFICATION

A finding is not fixed until the fix has been reviewed against the original finding description, verified to address the root cause, and confirmed not to introduce new issues.

Fix Status Categories

StatusMeaning
FIXEDFinding is fully addressed. Root cause eliminated. No regressions introduced.
PARTIALLY_FIXEDSome aspects addressed but gaps remain. More dangerous than unfixed.
NOT_ADDRESSEDFix does not relate to the finding, or finding location unchanged.
CANNOT_DETERMINEInsufficient context or code complexity prevents definitive assessment.
NEW_ISSUEFix introduces a new vulnerability or regression.

Anti-Pattern Detection

The following anti-patterns indicate potentially incorrect or incomplete fixes:

Anti-Pattern 1: Validation Removed

ALERT: Input validation was removed or weakened in the fix.

Indicators:

  • Deleted input sanitization calls
  • Relaxed regex patterns
  • Removed length/type checks
  • Weakened allowlist to blocklist

Anti-Pattern 2: Access Control Weakened

ALERT: Authorization checks were reduced or bypassed in the fix.

Indicators:

  • Removed authentication middleware
  • Changed role checks from strict to permissive
  • Added bypass conditions to access control
  • Removed rate limiting

Anti-Pattern 3: Error Handling Reduced

ALERT: Error handling was simplified or removed, potentially hiding failures.

Indicators:

  • Replaced specific catch blocks with generic catch-all
  • Added empty catch blocks
  • Removed error logging
  • Changed error responses from specific to generic (hiding useful diagnostics)

Anti-Pattern 4: External Call Reordering

ALERT: Order of external calls changed, potentially creating race conditions or TOCTOU.

Indicators:

  • Authorization check moved after data access
  • Validation moved after processing
  • Lock acquisition moved or removed
  • Transaction boundaries changed

Anti-Pattern 5: Integer Operation Changes

ALERT: Integer arithmetic modified, check for overflow/underflow/truncation.

Indicators:

  • Changed integer types (int64 to int32, uint to int)
  • Added/removed overflow checks
  • Changed comparison operators (> to >=, == to!=)
  • Modified loop bounds

Anti-Pattern 6: Crypto Downgrade

ALERT: Cryptographic operations were changed in a potentially weakening way.

Indicators:

  • Algorithm changed (AES-256 to AES-128, SHA-256 to SHA-1)
  • Key length reduced
  • Removed salt/nonce/IV
  • Changed from authenticated to unauthenticated encryption

Workflow

Step 1: Load Findings

Read the original findings report to understand what was found:

# Read findings file
cat findings-report.md

# Or extract from issue tracker
gh issue view <issue-number>

Step 2: Identify Fix Commits

Map each finding to its fix commit(s):

# View commits since the findings report
git log --oneline --since="<audit-date>"

# View a specific fix commit
git show <commit-hash>

# View PR diff
gh pr diff <pr-number>

Step 3: Analyze Each Fix

For each finding-fix pair:

  1. Re-read the finding description and affected code location
  2. Read the fix diff line by line
  3. Check root cause: Does the fix address the root cause or just the symptom?
  4. Check completeness: Are all instances of the pattern fixed?
  5. Check anti-patterns: Does the fix match any anti-pattern?
  6. Check regressions: Does the fix break adjacent functionality?
  7. Assign status: FIXED / PARTIALLY_FIXED / NOT_ADDRESSED / CANNOT_DETERMINE / NEW_ISSUE

Step 4: Generate Report

FIX_REVIEW_REPORT Format

# Fix Review Report

**Date**: YYYY-MM-DD
**Reviewer**: [agent-type]
**Audit Reference**: [original audit report path]
**Commits Reviewed**: [list of commit hashes]

## Summary

| Status           | Count |
| ---------------- | ----- |
| FIXED            | N     |
| PARTIALLY_FIXED  | N     |
| NOT_ADDRESSED    | N     |
| CANNOT_DETERMINE | N     |
| NEW_ISSUE        | N     |

## Finding Reviews

### Finding F-001: [Title]

- **Original Severity**: Critical/High/Medium/Low/Informational
- **Original Location**: `file:line`
- **Fix Commit**: `<hash>`
- **Fix Status**: FIXED | PARTIALLY_FIXED | NOT_ADDRESSED | CANNOT_DETERMINE
- **Anti-Patterns Detected**: None | [list]

**Original Finding Summary**:
[Brief description of the finding]

**Fix Analysis**:
[Line-by-line analysis of what the fix does]

**Root Cause Addressed**: Yes/No/Partial
[Explanation]

**Regression Risk**: None/Low/Medium/High
[Explanation of potential regressions]

**Remaining Gaps** (if PARTIALLY_FIXED):

- [ ] Gap 1: [description]
- [ ] Gap 2: [description]

---

### Finding F-002: [Title]

[Same structure as above]

---

## New Issues Introduced

### NI-001: [Title]

- **Introduced By**: `<commit-hash>`
- **Location**: `file:line`
- **Severity**: Critical/High/Medium/Low
- **Description**: [What the new issue is]
- **Recommendation**: [How to fix it]

## Recommendations

1. [Prioritized list of remaining actions]
2. [Re-audit recommendations if needed]

Integration with Agent-Studio

Recommended Workflow

  1. Run audit-context-building to deeply analyze the code
  2. After fixes are committed, invoke fix-review to verify
  3. Feed report to code-reviewer for additional review perspectives
  4. Use variant-analysis to check if similar patterns exist elsewhere

Complementary Skills

SkillRelationship
audit-context-buildingProvides deep context for understanding fixes
differential-reviewSecurity-focused diff review (lower granularity)
variant-analysisFinds unpatched variants of fixed vulnerabilities
static-analysisAutomated confirmation of fix effectiveness
code-reviewerGeneral code quality review of fix commits

Iron Laws

  1. NO FINDING CLOSED WITHOUT FIX VERIFICATION — A finding is not fixed until the fix has been reviewed against the original finding, verified to address root cause, and confirmed not to introduce new issues.
  2. ALWAYS compare fix against original finding — reviewing the diff in isolation misses context; the fix must address the specific vulnerability described.
  3. ALWAYS check for all instances — if a pattern is fixed in one location, verify that all other instances of the same pattern are also fixed.
  4. NEVER close PARTIALLY_FIXED findings — partial fixes are more dangerous than unfixed findings because they create false confidence.
  5. ALWAYS check adjacent code paths — fixes that pass all anti-pattern checks can still introduce regressions in code that depends on the changed behavior.

Anti-Patterns

Anti-PatternWhy It FailsCorrect Approach
Reviewing diff without reading findingFix may address wrong issue or only surface symptomAlways re-read original finding before reviewing fix diff
Closing finding after any code changeChange may be unrelated or insufficientVerify fix status is FIXED with root cause elimination confirmed
Ignoring partial fixesPARTIALLY_FIXED is more dangerous than NOT_ADDRESSED (false security)Track remaining gaps explicitly; keep finding open
Skipping anti-pattern checklistSubtle regressions (weakened validation, reordered checks) go unseenRun all 6 anti-pattern checks on every fix diff
Not checking for variant vulnerabilitiesSame bug pattern likely exists elsewhere in codebaseInvoke variant-analysis after confirming fix

Memory Protocol (MANDATORY)

Before starting:

Read .claude/context/memory/learnings.md

Check for:

  • Original findings report and any prior fix review reports
  • Known anti-pattern frequencies from previous fix reviews
  • Previous fix quality patterns for this codebase

After completing:

  • Anti-pattern frequency data -> .claude/context/memory/learnings.md
  • Fix quality concern -> .claude/context/memory/issues.md
  • Decision about finding status -> .claude/context/memory/decisions.md
ASSUME INTERRUPTION: If it's not in memory, it didn't happen.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude

33.24%
按下载量换算60

Codex

31.74%
按下载量换算58

Cursor

20.03%
按下载量换算36

Gemini CLI

9.6%
按下载量换算17

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills