plugins/codex-sdlc/skills/flow-security-review-cycle/SKILL.md
Orchestrate continuous security validation, threat modeling, vulnerability management, and security gate enforcement across SDLC phases
npx skillsauth add jmagly/aiwg flow-security-review-cycleInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a Security Review Coordinator orchestrating continuous security validation, threat modeling, vulnerability scanning, security testing, security control verification, and security gate enforcement throughout the software development lifecycle.
This is an orchestration command that coordinates multiple specialized agents to conduct comprehensive security review cycles. You delegate specific security activities to domain experts while maintaining overall workflow coordination.
Natural Language Triggers:
When invoked with /flow-security-review-cycle [project-directory] [--iteration N]:
Maintain continuous security assurance throughout development, identify and remediate vulnerabilities before production deployment, and ensure the system meets security requirements and compliance obligations.
Shift-Left Security:
Defense in Depth:
Zero Trust:
Delegate to: /security-architect
Identify security threats using STRIDE methodology and design security controls.
Threat Modeling Coverage:
STRIDE Categories to Assess:
Agent Assignment:
Task: /security-architect
Conduct threat modeling session using STRIDE methodology.
- Review architecture at .aiwg/architecture/
- Analyze data flows and trust boundaries
- Identify assets and attack surfaces
- Enumerate threats per component
- Rate threats by likelihood and impact
- Design security controls and mitigations
- Output: .aiwg/security/threat-model-{iteration}.md
Delegate to: /security-auditor and /penetration-tester
Run automated security scans and coordinate manual penetration testing.
Security Testing Types:
Agent Assignments:
Task: /security-auditor
Execute automated security testing suite:
- Run SAST analysis on source code
- Perform dependency vulnerability scanning
- Scan for hardcoded secrets
- Check container images for vulnerabilities
- Generate vulnerability report
- Output: .aiwg/security/security-testing-report-{date}.md
Task: /penetration-tester (if applicable)
Conduct manual penetration testing:
- Test authentication bypass scenarios
- Validate authorization controls
- Check for injection vulnerabilities
- Test business logic flaws
- Attempt privilege escalation
- Output: .aiwg/security/penetration-test-report-{date}.md
Delegate to: /security-architect with /security-auditor
Assess vulnerabilities using CVSS scores and prioritize remediation.
CVSS Scoring Ranges:
Agent Assignment:
Task: /security-auditor
Triage discovered vulnerabilities:
- Calculate CVSS scores for each finding
- Assess exploitability and attack vectors
- Determine remediation priority (P0-P3)
- Assign owners and due dates
- Document accepted risks with justification
- Output: .aiwg/security/vulnerability-triage-{date}.md
Delegate to: /security-architect and /security-gatekeeper
Ensure security controls are implemented correctly and effectively.
Security Controls to Validate:
Agent Assignment:
Task: /security-architect
Validate implementation of security controls:
- Test authentication flows and session management
- Verify authorization at all access points
- Confirm encryption in transit and at rest
- Validate input sanitization and output encoding
- Check security logging completeness
- Test security headers configuration
- Output: .aiwg/security/controls-validation-{date}.md
Delegate to: /security-gatekeeper
Validate security gate criteria and determine deployment readiness.
Critical Gate Criteria:
Agent Assignment:
Task: /security-gatekeeper
Enforce security gate criteria:
- Review vulnerability status from triage report
- Validate security controls implementation
- Check compliance with security policies
- Assess overall security posture
- Make gate decision (PASS/CONDITIONAL/FAIL)
- Document blockers if any
- Output: .aiwg/gates/security-gate-{date}.md
Delegate to: /security-gatekeeper
Formal approval from Security Gatekeeper for deployment readiness.
Agent Assignment:
Task: /security-gatekeeper
Provide deployment security signoff:
- Review all security artifacts
- Confirm gate criteria met
- Assess residual risk level
- Document conditions if any
- Provide formal approval or rejection
- Output: .aiwg/security/security-signoff-{date}.md
Coordinate: Aggregate results from all security activities.
Create comprehensive security status report for stakeholders by synthesizing outputs from all delegated tasks.
Report Components:
If GDPR or data privacy requirements apply:
Additional Agent:
Task: /privacy-officer
Review data privacy compliance:
- Validate data classification
- Check PII handling and encryption
- Verify consent mechanisms
- Review data retention policies
- Assess cross-border transfers
- Output: .aiwg/security/privacy-assessment-{date}.md
This orchestration succeeds when:
Critical Vulnerabilities Found:
Hardcoded Secrets Detected:
Security Control Failure:
Penetration Test Failure:
Track Throughout SDLC:
Phase-Specific Targets:
/agentic/code/frameworks/sdlc-complete/templates/security/threat-model-template.md/agentic/code/frameworks/sdlc-complete/templates/security/security-controls-framework.md/agentic/code/frameworks/sdlc-complete/templates/security/data-classification-template.md/agentic/code/frameworks/sdlc-complete/flows/gate-criteria-by-phase.mddata-ai
Report which research-corpus radar sidecars are overdue for refresh. Computes staleness (days since last refresh vs the cadence window) for every radar, sorted most-overdue-first. Runs via `aiwg corpus radar-status`.
data-ai
Aggregate research-corpus radar sidecars into a corpus or per-cluster freshness report — totals, overdue count, per-cluster / per-GRADE / per-trajectory breakdowns, an overdue table, and per-radar rationale snippets. Runs via `aiwg corpus radar-report`.
testing
Scaffold radar/freshness sidecars for research-corpus REFs. Pulls title/authors from the citation sidecar and GRADE from the analysis doc, defaults the refresh cadence from GRADE and the cluster from a corpus-local map, and stamps documentation/radar/REF-XXX-radar.md. Runs via `aiwg corpus radar-init`.
data-ai
Compute an entity's publication trajectory — per-year paper counts, topic drift, hot-streak detection (≥3 consecutive A-grade years), and career phase. Runs via `aiwg corpus profile-temporal`.