finding-discovery
Skill này làm gì
Skill này tìm trong mã các điểm yếu bảo mật có thể có và liệt kê chúng thành ứng viên. Skill dành cho đội bảo mật muốn có một danh sách đầu mối ban đầu để kiểm tra sau.
Khi nào nên dùng
- ✓Khi một lần quét bảo mật đang ở giai đoạn khám phá và cần các vấn đề ứng viên.
- ✓Khi bạn muốn tìm lỗ hổng có thể có trong một thay đổi mã.
- ✓Khi bạn muốn danh sách các điểm yếu nghi ngờ trong một kho mã, kèm bằng chứng cho từng cái.
Liên kết skill
https://github.com/openai/codex-security/blob/main/plugins/codex-security/skills/finding-discovery/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tìm trong các thay đổi của nhánh này những điểm yếu bảo mật có thể có, và liệt kê từng ứng viên kèm bằng chứng.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI rà soát nguồn đã được ủy quyền và từng tệp đã thay đổi theo mô hình mối đe dọa và hướng dẫn bảo mật của dự án. AI ghi lại từng ứng viên kèm bằng chứng nhưng không quyết định mức độ nghiêm trọng cuối cùng.
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.
Security Finding Discovery
Identify technically plausible security vulnerabilities in the authorized source, using the threat model and applicable security policy. Discovery preserves evidence for later validation; it does not decide final severity.
Read ../../references/artifact-storage.md before saving output and ../../references/security-guidance.md before source review. Resolve applicable policy for each reviewed path, including delegated assignments. Honor explicit input and output paths; ask for an explicitly required input only when its absence prevents the requested analysis.
Select the Workflow
Standard and Deep workers use their coordinator's self-contained prompts rather than this phase skill.
- Running compact diff: read the supplied inventory through
list_codex_security_review_items, review every assigned changed file, and record all candidates once withrecord_codex_security_discovery_candidates. Do not create ranked worklists, per-finding ledgers, receipts, or discovery reports. - Standalone diff without a compact inventory: use
../security-scan/references/scan-artifacts-and-ledger.mdfor the changed-file worklist and retained phase artifacts. - Standalone repository discovery: apply the evidence criteria below to the authorized source and return the candidates and coverage limitations. Do not start a scan or run the diff worklist pipeline.
For a diff, inspect the actual changed behavior, including deleted files at the baseline revision. Follow supporting code far enough to understand the affected boundary; expand to sibling callers when a changed shared control affects them. Do not broaden into an unrelated repository audit.
Evidence Criteria
- Trace attacker-controlled input or a privileged operation through the closest relevant control to the sink and security impact. Explain why the control is absent, bypassable, or applied to the wrong value or boundary.
- Check runtime reachability and deployment assumptions. Record effective guards and containment as counterevidence; a safe sibling implementation does not establish that the candidate path is safe.
- Preserve the root-control location as well as entrypoints, wrappers, concrete implementations, and sinks needed to understand the claim. When the claim covers several implementations, inspect those implementations rather than asserting that all are affected.
- Keep independently reachable vulnerable instances addressable. Merge duplicate observations of the same source/control/sink/impact instead of splitting cosmetic variants; retain all affected locations and original candidate IDs when merging.
- Follow explicit user or advisory seeds to their exact source and control. Record the evidence that supports, disproves, or leaves the seed unresolved; a nearby issue in the same family does not close it. Use only authorized source material and do not fetch advisory links without permission.
- Distinguish concrete security impact from maintainability or robustness concerns. A crash, dangerous API, optional feature, or missing check is a lead, not a finding by itself. Carry plausible candidates with explicit proof gaps to validation rather than inventing evidence or discarding them for lack of a runnable reproduction.
Divide independent review assignments among available workers when useful, with the target, scope, relevant policy/model, and required result fields. The parent reviews unassigned work and reconciles duplicates. Do not repeat validation or attack-path phases inside discovery.
Candidate Output
For each candidate, retain:
- Stable candidate ID and title; preserve supplied seed or ledger IDs and advisory references.
- Affected file/line locations, labeling
entrypoint/wrapper,root_control,sink, andconcrete_implementationwhere useful. - Attacker-controlled source, closest control, sink or broken control, plausible impact, and the source evidence connecting them.
- Counterevidence, deployment preconditions, unresolved questions, and what validation needs to establish.
- CWE IDs when known, otherwise an empty list.
- For repository or scoped-path instances, an instance key
<family>:<file>:<line>when required by the caller. - For diff findings,
relevant_linesonly where relevant buggy behavior overlaps the diff.
Use the caller's structured candidate contract. For a legacy diff, save the discovery report and discovery receipts at the paths in ../../references/scan-artifacts.md; subsequent
Câu hỏi thường gặp
Giai đoạn khám phá có quyết định vấn đề nào là thật không?
Không. Khám phá chỉ thu thập ứng viên kèm bằng chứng, còn xác thực sau đó quyết định mức độ nghiêm trọng.
Skill tuân theo hướng dẫn nào?
Skill áp dụng chính sách bảo mật của dự án cho từng đường dẫn được rà soát, kể cả các hướng dẫn lồng nhau.
Skill có bao phủ toàn bộ kho mã không?
Skill bao phủ nguồn được giao cho nó và báo cáo mọi giới hạn phạm vi, để khoảng trống luôn hiển thị.
Chi tiết
Mô tả gốc của tác giả
Use when Codex is already in the finding-discovery phase of a security scan or the user explicitly asks to discover candidate security findings in a repository or code change. Do not use as the primary trigger for full PR, commit, branch, patch, or repository scans.
repo: openai/codex-security
Độ phổ biến
- Sao GitHub
- 11k
- Vị trí xếp hạng
- #11751
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
assess-patch-risk
11kGiúp agent của bạn đánh giá rủi ro của một bản vá mã trước khi hợp nhất: phạm vi ảnh hưởng, bài kiểm thử bao phủ và khả năng hoàn tác.
attack-path-analysis
11kGiúp agent của bạn truy vết một phát hiện bảo mật từ điểm vào đến mục tiêu, rồi đánh giá tác động thật và xem có nên báo cáo hay không.
cloud-findings
11kCho phép agent của bạn đọc các phát hiện, báo cáo và trạng thái quét bảo mật đã có trong Codex Security Cloud, mà không thay đổi bất cứ thứ gì.
deep-security-scan
11kGiúp agent của bạn chạy quét bảo mật sâu, nhiều lượt trên kho mã hoặc thư mục bằng cách lặp lại các kiểm tra độc lập và gộp các phát hiện đã xác thực.
Skill tương tự
reverse-engineer-anything
422kGiúp agent của bạn xem bên trong các app và package đã phát hành để giải thích tính năng, so sánh phiên bản hoặc hướng dẫn dựng lại bằng công cụ REA.
1password
394kGiúp agent của bạn cài đặt CLI của 1Password, đăng nhập, và đọc hoặc đưa thông tin bí mật vào mà không in giá trị ra cuộc trò chuyện.
healthcheck
394kGiúp agent của bạn rà soát bảo mật máy tính hoặc máy chủ đang chạy OpenClaw, như SSH, tường lửa, cập nhật và sao lưu, rồi đề xuất cách sửa an toàn.