security-audit
Fungsinya
Skill ini memandu agent AI melalui tinjauan keamanan perangkat lunak, dari pertanyaan cepat hingga audit lengkap. Skill ini ditujukan untuk pengembang dan staf keamanan yang menginginkan temuan yang jelas dan berbasis bukti.
Kapan dipakai
- ✓Saat Anda mengajukan pertanyaan keamanan yang terfokus tentang sepotong kode atau API.
- ✓Saat Anda menginginkan audit keamanan atau uji penetrasi pada basis kode.
- ✓Saat Anda membutuhkan daftar kerentanan yang diprioritaskan dengan perbaikan paling efektif dan paling kecil.
Link skill
https://github.com/cloudflare/security-audit-skill/blob/main/skills/security-audit/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Saya ingin tinjauan keamanan API login saya, dengan bukti yang jelas untuk setiap masalah dan saran perbaikan untuk masing-masing.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent membaca kode sumber terlebih dahulu dan mencari kelemahan yang melintasi batas kepercayaan yang nyata. Untuk audit lengkap, agent bekerja melalui beberapa fase dan dapat menulis laporan.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
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.
researchagent is a delegated agent for focused source exploration and factual verification.generalagent 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
Pertanyaan umum
Apakah setiap pertanyaan keamanan memulai audit lengkap?
Tidak. Skill menyatakan pertanyaan terfokus hanya menggunakan bagian yang relevan, dan audit lengkap dijalankan hanya jika Anda memintanya atau meminta laporan.
Apakah ia akan membuat file di komputer saya?
Hanya dalam mode audit lengkap, di mana ia menulis file laporan. Mode panduan tidak membuat file audit.
Apa yang dihitung sebagai temuan yang terkonfirmasi?
Skill menyatakan kandidat memerlukan pengguna, sumber daya, atau dampak keamanan yang konkret dan terdampak sebelum dihitung sebagai terkonfirmasi.
Detail
Deskripsi asli dari pembuat
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.
Popularitas
- Bintang GitHub
- 57k
- Peringkat
- #3276
- Lisensi
- MIT
- Diperbarui
- 14/9/2026
Komentar
- …
Skill serupa
reverse-engineer-anything
422kMembantu agent Anda memeriksa aplikasi dan paket yang sudah dirilis untuk menjelaskan fitur, membandingkan versi, atau memandu pembangunan ulang dengan alat REA.
1password
394kMembantu agent Anda mengatur CLI 1Password, masuk, serta membaca atau menyisipkan rahasia tanpa menampilkan nilainya di chat.
healthcheck
394kMembantu agent Anda mengaudit komputer atau server OpenClaw dari risiko keamanan seperti SSH, firewall, pembaruan, dan cadangan, lalu menyarankan perbaikan aman.