---
title: "security_assessment"
description: "Identify and assess security vulnerabilities with risk scoring and mitigation recommendations."
canonical: "https://acs.synapti.ai/workflows/security-assessment/"
last_updated: "2026-11-16T03:28:14Z"
---

# Identify and assess security vulnerabilities with risk scoring and mitigation recommendations.

Generated from [schemas/workflow_catalog.yaml](https://github.com/synaptiai/agent-capability-standard/blob/main/schemas/workflow_catalog.yaml) at commit 18c38b74ac21.

- Workflow id: `security_assessment`
- Risk: low
- Catalog: reference workflows
- Declares Standard 1.1.0
- Steps: 7

Security assessment workflow inspired by OASF Category 8 (Security & Privacy).
Scans for known vulnerability patterns, detects potential security issues,
assesses severity, identifies root causes, evaluates mitigation options,
generates a security report, and records assessment findings for audit.

**Figure: Steps of security_assessment: 7 steps.** Read top to bottom: no step changes state; step 1 says what to do on failure; and the highest step risk is low, at steps 1, 2, 3, 4, 5, 6 and 7.

| # | Capability | Layer | Role | Gates | On failure | Reads from | Risk |
| --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | `search` | PERCEIVE |  |  | request_more_context |  | low |
| 2 | `detect` | UNDERSTAND |  |  |  | 1 | low |
| 3 | `measure` | UNDERSTAND |  |  |  | 2 | low |
| 4 | `attribute` | MODEL |  |  |  | 1, 2 | low |
| 5 | `critique` | REASON |  |  |  | 4 | low |
| 6 | `generate` | SYNTHESIZE |  |  |  | 5 | low |
| 7 | `audit` | VERIFY |  |  |  | 3, 6 | low |

## Inputs

**Figure: Inputs of security_assessment.** 1 input, 1 required (filled pin) and 0 optional (outlined pin), with 3 named fields inside them.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `assessment_target` | object | Yes | The system, codebase, or artifact to assess for security vulnerabilities |
| `assessment_target.target_type` | string | No |  |
| `assessment_target.scope` | string | No |  |
| `assessment_target.constraints` | object | No |  |

## Steps

1. [`search`](https://acs.synapti.ai/capabilities/search/index.md): Scan for known vulnerability patterns and CVEs. Stores `search_out`. (risk low)
2. [`detect`](https://acs.synapti.ai/capabilities/detect/index.md): Find potential security issues in the target. Stores `detect_out`. (risk low)
3. [`measure`](https://acs.synapti.ai/capabilities/measure/index.md): Assess severity and risk level of detected vulnerabilities. Stores `measure_out`. (risk low)
4. [`attribute`](https://acs.synapti.ai/capabilities/attribute/index.md): Identify root causes and attack vectors for vulnerabilities. Stores `attribute_out`. (risk low)
5. [`critique`](https://acs.synapti.ai/capabilities/critique/index.md): Evaluate mitigation options and their trade-offs. Stores `critique_out`. (risk low)
6. [`generate`](https://acs.synapti.ai/capabilities/generate/index.md): Produce comprehensive security assessment report. Stores `generate_out`. (risk low)
7. [`audit`](https://acs.synapti.ai/capabilities/audit/index.md): Record assessment findings and recommendations for compliance. Stores `audit_out`. (risk low)

## Data flow

**Figure: Which step reads which stored output.** 6 steps read the output of earlier steps, 8 reads in all; step 4 (attribute) reads the most, from 2 steps.

- Step 2 reads from step 1.
- Step 3 reads from step 2.
- Step 4 reads from steps 1 and 2.
- Step 5 reads from step 4.
- Step 6 reads from step 5.
- Step 7 reads from steps 3 and 6.

## Risk

Declared, computed and highest step risk are all low; the highest-risk step is step 1 (search), with 6 others at the same level. The step map above gives each step's risk.

## Success criteria

- Vulnerability scan completed
- Severity assessed with risk scores
- Root causes identified
- Mitigation recommendations produced
- Assessment findings recorded

## Validate it

```sh
python tools/validate_workflows.py --catalog schemas/workflow_catalog.yaml
```

## Workflow YAML

```yaml
security_assessment:
  goal: Identify and assess security vulnerabilities with risk scoring and mitigation recommendations.
  # Risk: low — all steps are read-only analysis (search, detect, measure,
  # attribute, critique, generate, audit); no mutations or external tool invocations.
  risk: low
  description: |
    Security assessment workflow inspired by OASF Category 8 (Security & Privacy).
    Scans for known vulnerability patterns, detects potential security issues,
    assesses severity, identifies root causes, evaluates mitigation options,
    generates a security report, and records assessment findings for audit.
  success:
  - Vulnerability scan completed
  - Severity assessed with risk scores
  - Root causes identified
  - Mitigation recommendations produced
  - Assessment findings recorded
  steps:
  - capability: search
    purpose: Scan for known vulnerability patterns and CVEs.
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry:
      max: 2
      backoff: exponential
    store_as: search_out
    input_bindings:
      query: ${assessment_target}
    failure_modes:
    - condition: Unable to access vulnerability databases
      on_error: [R401, R402]
      action: request_more_context
      recovery: The run ends with the search error; rerun with pattern-based detection, without CVE lookup.
  - capability: detect
    purpose: Find potential security issues in the target.
    domain: vulnerability
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry: null
    store_as: detect_out
    input_bindings:
      data: "${search_out.results: array<object>}"
      pattern: vulnerability
  - capability: measure
    purpose: Assess severity and risk level of detected vulnerabilities.
    domain: severity
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry: null
    store_as: measure_out
    input_bindings:
      target: "${detect_out.matches: array<object>}"
      metric: severity
    failure_modes: []
  - capability: attribute
    purpose: Identify root causes and attack vectors for vulnerabilities.
    domain: causation
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry: null
    store_as: attribute_out
    input_bindings:
      effect: "${detect_out.matches: array<object>}"
      context: "${search_out: object}"
    failure_modes: []
  - capability: critique
    purpose: Evaluate mitigation options and their trade-offs.
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry: null
    store_as: critique_out
    input_bindings:
      target: "${attribute_out.causes: array<object>}"
      criteria:
      - mitigation_effectiveness
      - implementation_cost
      - operational_impact
    failure_modes: []
  - capability: generate
    purpose: Produce comprehensive security assessment report.
    domain: report
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry: null
    store_as: generate_out
    input_bindings:
      specification: "${critique_out.suggestions: array<object>}"
    failure_modes: []
  - capability: audit
    purpose: Record assessment findings and recommendations for compliance.
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry: null
    store_as: audit_out
    input_bindings:
      event:
        type: security_assessment
        target: ${assessment_target}
        severity: ${measure_out.value}
        report: "${generate_out.content: object}"
    failure_modes: []
  risk_propagation:
    strategy: max_step_risk
    computed_risk: low
  data_flow:
    pattern: step_outputs_are_addressable
    rule: Each step output is stored under store_as and may be referenced by later steps.
  inputs:
    assessment_target:
      type: object
      required: true
      description: The system, codebase, or artifact to assess for security vulnerabilities
      properties:
        target_type:
          type: string
        scope:
          type: string
        constraints:
          type: object
```
