Chuyển đến nội dung
Skillpedia
Bảo mật57k · #3276

security-audit

Skill này làm gì

Skill này hướng dẫn agent AI thực hiện rà soát bảo mật phần mềm, từ các câu hỏi nhanh đến kiểm toán đầy đủ. Skill dành cho lập trình viên và nhân viên bảo mật muốn có các phát hiện rõ ràng, dựa trên bằng chứng.

Khi nào nên dùng

  • ✓Khi bạn đặt một câu hỏi bảo mật cụ thể về một đoạn mã hoặc một API.
  • ✓Khi bạn muốn một đợt kiểm toán bảo mật hoặc kiểm thử xâm nhập cho một codebase.
  • ✓Khi bạn cần danh sách lỗ hổng đã được ưu tiên, kèm các cách sửa nhỏ nhất và hiệu quả nhất.

Liên kết skill

https://github.com/cloudflare/security-audit-skill/blob/main/skills/security-audit/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/cloudflare/security-audit-skill/blob/main/skills/security-audit/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 rà soát bảo mật API đăng nhập của mình, với bằng chứng rõ ràng cho mọi vấn đề và đề xuất sửa cho từng vấn đề.”

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

Cách hoạt động

Agent đọc mã nguồn trước và tìm các điểm yếu vượt qua một ranh giới tin cậy thật sự. Với một đợt kiểm toán đầy đủ, nó đi qua nhiều giai đoạn và có thể viết báo cáo.

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 Audit

Find vulnerabilities that violate a real trust boundary, then give owners the source evidence, safe reproduction, priority, and smallest effective fix. This is a defensive, source-first workflow. A candidate without a concrete affected principal, resource, or security outcome is not a confirmed finding.

Operating modes

This skill is guidance by default. Loading it does not authorize the complete audit workflow or file creation.

  • Guidance mode: For security questions, focused reviews, methodology, triage, or investigation of specific findings, use only the relevant parts of this skill. Do not automatically run all six phases, create an output directory, or write audit artifacts. You may launch focused agents when useful; they return results to the current task.
  • Full audit mode: Use the complete workflow when the user explicitly asks to audit or pen-test a codebase, asks for a full, comprehensive, or end-to-end security review, or requests report artifacts. Run all six phases and write the files defined below.

If the request could mean either mode, ask one focused question before creating files or starting the complete workflow.

Platform terminology

This skill is agent-neutral:

  • Parent is the agent that coordinates the run and owns shared state.
  • Task tool is the platform's delegation or sub-agent mechanism.
  • research agent is a delegated agent for focused source exploration and factual verification.
  • general agent is a delegated agent for broad investigation and bounded local execution.
  • subagent_type: in a heading names which of these two delegated agent roles runs that work.

Use equivalent platform capabilities while preserving role, write-isolation, prompt, and independence boundaries.

Universal execution safety

These rules apply in both operating modes. Source inspection is read-only. Run target-controlled builds, tests, processes, browsers, emulators, fuzzers, and fixture processing only inside an OS-enforced sandbox that provides all of these controls:

  • no external network; use only an isolated loopback namespace when the check needs local client/server traffic;
  • an empty environment populated from an explicit allowlist with safe values, with scratch-local HOME, temporary directories, and caches;
  • a read-only target and toolchain, with the target-controlled process able to write only inside its assigned scratch/ directory; and
  • explicit low CPU, memory, process, file-size, disk, and wall-clock limits.

The agent, outside the target-controlled process, may make a disposable source copy in an assigned scratch/ directory when a build must write beside source. In guidance mode, do not retain target-controlled files. In full audit mode, only trusted parent-side code may promote the minimum non-secret result to retained artifacts/ using the procedure under Write isolation. Never expose a retained output directory (other than the agent's own assigned scratch/), another agent's directory, the host home directory, credentials, sockets, or shared services to target code. Do not install dependencies or let builds fetch them. Use only tools and dependencies already available locally. If every control cannot be enforced, do not execute target code: report the missing sandbox capability as a needs-validation blocker and give a safe validation plan.

Use dummy principals, fixtures, and secrets. Do not probe deployed endpoints, external services, shared infrastructure, production identities, other users' data, or live control planes. Do not test availability against a live or shared process, publish artifacts, alter releases, spend paid API quota, or continue beyond the minimum local effect needed to establish a defect. If the decisive fact is outside source or the sandboxed fixture, report it as needing validation.

Full audit setup

In full audit mode, resolve these values before reconnaissance:

  • Skill directory: the absolute directory containing this SKILL.md.
  • Target: the absolute repository root under review.
  • Repo name: a stable repository identifier from the directory or local Git remote.
  • Output directory: a new writable directory outside the target, defaulting to ~/security-audit-skill/<repo-name>/run-<N>, where <N> is the next unused integer. Use a directory inside the target only when the user explicitly selects it and the parent verifies that version control ignores the whole directory. Otherwi
Câu hỏi thường gặp

Mọi câu hỏi bảo mật có khởi động một đợt kiểm toán đầy đủ không?

Không. Skill cho biết một câu hỏi cụ thể chỉ dùng các phần liên quan, còn kiểm toán đầy đủ chỉ chạy khi bạn yêu cầu hoặc đề nghị báo cáo.

Nó có tạo file trên máy tính của tôi không?

Chỉ trong chế độ kiểm toán đầy đủ, khi nó viết các file báo cáo. Chế độ hướng dẫn không tạo file kiểm toán.

Thế nào là một phát hiện đã được xác nhận?

Skill cho biết một ứng viên cần có người dùng, tài nguyên hoặc hậu quả bảo mật cụ thể bị ảnh hưởng thì mới được coi là đã xác nhận.

Chi tiết

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

Security guidance and vulnerability review for codebases, APIs, services, CLI tools, libraries, and daemons. Use for security questions, focused reviews, vulnerability research, security audits, or pen tests. Run the complete workflow only for explicit codebase audit or pen-test requests, full/comprehensive/end-to-end reviews, or requested report artifacts.

repo: cloudflare/security-audit-skill

Độ phổ biến

Sao GitHub
57k
Vị trí xếp hạng
#3276
Giấy phép
MIT
Cập nhật
14/9/2026

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

0

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

Bình luận

  • …

Skill tương tự