Workflows¶
The security-assessment plugin provides two orchestrator commands that sequence multiple phases and agents. They do not implement, review, or merge anything themselves — they delegate each phase to the appropriate agent or skill, hold human gates where required, and surface findings as structured reports.
/security-assessment¶
File: commands/security-assessment.md
Role: orchestrator.
Use when: running a full security audit against one or more target repos — at a release gate, on a milestone, or before publishing a security report.
Pipeline phases¶
| Phase | Runs | Output artifact |
|---|---|---|
| 0. Recon | codebase-recon agent (from dev-team) |
memory/recon-<slug>.{json,md} |
| 1. Tool-first detection | semgrep, gitleaks, trivy, hadolint, actionlint, custom rulesets | unified findings stream |
| 1b. Judgment | security-review, business-logic-domain-review, deep-code-reasoning, authorization-logic-review, recon-driven-scan agents (opus, all five) |
appended findings |
| 1c. Suppression | ACCEPTED-RISKS.md gate (deterministic) |
filtered stream + audit log |
| 2. False-positive filter | false-positive-reduction skill (six-stage rubric) |
decisions log |
| 2b. Severity floors | deterministic domain-class calibration | floor-adjusted scores |
| 3. Narrative + compliance | tool-finding-narrative-annotator, compliance-mapping skill |
4-domain narrative + compliance JSON |
| 4. Cross-repo | service-comm parser, shared-cred hash match (multi-target only) | Mermaid diagram + SARIF |
| 5. Exec report | exec-report-generator agent |
publication-ready 7-section Markdown |
Zero-install flow: scripts/run-assessment-local.sh runs the same pipeline from the repo checkout without installing the plugin. See the User Guide for the full runbook.
/cross-repo-analysis¶
File: commands/cross-repo-analysis.md
Role: orchestrator.
Use when: analysing shared credentials and service-communication patterns across two or more related repos — microservices suites, platform + tenant repos, monorepo split components.
Steps¶
- Run
codebase-reconon each target in parallel. - Parse inter-service communication shapes (
tools/service-comm-parser.py). - Hash-match credentials across repos (
tools/shared-cred-hash-match.py). - Synthesize named attack chains (
cross-repo-synthesizeragent). - Emit a Mermaid service-comm diagram and a SARIF cross-repo findings file.
/redteam-model¶
File: commands/redteam-model.md
Role: adversarial pipeline.
Use when: probing a self-owned model endpoint for safety and extraction vulnerabilities. Public targets require a signed authorization.md artifact — see knowledge/redteam-authorization.md.
Eight probes (in harness/redteam/probes/) run in sequence:
probe_01_api_recon— documentation paths, HTTP methods, content types, server headers.probe_02_schema_discovery— the model's input feature list.probe_03_feature_sensitivity— sweep each feature across a value range.probe_04_boundary_mapping— binary-search per-feature decision boundaries.probe_05_evasion_attack— adversarial inputs that receive low fraud scores.probe_06_input_validation— malformed-input handling.probe_07_model_extraction— surrogate models trained against captured scores.probe_08_report_generator— compiles probe outputs intoadversarial-report.md.
Standalone commands¶
| Command | Purpose |
|---|---|
/export-pdf |
Convert a Markdown report to PDF via pandoc / weasyprint |
/upgrade |
Update the plugin to the latest marketplace release |
See the Skills catalog for the full list of skills and commands, and the Agents page for the agents each phase invokes.