AB

abczsl520/bug-audit-skill

Code review

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

20 stars 품질 51 트렌드 24

OpenClaw 기술: Node.js 웹 프로젝트에 대한 동적 버그 감사 (게임, 데이터 도구, WeChat, API, 봇). 200+ 실제 pitfalls.

개요

체크리스트를 실행하지 마십시오. 이 프로젝트는, 그 후에 각 법인을 엄격히 확인합니다. 하드 레슨에서 내장: 이 프로젝트는 일반 체크리스트를 사용하여 172 버그를 발견했다. Post-mortem은 프로젝트 별 체크 매트릭스를 처음 구축 한 것으로 밝혀졌다 . 일반적인 체크리스트는 "알 수 있는 패턴" 버그 (CORS, XSS, timezone)를 잡습니다. 그러나 가장 중요한 버그는 : - 구매 API는 cost=0 → 무료 구매 (모든 체크리스트에 아닙니다) - 처음 구매하지 않고 raid-result 호출 가능 → 무한한 돈 악용 - 검색 완료는 거리를 확인하지 않습니다 → 원격 looting 이 버그는 개인 코드 패턴에 , 아니. 가장 큰 버그 (구매 bypass, 누락 된 레이드 토큰)는 API 사이의 링크에서 숨깁니다. 그런 다음 말: " Then行bug行"또는 "버그에 대한이 프로젝트" Wiki의 전체 문서 : - 流 each — 각 테이블을 구축하는 방법, 무엇 - 一一知 — 9 보조 검사를위한 일반적인 모듈 - High — 고주파 pitfalls + 원격 디버깅

개요(AI 번역)

체크리스트를 실행하지 마십시오. 이 프로젝트는, 그 후에 각 법인을 엄격히 확인합니다.

하드 수업에서 내장 : 프로젝트는 ** 21 라운드 ** 일반 체크리스트를 사용하여 172 버그를 찾습니다. Post-mortem은 프로젝트 별 체크 매트릭스를 처음 구축 한 것으로 밝혀졌습니다 ** 3-4 라운드 **.

Checklists 문제

일반적인 체크리스트는 “알 수 있는 패턴” 버그 (CORS, XSS, timezone)를 잡습니다. 그러나 가장 중요한 버그는 ** 프로젝트 별 논리 취약점**:

  • buy API는 cost=0] → 무료 구매 (확인서가 아닙니다)
  • raid-result] buy]를 호출하지 않고 호출 가능 → 무한한 돈 악용
  • 검색 완료는 거리를 확인하지 않습니다 → 원격 looting

이 버그는 APIs** 사이의 ** 관계에서 라이브, 개별 코드 패턴에.

해결책: 곤충 → Verify → 보충교재

##6 테이블

표 추출물 키 질문
API Endpoints 모든 경로: 방법, 경로, 오, 파라스 우회할 수 있나요? 쓰레기를 보낼 경우?
주 기계 모든 상태 가변: 세터, 리더, 수명주기 수명주기 전반에 걸쳐 누출이 있습니까?
타이머 각 setTimeout/setInterval 청소 후 불이 켜져 있습니까?

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

🔍 Bug Audit Skill

Don’t run a checklist. Dissect the project, then exhaustively verify every entity.

Built from a hard lesson: a project took 21 rounds to find 172 bugs using generic checklists. Post-mortem revealed that building project-specific check matrices first would have caught most bugs in 3-4 rounds.

The Problem with Checklists

Generic checklists catch “known pattern” bugs (CORS, XSS, timezone). But most critical bugs are project-specific logic vulnerabilities:

  • buy API accepts cost=0 → free purchases (not in any checklist)
  • raid-result callable without calling buy first → infinite money exploit
  • Search completion doesn’t verify distance → remote looting

These bugs live in the relationships between APIs, not in individual code patterns.

The Solution: Dissect → Verify → Supplement

Phase 1: Dissect — Read code, build 6 project-specific tables (10-15 min)
Phase 2: Verify  — Exhaustively check every row in every table
Phase 3: Supplement — Run generic modules as safety net
Phase 4: Regress — Check fixes didn't introduce new bugs
Phase 5: Archive — Record pitfalls for next audit

The 6 Tables

Table Extracts Key Question
API Endpoints Every route: method, path, auth, params Can I bypass? What if I send garbage?
State Machines Every state variable: setter, reader, lifecycle Does it leak across lifecycles?
Timers Every setTimeout/setInterval Does it fire after cleanup?
Numeric Values Every user-influenceable number What if 0? Negative? Huge?
Data Flows Every related API pair (buy→use) Can I skip Step 1 and call Step 2 directly?
Resource Ledger Every resource: all inflows, all outflows Is there an infinite loop?

Data Flows table is the most critical. The biggest bugs (buy bypass, missing raid tokens) hide in the links between APIs.

Install

clawhub install bug-audit

Or manually:

git clone https://github.com/abczsl520/bug-audit-skill.git ~/.openclaw/skills/bug-audit

Then say: “对这个项目执行bug排查” or “audit this project for bugs”

What’s Inside

File Content
SKILL.md Core methodology: 6 tables + 5 phases
references/modules.md 9 generic audit modules for Phase 3
references/pitfalls.md 200+ real-world pitfalls + debugging techniques

Documentation

Full docs on the Wiki:

GitHub에서 전체 README 보기

추천 도구

다른 키워드를 입력하거나 필터를 제거해 보세요.

설치

npx skillfish add abczsl520/bug-audit-skill
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →