replay-regression
하는 일
이 스킬은 별도의 에이전트가 의심되는 버그의 저장된 테스트가 정말 문제를 보여 주는지 확인하도록 합니다. 보고하기 전에 두 번째 독립 확인이 필요한 검토자를 위한 것입니다.
사용하는 경우
- ✓누군가 회귀를 보여 주는 테스트를 작성했고, 새 검토자가 확인하기를 원할 때.
- ✓같은 입력으로 원본 버전은 맞게 작동하고 새 버전은 실패한다는 증명이 필요할 때.
- ✓보고서에 들어가기 전에 발견 사항을 검증해야 하는 경우.
스킬 링크
https://github.com/trailofbits/skills/blob/main/plugins/regression-hunt/skills/replay-regression/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 저장된 테스트가 제 코드의 원본과 새 버전에서 정말 버그를 보여 주는지 독립적으로 확인해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 같은 입력을 써서 두 버전을 처음부터 자체 폴더에서 빌드하고 실행합니다. 원본 버전이 올바르게 작동하고 새 버전이 실패를 보이는지 기록하며, 맞지 않는 부분도 적습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Independently replay a PoC
When to Use
Input: candidate, frozen source records, complete sealed reproduction package and registry assignment. Use a fresh context distinct from the reproducer. Follow project guidance before target work.
When NOT to Use
Authoring or repairing the PoC. Return changes to the caller for reproduction; changed PoCs require new reproduction and replay.
Replay
- Read the standard and file contract. Verify the package; read setup and security guidance. Stop execution if prerequisites fail.
- Independently build and run actual S0/S1 only inside your attempt directory; never reuse another attempt's build output. List every build directory in
build_dirs. Execute the unchanged PoC with the same input against both. Record whether S0 behaves correctly and S1 exhibits the claimed failure. - Check real interface reachability using only the claimed user's/attacker's access. Save setup, versions, commands, observations and separate logs.
- Write and seal
replay.json, referencing the reproduction record and original PoC/input. Record divergence or blockers; uncertainty stays unresolved. Release temporary resources without deleting evidence.
Report Back
Keep detailed evidence in the sealed package. Return only:
- Status:
completeorblocked, matching the record. - Record: sealed
replay.jsonpath, or why none was produced. - Result: one sentence describing observed agreement or divergence.
- Blocker: missing prerequisite or required caller action, if blocked.
Completion means the replay attempt finished, not that the regression is confirmed.
Rationalizations to Reject
- “The previous logs look right”: replay requires your own execution.
자주 묻는 질문
왜 별도의 에이전트를 쓰나요?
새로운 확인은 원래 작성자의 설정이 실수를 가릴 가능성을 줄이기 때문입니다.
테스트가 작동하지 않으면 고쳐 주나요?
아니요. 테스트 변경은 작성자에게 돌아가며, 다시 확인해야 합니다.
원래 테스트와 같은 기기가 필요한가요?
아니요. 자체 폴더에서 모든 것을 다시 빌드하고 실행합니다.
상세 정보
작성자의 원본 설명
Use when independently verifying a supplied PoC against fresh live before/after deployments.
repo: trailofbits/skills
인기도
- GitHub 스타
- 8.0k
- 순위
- #12699
- 라이선스
- CC-BY-SA-4.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
audit-context-building
8.0k에이전트가 보안 검토 전에 낯선 코드베이스를 익히고, 각 함수가 가정하고 보장하며 의존하는 것을 정리하도록 돕습니다.
algorand-vulnerability-scanner
8.0k에이전트가 TEAL이나 PyTeal 기반 Algorand 스마트 계약에서 키 재설정 공격, 수수료 미검증 등 보안 문제 11가지를 찾도록 돕습니다.
audit-prep-assistant
8.0k에이전트가 외부 보안 검토를 위해 코드베이스를 준비하도록 돕습니다. 정적 분석, 테스트 커버리지, 죽은 코드 정리, 명확한 문서화를 포함합니다.
cairo-vulnerability-scanner
8.0k에이전트가 StarkNet Cairo 스마트 계약에서 오버플로, 위험한 계층 간 메시지, 서명 재사용 등 6가지 문제를 검사하도록 돕습니다.