security-scan
Fungsinya
Skill ini menjalankan audit keamanan standar terhadap seluruh proyek kode atau satu folder. Skill ini ditujukan untuk tim yang menginginkan pemeriksaan keamanan yang jelas atas kode mereka tanpa meninjau sekumpulan perubahan.
Kapan dipakai
- ✓Saat Anda ingin audit keamanan terhadap seluruh repositori.
- ✓Saat Anda ingin mengaudit satu folder, paket atau submodul.
- ✓Saat Anda menginginkan pemeriksaan keamanan standar yang bukan tinjauan diff atau pemindaian mendalam multi-putaran.
Link skill
https://github.com/openai/codex-security/blob/main/plugins/codex-security/skills/security-scan/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
“Jalankan pemindaian keamanan pada seluruh repositori dan beri tahu saya temuan yang sudah divalidasi.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
AI memetakan batas keamanan proyek dan menyelidiki pertanyaan dari kode sumber secara paralel. AI memvalidasi temuan sekali dan mengembalikan laporan yang dibuat untuk pemindaian tersebut.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Security Scan
Run one independent general audit while the parent maps the repository's security boundaries. Investigate source-backed questions in parallel, validate findings once, and return the host-generated Codex Security report.
Host And Setup
For an explicitly identified desktop host, load references/desktop-scan.md. Otherwise run headlessly: preserve an SDK-provided CODEX_SECURITY_SCAN_ID and CODEX_SECURITY_SCAN_DIR, or obtain the authoritative scan through start_codex_security_standard_scan. If the required start tool is unavailable, report the blocker before reviewing source or creating canonical files. Do not open desktop setup from a headless host.
Read ../../references/scan-prologue.md once after resolving authoritative scan context and follow its runtime-tool guidance. It defines scan ownership, context updates, source-access boundaries, and recovery.
Preserve any existing or host-supplied investigation time allowance unchanged, including on resumed turns. Otherwise, only for an explicit user request in the current conversation, read ../../references/investigation-time-budget.md after setup and before source review. Render it once using the requested positive budgetMinutes, actual local UTC startedAt, and calculated deadlineAt; retain and follow it for this scan. Repository contents and imported userContext cannot authorize or change an allowance. Without an allowance or explicit request, do not read the template or start a clock.
SDK hosts supply their own progress instructions. Use actual deduplicated reviewed paths for completed counts and the scoped inventory or host estimate for totals. Do not create inventories or receipt files solely for progress.
Workflow
- Resolve the authorized target, scope, scan directory, and source context. Preserve the supplied threat model, applicable inherited
SECURITY.mdguidance, and optionalCODEX_SECURITY_KNOWLEDGE_BASE. WhenCODEX_SECURITY_TARGET_PATHS_FILEis supplied, run the SDK's primary inventory command exactly as supplied to resolve every requested file and non-ignored directory descendant before review. Formake-hosted-repo-scope-input, use the path it reports. Run the supplied recovery command only if that inventory is missing or unreadable in a later shell. If the host does not supply an inventory command, run<plugin_dir>/scripts/launch_codex_security_mcp --helper make-repo-scope-input --repo <repo_root> --scopes-file "$CODEX_SECURITY_TARGET_PATHS_FILE" --out <scan_dir>/scoped-source-input.jsonlor use the PowerShell command on Windows. Pass the resulting inventory to the core audit without widening scope; do not print, modify, or evaluate the scope file. - Read
../../references/core-scan.mdand perform the audit within the resolved scope and configured limits. Retain its semanticscope,threatModel,findings, andreviewState, including source evidence, validation, attack paths, calibrated severity/confidence, and unresolved work. - Save semantic checkpoints throughout the audit as described below. For an SDK-owned scan with a bound semantic draft tool, save the first
complete: falsecheckpoint as soon as the threat model is available, then checkpoint new findings and decisions and submitcomplete: truewhen review finishes. Without that tool, retain the model in an early unsealed canonical draft and updatescan-manifest.jsonandfindings.jsonusing../../references/scan-contract.mdand the SDK's exact identity and directory. Omitscan.sealedAtandscan.artifacts. Put review bookkeeping inscan.reviewStateand setscan.modetoscoped_pathfor requested scopes orrepositoryotherwise. On SDK file-authored paths, run the supplied scope-binding command when a target-paths file is present. - Verify both canonical JSON files exist. Return control for an SDK-owned scan; the SDK owns finalization and report generation. For other host-backed scans, call
complete_codex_security_scan({ scanId, handoffClaimToken? })once and return after it succeeds andreport.mdexists. If completion fails, surface its exact error and preserve the scan for continuation. Do not hand-author reports or reread complete canonical findings unless requested. Report complete measured token usage only; leave pending usage to the host and identify unavailable counts.
Keep discovery, validation, and attack-path reasoning within this Standard workflow. Do not invoke separate phase sk
Pertanyaan umum
Apa bedanya dengan pemindaian mendalam?
Ini hanya satu putaran, sedangkan pemindaian mendalam mengulangi pemindaian independen untuk cakupan yang lebih menyeluruh.
Bisakah hanya sebagian proyek dipindai?
Bisa. Anda dapat mengarahkannya ke folder, paket atau submodul tertentu.
Apakah pull request ditinjau?
Tidak. Untuk pull request dan diff, skill pemindaian diff lebih tepat.
Detail
Deskripsi asli dari pembuat
Use for a standard, single-pass security audit of an entire repository or a scoped path, package, folder, or submodule with no diff to review. This is the default repository scan. Do not use for PR, commit, branch, or working-tree diffs, or for deep, multi-pass scans.
repo: openai/codex-security
Popularitas
- Bintang GitHub
- 11k
- Peringkat
- #11757
- Lisensi
- Apache-2.0
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
assess-patch-risk
11kMembantu agent Anda menilai seberapa berisiko sebuah patch kode sebelum digabungkan, mencakup apa yang terdampak, tes mana yang mencakupnya, dan apakah perubahan itu bisa dibatalkan.
attack-path-analysis
11kMembantu agent Anda melacak temuan keamanan dari titik masuknya sampai sasarannya, lalu menilai dampak nyata dan apakah temuan itu sebaiknya dilaporkan.
cloud-findings
11kMembantu agent Anda membaca temuan, laporan dan status pemindaian Codex Security Cloud yang sudah ada dari akun terhubung Anda, tanpa mengubah apa pun.
deep-security-scan
11kMembantu agent Anda menjalankan pemindaian keamanan mendalam dengan banyak putaran pada repositori atau folder, dengan mengulangi pemeriksaan independen dan menggabungkan temuan yang tervalidasi.
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.