Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

case-review — Claude Code skill: reverse engineering case audit

Audits a reverse engineering case package for handoff: verifies Evidence to Finding and Path traceability, checks artifact hash integrity, and generates a report without modifying the case.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add zhaoxuya520/reverse-skill --skill case-review -a claude-code
Open on GitHub

What case-review does

The skill reads the structure of work/<case>/ and ensures all data is linked: each Finding references existing Evidence, each Path has a valid path_type and Evidence reference, work items and timeline entries point to real Evidence records. Runs in read-only mode—does not touch the case or reach the target.

Relies on Python 3 standard library only; no network access required. Supports three run modes: markdown for embedding in reports, json for CI automation, and --strict to block handoff if errors are found. On the third phase, verifies SHA-256 hashes of case artifacts—a mismatch fails the handoff.

Intended for reverse engineering, digital forensics, CTF, and authorized security audits. Implements NIST SP 800-86 and SWGDE best practices for evidence integrity.

What it helps with

  • Confirm all evidence has reproducible commands before report handoff
  • Locate broken links between findings and source data in the case
  • Verify artifacts were not compromised or replaced after collection
  • Prepare a case for formal report or specialist handoff
  • Export audit results to JSON for CI integration

Example prompts for the agent

  • Run basic audit: `python3 skills/case-review/scripts/review_case.py work/<case> --format markdown`
  • Verify hash integrity before submission: `python3 skills/case-review/scripts/review_case.py work/<case> --verify-hashes --strict`
  • Save results for archive: `python3 skills/case-review/scripts/review_case.py work/<case> --strict --format markdown > work/<case>/report/case-review.md`

How to install case-review

1Skills CLI (Vercel)

npx skills add zhaoxuya520/reverse-skill --skill case-review -a claude-code

2Manually: put the files in place

~/.claude/skills/case-review/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/case-review/

From the same set5

The whole set →

Similar

google-cloud-filestore-auditing official google This skill audits Google Cloud Filestore for backup readiness, NFS access exposure, and zone isolation. Use it when reviewing storage posture across projects. Claude Code Gemini CLI CX Codex 2,300installs skill-inspector NVIDIA Reviews a skill for vulnerabilities, excessive permissions, and hidden behavior before you install it. Combines NVIDIA SkillSpector static scanning with semantic source inspection. Claude Code CX Codex Cursor +1 900installs spring-boot-engineer https://github.com/Jeffallan Generates Spring Boot 3.x code, JPA repositories, REST controllers, and Spring Security 6 configurations. Useful when writing Java microservices and reactive endpoints. Claude Code CX Codex Cursor +1 8,400installs threat-model official anthropics Builds a threat model for a codebase in three modes and writes it to THREAT_MODEL.md. Use it before vulnerability discovery or a security review. Claude Code CX Codex Cursor +1 1,200installs block-no-verify-hook cskwork This skill adds a PreToolUse hook that blocks git bypass flags such as --no-verify. Use it when pre-commit checks must run before an agent can execute a command. Claude Code CX Codex Cursor 6,500installs ctf-reverse ljagiello A reverse engineering reference for CTF challenges: guides coding agents through binary inspection, anti-debug bypass, and virtual machine analysis. Claude Code CX Codex Cursor +1 10,100installs git-guardrails-claude-code Matt Pocock This skill adds a Claude Code hook that stops risky Git commands before they run. Use it when an agent must not push or discard working-tree changes. Claude Code 499,069installs ponytail-review DietrichGebert ponytail-review reviews a change beyond the diff, checking connected code, bugs, risks, load, tests, speed, and unnecessary code. Use it for PRs and commits. Claude Code CX Codex Cursor +1 56,300installs

Questions about case-review

How do I install case-review in Claude Code?

Run npx skills add zhaoxuya520/reverse-skill --skill case-review -a claude-code, then check ~/.claude/skills/case-review/SKILL.md.

What does case-review do?

Audits a reverse engineering case package: ensures Evidence, Findings, and Paths are all linked, checks that commands are reproducible, and optionally verifies SHA-256 hashes of artifacts before report handoff.

What dependencies does it need?

Only Python 3.9+ from the platform's standard installation. No third-party packages, no network access.

Source text

SKILL.md · MIT
---
name: case-review
description: Reviews a reverse-skill case package for scope readiness, Evidence to Finding to Path traceability, work item coverage, timeline references, and optional artifact hash integrity before report handoff.
---

# Evidence Graph Review

Use this skill when a reverse engineering, forensics, CTF, or authorized security case needs a defensible handoff. It audits the existing `work/<case>/` package without changing the case or touching a target.

## Scope

This skill covers:

- Scope metadata and target-activity readiness
- Evidence record structure and reproducibility fields
- References from work items and timeline entries to Evidence
- Structured Findings and Paths in report Markdown
- Optional SHA-256 verification for case-local artifacts
- A Markdown or JSON review result for a report handoff

It MUST NOT perform reconnaissance, exploitation, dynamic instrumentation, or target changes. Those actions belong to the routed analysis skill and require the case scope gate.

## ACTION REQUIRED

1. `NOW`: read `../field-journal/precedent-reverse.md` and confirm that this is a review of an existing authorized case package.
2. `NOW`: confirm the case path and choose read-only review mode.
3. `NEXT`: read `../tool-index.md`; this skill uses only Python 3 standard library and does not require bootstrap.
4. `NEXT`: run `python3 scripts/review_case.py <case-root> --format markdown`.
5. `ACT`: resolve every error, then rerun the review before claiming a handoff is complete.

## Tool dependencies

| Tool | Required | Purpose | Auto-bootstrap |
|------|----------|---------|---------------|
| Python 3.9+ | Yes | Runs the read-only case review script | No, use the platform Python installation |

No network access or third-party package is required.

## Workflow

### Phase 1: Intake

Run the review against the existing case directory:

```bash
python3 skills/case-review/scripts/review_case.py work/<case> --format markdown
```

Confirm that `scope.md`, `timeline.md`, `workitems.md`, and `evidence/` are present. A non-strict review reports scope warnings while a strict review treats warnings as handoff blockers.

## 建议下一步(选一个编号)

1. 修复 scope.md 中的授权、范围或 network_profile 字段
2. 继续检查 Evidence 记录的可复现命令和来源
3. 导出当前 review 结果并附到阶段性报告
4. 换 JSON 输出接入 CI 或其他审查工具
5. 暂停,先确认审查范围

### Phase 2: Traceability

Review the checks for:

- Evidence IDs that do not exist
- Findings without `evidence_ids`
- Paths without an allowed `path_type` or Evidence reference
- Work items and timeline entries pointing to unknown Evidence
- Unlinked Evidence records
- Validated Findings with low confidence

An offline observation may use `repro_command: n/a` only when its `notes` field explicitly documents the offline limitation.

Use JSON when another tool needs stable fields:

```bash
python3 skills/case-review/scripts/review_case.py work/<case> --format json
```

## 建议下一步(选一个编号)

1. 补写缺失的 Evidence,并保留原始命令
2. 将候选 Finding 绑定到 Evidence 后重新审查
3. 为调用链或攻击链补充 P-id 和 Path 步骤
4. 生成 Markdown handoff summary
5. 换回 PRIMARY skill 继续分析

### Phase 3: Fixity verification

When an Evidence record contains both `content_hash` and `artifact_path`, verify the case-local artifact:

```bash
python3 skills/case-review/scripts/review_case.py work/<case> --verify-hashes --strict
```

The script accepts `sha256:<64 hex characters>` and checks that the artifact remains inside the case root. A hash mismatch is a hard failure.

The PowerShell Evidence helper can record a hash while appending a record:

```powershell
powershell -File skills/scripts/append-evidence.ps1 -CaseRoot work\<case> -Id E-001 -Title "Sample hash" -ReproCommand "sha256sum evidence/sample.bin" -ArtifactPath "evidence\sample.bin"
```

## 建议下一步(选一个编号)

1. 修复 hash mismatch 或替换已污染的工作副本
2. 为未固定的原始文件补充 SHA-256 和 artifact_path
3. 继续进入报告生成阶段
4. 导出 JSON 结果供 CI 保存
5. 暂停并请求人工复核

### Phase 4: Handoff

Use strict mode before a final report or specialist handoff:

```bash
python3 skills/case-review/scripts/review_case.py work/<case> --strict --format markdown > work/<case>/report/case-review.md
```

The command is read-only with respect to the case unless shell redirection is explicitly used to save its output. The review is not legal advice and does not replace organizational evidence handling procedures.

## 建议下一步(选一个编号)

1. 将通过的 review 结果交给 `docs-generator/` 生成正式报告
2. 回到 PRIMARY skill 补齐新的分析证据
3. 归档 Markdown 和 JSON review 结果
4. 暂停并请求人工复核

## Language behavior contract

- Internal reasoning, tool selection, and phase control: English.
- User-visible messages, section labels, reports, and next-step menus: Chinese unless the user requests another language.
- Default bilingual labels place Chinese first and English second, separated by `/`.

## Bootstrap boundary

This skill has no third-party dependency. If Python 3 is unavailable, the only allowed recovery action is the repository bootstrap path when a Python capability is registered for the current platform. If no such capability is registered, stop and report the missing runtime. Do not guess executable paths, download packages, or perform a manual install from inside this skill.

## Routing context

**Upstream entry**: any reverse, forensics, CTF, or authorized security skill that has produced a case package.

**Downstream exit**: `docs-generator/` for a formal report, or the original PRIMARY skill when the graph is incomplete.

**Related modules**: `ops/evidence-finding-path.md`, `ops/timeline-workitem.md`, `digital-forensics/`, `reverse-engineering/`, and `docs-generator/`.

## References

- [NIST SP 800-86: Guide to Integrating Forensic Techniques into Incident Response](https://csrc.nist.gov/pubs/sp/800/86/final)
- [SWGDE Best Practices for Computer Forensic Acquisitions](https://www.swgde.org/documents/published-complete-listing/17-f-002-2-1/)
- [SWGDE Best Practices for Archiving Digital and Multimedia Evidence](https://www.swgde.org/documents/published-complete-listing/19-f-003-best-practices-for-archiving-digital-and-multimedia-evidence/)

## 任务完成自检

- [ ] 我是否审查了 scope.md、timeline.md、workitems.md 和 evidence/?
- [ ] 所有 Finding 是否引用了现存 Evidence?
- [ ] 所有 Path 是否包含合法 path_type 和 Evidence 引用?
- [ ] 是否执行了 hash verification,或记录了未执行原因?
- [ ] 是否以 strict 模式重新运行并保存了 review 结果?

© zhaoxuya520 · MIT · zhaoxuya520/reverse-skill

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor