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

reproduce-regression

Skill này làm gì

Skill này nhờ agent triển khai phiên bản trước và sau của một chương trình, rồi chạy một test đi tới lỗi qua một đường dẫn người dùng thật. Dành cho nhà nghiên cứu bảo mật cần bằng chứng trực tiếp về một hồi quy bị nghi ngờ.

Khi nào nên dùng

  • ✓Khi bạn có một lỗi bị nghi ngờ và muốn chứng minh trên các phiên bản phần mềm đang chạy.
  • ✓Khi bạn cần cho thấy 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 muốn một bản ghi bằng văn bản về thiết lập, lệnh và kết quả cho một báo cáo lỗi.

Liên kết skill

https://github.com/trailofbits/skills/blob/main/plugins/regression-hunt/skills/reproduce-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/reproduce-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 muốn thiết lập phiên bản cũ và mới của ứng dụng và kiểm tra xem lỗi bị nghi ngờ có thật sự xảy ra ở bản mới không.”

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

Cách hoạt động

Agent build từng phiên bản trong thư mục riêng, chạy các dịch vụ cần thiết, và gửi cùng một đầu vào đến cả hai. Nó lưu chi tiết thiết lập, lệnh và log, và ghi chú mọi kiểm tra có thể đã báo động giả.

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.

Reproduce a candidate

When to Use

Input: sealed preparation/discovery packages, candidate and registry assignment. Follow project guidance before target work.

When NOT to Use

Independent verification of an existing PoC; use replay.

Reproduce

  1. Read the standard and file contract. Verify inputs; read security guidance. Stop execution if prerequisites fail.
  2. Build and run actual S0/S1 with required services. Trace the candidate to a real user/attacker entry point. Build/install CLIs and libraries; exercise supported interfaces. For build findings, execute the supported build workflow.
  3. Create and execute a portable PoC against both live deployments with identical input and comparable configuration. Record whether S0 behaves correctly and S1 exhibits the claimed failure. No mocks, extracted functions or simulated systems.
  4. Save setup, tool/dependency versions, sanitized configuration, input, PoC, revisions, commands and separate logs. Record observations and false-positive checks in reproduce.json. If blocked, retain attempted setup and exact prerequisites. Build and deploy only inside your attempt directory, and list every build directory in build_dirs.
  5. Release temporary resources without deleting evidence. Record their disposition, then seal the package.

Report Back

Keep detailed evidence in the sealed package. Return only:

  • Status: complete or blocked, matching the record.
  • Record: sealed reproduce.json path, or why none was produced.
  • Result: one sentence describing observed S0/S1 behavior.
  • Blocker: missing prerequisite or required caller action, if blocked.

Completion means the experiment finished, not that the regression is confirmed.

Rationalizations to Reject

  • “The unit test proves it”: synthetic tests cannot establish a regression.
Câu hỏi thường gặp

Agent có dùng bộ phận giả hoặc hệ thống mock không?

Skill nói không. Nó được thiết kế để dùng phần mềm đang chạy thật và các giao diện được hỗ trợ.

Điều gì xảy ra nếu phần mềm không build hoặc không khởi động được?

Skill dừng lại, lưu những gì đã thử và liệt kê các điều kiện tiên quyết còn thiếu.

Kết quả build được lưu ở đâu?

Mỗi lần thử build trong thư mục riêng, nên các bản build không lẫn với các lần thử khác.

Chi tiết

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

Use when deploying before/after systems and building a live-system PoC for a regression candidate.

repo: trailofbits/skills

Độ phổ biến

Sao GitHub
8.0k
Vị trí xếp hạng
#12701
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ự