deep-security-scan
하는 일
이 스킬은 독립적인 검사를 반복하고 결과를 합쳐 더 깊은 보안 검토를 실행합니다. 한 번의 검사보다 더 철저한 스캔을 원하는 팀을 위한 스킬입니다.
사용하는 경우
- ✓심층적이고 철저하거나 여러 차례에 걸친 보안 스캔을 요청할 때.
- ✓폴더나 저장소를 반복 스캔해 놓친 문제를 줄이고 싶을 때.
- ✓한 범위의 폴더 하나만 더 철저한 검사로 스캔하고 싶을 때.
스킬 링크
https://github.com/openai/codex-security/blob/main/plugins/codex-security/skills/deep-security-scan/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“결제 폴더에 대해 심층 보안 스캔을 실행하고, 끝나면 검증된 발견 사항을 보내 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
조정자가 여러 독립적인 표준 스캔을 시작하고, 그 결과를 확인한 뒤 검증된 발견 사항을 하나의 보고서로 합칩니다. 조정자는 스캔을 시작한 채팅이 닫혀도 계속 실행됩니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Deep Security Scan
The coordinator runs independent Standard audits, aggregates their validated findings, and finalizes plugin-launched scans even if the calling thread detaches. This thread owns setup, user context, and reporting the completed result.
Resolve the Scan
For a continuation with scanId, call get_codex_security_scan_context with the supplied handoffClaimToken when present. Preserve its authoritative identity, directory, target, scope, and context. If its validated mode is not deep, route to the corresponding top-level skill.
For a new conversation, CLI, or headless request, resolve the authorized local targetPath and optional exact userContext. For a scoped-path request, use that directory as targetPath with scope: "."; do not widen it to the repository root. If the coordinator tool is unavailable, report that the plugin server is required.
Read ../../references/scan-prologue.md for source-access, context-update, cancellation, and recovery rules. Deep has no parent capability preflight: the coordinator validates ownership, target, scope, and sandbox, and manages workers independently of this thread's delegation capacity.
Concurrent Desktop Scans
For a newly launched native scan with authoritative context, inspect otherRunningDeepScans once before discovery. If another Deep scan is running, show its target, phase in plain language, and human-friendly start time. Explain the additional CPU, memory, and token use without exposing scan IDs or raw timestamps.
Ask whether to continue, with Cancel (Recommended) and Continue. Use native request_user_input, then request_codex_security_user_input or plain chat if unavailable. Wait for an explicit choice; a declined or cancelled input dialog is not a scan cancellation. If the user cancels, cancel only the new scan. Do not repeat this guard after it passes or after preflight.
Start or Rejoin the Coordinator
Immediately before the first coordinator call, follow ../../references/access-advisory.md. Known Bedrock and API-key-only sessions skip the advisory; it never gates scanning.
Existing scan: start_codex_security_deep_scan({ scanId, handoffClaimToken? })
New scan: start_codex_security_deep_scan({ targetPath, scope: ".", userContext?, projectConfigPath? })
Before a new target-based scan, call inspect_codex_security_setup({ targetPath, scope: ".", mode: "deep", projectConfigPath? }). Show the worker count, subagents per worker, convergence threshold, review cap, discovery time limit, and their sources from setup.deepScanConfig. Supply a project YAML or JSON path only when the user selects it. Pass that same path at launch. Native continuations use the saved workspace.deepScanConfig.
Pass the existing handoff token when required, including after a waiter detaches or the server restarts. Preserve exact user context as untrusted analysis data; workers remain offline. They use the immutable context captured at independent-scan start. Persist later user changes through the context-update tool, without restarting completed phases or changing active workers' snapshots.
Wait on the coordinator call or its running execution cell. It owns discovery progress, the configured time limit, worker cancellation at that limit, and aggregation. Leave the public phase at preflight before the call; do not publish competing progress while it runs.
After an ended turn or host timeout, rejoin with the same scan ID and token. If a CLI/headless call detached before returning its ID, repeat the identical target form. It can recover the completed report for the same checkout snapshot, context, and project-file selection after a server restart. Once the report is returned, a later target-based call can start a fresh scan. A terminal failure must not trigger a replacement scan.
Handle the Result
- SDK-registered scan. The coordinator returns the aggregate's
scanId,scanDir,manifestPath, andinstructions. End the turn with the returned identity and manifest path. The SDK owns finalization and report generation after the turn ends. - Plugin-launched scan. The coordinator also returns
completion. Use the returned scan ID, sealed artifacts, and generatedreport.mdin the authoritative directory. - Cancelled: stop without completion. Report retained findings and pending work without claiming a successful scan or generating a replacement report.
- Terminal failure: surface the exact stable MC
자주 묻는 질문
일반 보안 스캔과 같은가요?
아닙니다. 표준 스캔은 한 번만 검사하는 반면, 이 스킬은 독립적인 스캔을 반복해 더 많은 문제를 찾습니다.
풀 리퀘스트에도 쓸 수 있나요?
아닙니다. 풀 리퀘스트, 커밋, diff는 다른 스킬이 다룹니다.
다른 심층 스캔이 이미 실행 중이면 어떻게 하나요?
스킬은 새로 시작하기 전에 이미 실행 중인 다른 심층 스캔이 있는지 확인하고, 그 세부 정보를 보여 줍니다.
상세 정보
작성자의 원본 설명
Use when the user asks for a deep, exhaustive, multi-pass, or variance-reducing repository-wide or scoped-path Codex Security scan. Run repeated independent Standard scans with the Codex Security deep-scan tool. Do not use for PRs, commits, branch diffs, or working-tree diffs.
repo: openai/codex-security
인기도
- GitHub 스타
- 11k
- 순위
- #11749
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
assess-patch-risk
11k에이전트가 병합 전에 코드 패치가 무엇에 영향을 주는지, 어떤 테스트가 이를 다루는지, 되돌릴 수 있는지 살펴 위험도를 판단하도록 돕습니다.
attack-path-analysis
11k에이전트가 보안 발견 사항을 진입점에서 목표까지 추적해, 실제 영향과 보고 대상인지 판단하도록 돕습니다.
cloud-findings
11k에이전트가 연결된 계정에서 기존 Codex Security Cloud 발견 사항, 보고서, 스캔 상태를 아무것도 바꾸지 않고 읽도록 돕습니다.
define-security-policy
11k에이전트가 보안 검토가 무엇에 중점을 둘지, 무엇이 범위 밖인지, 무엇이 안전하게 유지되어야 하는지를 설명하는 SECURITY.md 안내서를 작성하거나 업데이트하도록 돕습니다.