Chuyển đến nội dung
Skillpedia
Viết lách5.5k · #14794

report-writing

Skill này làm gì

Skill này dạy agent cách viết báo cáo lỗi để người xử lý báo cáo hiểu và hành động được. Báo cáo nêu tác động trước, dùng ngôn ngữ đơn giản, và chỉ mô tả những tác động đã được chứng minh.

Khi nào nên dùng

  • ✓Khi nhà nghiên cứu đã xác nhận một lỗi và cần báo cáo cho một nền tảng bug bounty.
  • ✓Khi nhà nghiên cứu cần một điểm mức độ nghiêm trọng viết bằng CVSS 3.1 cho một phát hiện.
  • ✓Khi nhà nghiên cứu muốn kiểm tra trước khi gửi báo cáo lỗi.

Liên kết skill

https://github.com/awarexone/Agentic-Bug-Hunter/blob/main/skills/report-writing/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/awarexone/Agentic-Bug-Hunter/blob/main/skills/report-writing/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

“Viết báo cáo bug bounty cho IDOR này mà tôi đã xác nhận bằng hai tài khoản thử nghiệm, sẵn sàng gửi lên HackerOne.”

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

Cách hoạt động

Agent viết tiêu đề, tác động và các bước tái hiện bằng ngôn ngữ đơn giản, thêm điểm mức độ nghiêm trọng, rồi lưu bản nháp và ghi chú vào thư mục phát hiện. Agent tránh các khẳng định chưa được chứng minh.

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.

REPORT WRITING

Impact-first. Human tone. No theoretical language. Triagers are people.


THE MOST IMPORTANT RULE

Never use "could potentially" or "could be used to" or "may allow". Either it does the thing or it doesn't. If you haven't proved it, don't claim it.

BAD:  "This vulnerability could potentially allow an attacker to access user data."
GOOD: "An attacker can access any user's order history by changing the user_id
       parameter to the target user's ID. I confirmed this using two test accounts:
       attacker@test.com (ID 123) successfully retrieved victim@test.com (ID 456)
       orders, including their shipping address and payment method last 4 digits."

PERSISTENCE RULE

Every report-writing session must leave a complete finding folder on disk. Save the report draft, pre-submit checklist, references, downgrade counters, and final submission note under findings/<target-or-program>-<bug-class>/. Never rely on terminal or tmux scrollback for content the hunter needs later.

Minimum files:

findings/<target-or-program>-<bug-class>/
├── hackerone-report.md       # or bugcrowd-report.md / intigriti-report.md / immunefi-report.md
├── submission-notes.md       # final checklist, references, caveats, next action
└── evidence/                 # screenshots, curl output, response bodies when available

If bughunter/tools/validate.py already wrote submission-notes.md, append/update it instead of creating a duplicate.


TITLE FORMULA

[Bug Class] in [Exact Endpoint/Feature] allows [attacker role] to [impact] [victim scope]

Good titles (specific, impact-first):

IDOR in /api/v2/invoices/{id} allows authenticated user to read any customer's invoice data
Missing auth on POST /api/admin/users allows unauthenticated attacker to create admin accounts
Stored XSS in profile bio field executes in admin panel — allows privilege escalation
SSRF via image import URL parameter reaches AWS EC2 metadata service
Race condition in coupon redemption allows same code to be used unlimited times

Bad titles (vague, useless to triager):

IDOR vulnerability found
Broken access control
XSS in user input
Security issue in API
Unauthorized access to user data

HACKERONE REPORT TEMPLATE

## Summary

[One paragraph: what the bug is, where it is, what an attacker can do. Be specific.
Include: endpoint, method, parameter, data exposed, required access level.]

Example: "The `/api/users/{user_id}/orders` endpoint does not verify that the
authenticated user owns the requested user_id. An attacker can enumerate any
user's order history, including PII (email, address, phone) and purchase history,
by incrementing the user_id parameter. No privileges beyond a standard free
account are required."

## Vulnerability Details

**Vulnerability Type:** IDOR / Broken Object Level Authorization
**CVSS 3.1 Score:** 6.5 (Medium) — AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
**Affected Endpoint:** GET /api/users/{user_id}/orders

## Steps to Reproduce

**Environment:**
- Attacker account: attacker@test.com, user_id = 123
- Victim account: victim@test.com, user_id = 456
- Target: https://target.com

**Steps:**

1. Log in as attacker@test.com, obtain Bearer token

2. Send the following request:

GET /api/users/456/orders HTTP/1.1 Host: target.com Authorization: Bearer ATTACKER_TOKEN_HERE


3. Observe response:

```json
{
  "orders": [
    {"id": 789, "items": [...], "email": "victim@test.com", "address": "123 Main St..."}
  ]
}

The response contains victim's full order history and PII despite being requested by a different user.

Impact

An authenticated attacker can enumerate all user orders by iterating user_id values. This exposes: full name, email, shipping address, purchase history, and payment method (last 4). With ~100K users, this represents a mass PII breach affecting all registered users. Exploitation requires only a free account and takes minutes with a simple loop.

Recommended Fix

Add server-side ownership verification:

if order.user_id != current_user.id:
    raise Forbidden()

Supporting Materials

[Screenshot showing attacker's session returning victim's order data] [Video walkthrough if available]


---

## BUGCROWD REPORT TEMPLATE

```markdown
# [IDOR] User order history accessible without authorization via /api/users/{id}/orders

**VRT Category:** Broken Access Control > IDOR > P2

## Description

[Same impact-
Câu hỏi thường gặp

Vì sao tránh cụm từ có thể là?

Skill nói báo cáo phải chứng minh tác động, vì một khẳng định lý thuyết không phải là lỗi có thể báo cáo.

Các tệp được lưu ở đâu?

Skill nói lưu bản nháp báo cáo, danh sách kiểm tra và bằng chứng vào một thư mục phát hiện.

Những nền tảng nào được bao phủ?

Skill nêu HackerOne, Bugcrowd, Intigriti và Immunefi.

Chi tiết

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

Bug bounty report writing for H1/Bugcrowd/Intigriti/Immunefi — report templates, human tone guidelines, impact-first writing, CVSS 3.1 scoring, title formula, impact statement formula, severity decision guide, downgrade counters, pre-submit checklist. Use after validating a finding and before submitting. Never use "could potentially" — prove it or don't report.

repo: awarexone/Agentic-Bug-Hunter

Độ phổ biến

Sao GitHub
5.5k
Vị trí xếp hạng
#14794
Giấy phép
MIT
Cập nhật
28/10/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ự