/rosetta-light:security-flowfrom rosetta-light
Runs an authorized, evidence-preserving security review workflow with mandatory subagents for readiness, authorization, scanning, and remediation preparation. Produces sanitized findings and task inputs for downstream coding flows.
Ships in rosetta-light. Installing the plugin adds it to Claude Code.
<security_flow>
<description_and_purpose>
Run task-adaptive security review through mandatory canonical subagents. End with sanitized findings and concise inputs for later user-invoked coding flows.
</description_and_purpose>
<workflow_phases>
load-project-context (required: all), orchestration (medium+), hitl (all, unless No HITL or Fully Autonomous).hitl skill.agents/TEMP/<FEATURE>/security-flow-state.md file; every phase updates it before the next starts.<subagent_policy required="true" inline_execution="prohibited">
subagent-directives.executor is never a gateway for full agents.</subagent_policy>
- Purpose: Inventories limited target/tool metadata and runs a filename-only secret gate before any model ingests target content. Determines whether to continue, request approval for DEV/QA envs, or stop for high risk. - Input: request; target/environment metadata only. - Output: readiness result with limited inventories and gate state. - INVOKE SUBAGENT `executor` to APPLY PHASE `security-flow-readiness.md` + inventory limited metadata/tools, run the filename-only secret gate, and return its gate state. - Expect: limited target/tool inventory; `PASS|NEEDS-HITL|STOP-HIGH-RISK|STOP-SCANNER-UNUSABLE`. - Control: advance only on PASS or approved DEV/QA envs; high-risk and scanner-unusable stops are non-overridable. - Purpose: Recommends an enterprise-safe run contract from readiness evidence and task intent. Identifies every material decision requiring user approval before security work begins. - Input: readiness result; task intent; known policy. - Output: recommended run contract and approval record. - INVOKE SUBAGENT `engineer` to APPLY PHASE `security-flow-authorize.md` + recommend scope, environment, exclusions, activities, tool/data-flow decisions, bounds, and stop conditions. - Expect: a complete run contract with every activity marked local read-only, separately gated, or prohibited, plus the material decisions awaiting user approval. - Control: obtain explicit approval/amendment via `hitl`; unresolved material decisions block.<deterministic_gates phase="3" applies="development/change/PR/pipeline" subagent="executor" role="Bounded deterministic security-gate operator" subagent_required_model="claude-haiku-5-5" must-be-subagent>
executor to APPLY PHASE security-flow-deterministic-gates.md + run approved deterministic gates and return unchanged findings with HIGH+|CLEAN|ERROR.HIGH+|CLEAN|ERROR.<model_and_select phase="4" applies="ALL" subagent="architect" role="Security architect mapping threats to complete contextual coverage" subagent_required_model="claude-opus-5-5" must-be-subagent>
architect to APPLY PHASE security-flow-model-and-select.md + build the threat model, map applicable areas/tools/exclusions, and return the complete authorized coverage plan.<inspect_and_test phase="5" applies="ALL" subagent="engineer" role="Security engineer producing bounded evidence by applicable area" subagent_required_model="claude-sonnet-5-5" must-be-subagent>
engineer to APPLY PHASE security-flow-inspect-and-test.md + inspect one assigned area bundle, run approved tools directly, and return evidence, findings, limitations, and anomalies.<normalize_and_triage phase="6" applies="ALL" subagent="executor" role="Lossless finding converter" subagent_required_model="claude-haiku-5-5" required_followup_subagent="engineer" must-be-subagent>
executor to APPLY PHASE security-flow-normalize-and-triage.md STEP 6.1 + mechanically normalize source records and reconcile counts without inference.engineer to APPLY PHASE security-flow-normalize-and-triage.md STEP 6.2 + correlate, verify, disposition, and prioritize the normalized findings.<independent_review phase="7" applies="ALL" subagent="reviewer" role="Independent security evidence and coverage reviewer" subagent_required_model="claude-sonnet-5-5" must-be-subagent>
reviewer to APPLY PHASE security-flow-independent-review.md + independently audit coverage, evidence, safety, and conclusions; return acceptance or required corrections.<report_and_package phase="8" applies="ALL" subagent="engineer" role="Security reporter and remediation-input designer" subagent_required_model="claude-sonnet-5-5" type="HITL" must-be-subagent>
engineer to APPLY PHASE security-flow-report-and-package.md STEP 8.1 + build sanitized report/run/findings and the proposed fix-similarity INDEX.hitl.engineer to APPLY PHASE security-flow-report-and-package.md STEP 8.3 + apply the approved INDEX and emit concise task-input files only.coding-flow.
</report_and_package></workflow_phases>
<global_gates>
</global_gates>
<failure_handling>
</failure_handling>
Complete only when required phases pass, sanitized outputs are returned or stored as approved, the task INDEX is approved/amended, and no downstream coding flow was started.
</security_flow>
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
70 commands in this plugin
npx claudepluginhub griddynamics/rosetta --plugin rosetta-light2 plugins in one repository ship this exact command · first indexed Oct 14, 2026
Other plugins' commands for the same job