Chuyển đến nội dung
Skillpedia
Bảo mật8.0k · #12699

replay-regression

Skill này làm gì

Skill này nhờ một agent riêng kiểm tra xem một test đã lưu về lỗi bị nghi ngờ có thật sự cho thấy vấn đề không. Dành cho người review muốn một xác nhận độc lập thứ hai trước khi báo cáo.

Khi nào nên dùng

  • ✓Khi ai đó đã viết một test cho thấy một hồi quy và bạn muốn một người review mới kiểm tra nó.
  • ✓Khi bạn cần bằng chứng rằng phiên bản cũ hoạt động và phiên bản mới lỗi với cùng đầu vào.
  • ✓Khi bạn phải xác minh một phát hiện trước khi nó được đưa vào báo cáo.

Liên kết skill

https://github.com/trailofbits/skills/blob/main/plugins/regression-hunt/skills/replay-regression/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/trailofbits/skills/blob/main/plugins/regression-hunt/skills/replay-regression/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi cần bạn kiểm tra độc lập xem test đã lưu này có thật sự cho thấy lỗi trong phiên bản cũ và mới của code không.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent xây dựng và chạy cả hai phiên bản từ đầu trong thư mục riêng, dùng cùng đầu vào. Nó ghi lại việc phiên bản cũ có hành xử đúng không và phiên bản mới có hiện lỗi không, và ghi chú bất kỳ điểm nào không khớp.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

  1. Read the standard and file contract. Verify the package; read setup and security guidance. Stop execution if prerequisites fail.
  2. 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.
  3. Check real interface reachability using only the claimed user's/attacker's access. Save setup, versions, commands, observations and separate logs.
  4. 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: complete or blocked, matching the record.
  • Record: sealed replay.json path, 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.
Câu hỏi thường gặp

Vì sao phải dùng agent riêng cho việc này?

Một lượt kiểm tra mới làm giảm khả năng thiết lập của tác giả ban đầu che giấu một sai sót.

Nó có sửa test nếu test không chạy không?

Không. Thay đổi test được trả lại cho người đã viết, và phải được kiểm tra lại.

Nó có cần cùng máy với test gốc không?

Không. Nó build và chạy lại mọi thứ trong thư mục riêng.

Chi tiết

Mô tả gốc của tác giả

Use when independently verifying a supplied PoC against fresh live before/after deployments.

repo: trailofbits/skills

Độ phổ biến

Sao GitHub
8.0k
Vị trí xếp hạng
#12699
Giấy phép
CC-BY-SA-4.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự