attack-path-analysis
Use when Codex is already in the attack-path-analysis phase of a security scan or the user explicitly asks to trace a security…
Use when the user asks for a deep, exhaustive, multi-pass, or variance-reducing repository-wide Codex Security scan. Run repeated independent repository-wide discovery passes with worker-specific threat models, semantically merge candidates, synthesize one canonical validation
Claude Code
$ npx -y skills add CoWork-OS/CoWork-OS --skill deep-security-scan --agent claude-code
Codex
$ npx skills add CoWork-OS/CoWork-OS --skill deep-security-scan -a codex -y
Cursor
$ npx skills add CoWork-OS/CoWork-OS --skill deep-security-scan -a cursor -y
Gemini CLI
$ npx skills add CoWork-OS/CoWork-OS --skill deep-security-scan -a gemini-cli -y
GitHub Copilot
$ npx skills add CoWork-OS/CoWork-OS --skill deep-security-scan -a github-copilot -y
OpenCode
$ npx skills add CoWork-OS/CoWork-OS --skill deep-security-scan -a opencode -y
Windsurf
$ npx skills add CoWork-OS/CoWork-OS --skill deep-security-scan -a windsurf -y
name: deep-security-scan description: Use when the user asks for a deep, exhaustive, multi-pass, or variance-reducing repository-wide Codex Security scan. Run repeated independent repository-wide discovery passes with worker-specific threat models, semantically merge candidates, synthesize one canonical validation threat model, then run validation, attack-path analysis, and final reporting once. Repository-wide targets only; do not use for PRs, commits, branch diffs, working-tree diffs, or scoped paths. metadata: short-description: Run a deeper Codex Security scan
Deep Security Scan is a higher-recall repository-wide wrapper around Codex Security. It preserves the ordinary Codex Security phase model and final report shape, but repeats the most variance-sensitive phase, finding discovery, before centralized judgment.
The wrapper owns orchestration only:
1. resolve the full-repository scan target once using Codex Security repository-wide semantics 2. run repeated independent discovery workers, each of which generates its own repository-level threat model before `$codex-security:finding-discovery` 3. semantically merge discovery outputs into one canonical candidate inventory 4. synthesize one canonical validation threat model from the worker threat models after discovery reaches a terminal state 5. run `$codex-security:validation`, `$codex-security:attack-path-analysis`, and final report assembly once
Do not replace Codex Security's established scan rules with custom shortcuts.
Before starting, confirm that the Codex Security plugin skills needed by this workflow are available:
If any required skill is unavailable, stop and say that this Codex Security installation does not include the required scan skills. Do not silently degrade into a different workflow.
This workflow also requires parallel delegated workers for repeated discovery. Treat explicit invocation of Deep Security Scan as the user's request for this fanout workflow. If delegation is unavailable in the current environment, do not claim Deep Security Scan ran; explain the limitation and offer an ordinary Codex Security scan as the fallback path.
When delegated discovery workers are spawned from the current scan thread, inherit the parent worker configuration. Do not override `agent_type`, model, or reasoning effort on a full-history fork; use the host's inherited defaults so the spawn call does not fail before discovery begins.
These invariants are part of the workflow contract. Do not relax, reinterpret, or replace them with coordinator improvisation.
Use when Codex is already in the attack-path-analysis phase of a security scan or the user explicitly asks to trace a security…
Use when Codex is already in the finding-discovery phase of a security scan or the user explicitly asks to discover candidate…
Use when the user explicitly asks to fix and verify a validated or plausible security finding. Do not use as the primary trigger…
Use when the user asks for a security review of a pull request, commit, branch diff, working-tree patch, or other Git-backed…
Use when the user asks for a repository-wide or scoped-path security scan.
Use when Codex is already in the threat-modeling phase of a security scan, the user explicitly invokes $threat-model, or the user…
Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress…
Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…