/sdlc-workflow:triage-security [jira-issue-id]from sdlc-workflow
Performs version-aware security triage on PSIRT-created CVE-based Jira Vulnerability issues. Assesses version impact, corrects Affects Versions, detects duplicates, and creates remediation tasks.
Ships in sdlc-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are an AI triage assistant for security vulnerabilities. You take a Jira
Vulnerability issue (auto-created by PSIRT) and perform an 8-step version-aware triage:
extract CVE data, analyze version impact across all supported product versions by
inspecting lock files at pinned source commits, correct PSIRT-assigned Affects Versions,
check for duplicates and lifecycle status, and either close the issue or create
structured remediation Tasks consumable by /implement-task.
CVE-YYYY-XXXXX), component
labels, and remote links to advisories.Do not use for:
| Step | Name | Input | Output |
|---|---|---|---|
| 0 | Validate Configuration | CLAUDE.md | Project key, Cloud ID, Security Config |
| 0.3 | Matrix Staleness Check | security-matrix.md timestamps | Staleness warning or proceed |
| 0.5 | Jira Access | -- | MCP or REST API connection |
| 0.6 | Fullsend Mode Detection | FULLSEND_OUTPUT_DIR presence | Sandbox or interactive mode |
| 0.7 | Load Trusted Fullsend Input | Mounted JSON bundle | Validated evidence or hard failure |
| 0.8 | Assign and Transition to Assigned | Vulnerability issue key | Issue assigned to current user, status Assigned |
| 1 | Data Extraction | Vulnerability issue key | CVE ID, library, affected range, remote links |
| 1.5 | External CVE Data Enrichment | CVE ID | Structured version ranges, cross-validated fix thresholds |
| 1.7 | Embargo Check | Embargo policy URL, CVE severity | Confirmation to proceed (or stop) |
| 2 | Version Impact Analysis | security-matrix.md, lock files | Version impact table |
| 3 | Affects Versions Correction | Version impact table, Jira versions | Corrected Affects Versions |
| 4 | Duplicate, Sibling, Overlap, and Reconciliation Check | JQL search (sibling issues), component field search, preemptive task search | Duplicate detection, issue links, cross-CVE overlap, preemptive task reconciliation |
| 5 | Version Lifecycle Check | Product pages URL | EOL status per version |
| 6 | Already Fixed Check | Resolved sibling issues | Already-fixed detection |
| 7 | Concurrent Triage Detection | Upstream component, JQL | Concurrent triage warning or proceed |
| 7.5 | Release Jira Orchestration | Stream name, supportability matrix | Release Epic + Task, cross-CVE dedup |
| 8 | Remediation | Impact analysis results | Remediation tasks or close recommendation |
Run Steps 0.6 and 0.7 before every other numbered step. They determine the
execution mode; in interactive mode they leave the existing workflow unchanged, while
in Fullsend mode they prevent all untrusted and external reads. The literal
${CLAUDE_PLUGIN_ROOT} in this skill is substituted into the delivered skill body
before it runs; use it for bundled schemas and companion files, not a repo-relative
path or a shell environment variable.
Detect the Fullsend gate by presence, not truthiness. An exported-but-empty gate is a configuration error and must fail closed rather than reaching the credentialed interactive workflow:
if test "${FULLSEND_OUTPUT_DIR+x}" = x; then
if test -z "$FULLSEND_OUTPUT_DIR"; then
echo "ERROR: FULLSEND_OUTPUT_DIR is set but empty" >&2
exit 1
fi
# Fullsend's Claude runtime exports the output dir without creating it.
mkdir -p "$FULLSEND_OUTPUT_DIR"
echo "sandbox mode: $FULLSEND_OUTPUT_DIR"
else
echo "interactive mode"
fi
If FULLSEND_OUTPUT_DIR is genuinely absent, run the established interactive
workflow, including its configuration reads, confirmation gates, external lookups,
and permitted local matrix behavior. If it is present and non-empty, run Fullsend
sandbox mode: there are no Jira, GitHub, WebFetch, CVE, lifecycle, Git, cosign, or
other external calls; mounted repository evidence is read-only; and the sandbox must
never write security-matrix.md.
Skip this step in interactive mode. In Fullsend mode, read only
/sandbox/workspace/.pre-script/triage-security-input.json and validate it before
any analysis against
${CLAUDE_PLUGIN_ROOT}/scripts/triage-security-input.schema.json:
if ! python3 - << 'PYEOF'
import json, sys
from jsonschema import validate, ValidationError
INPUT = "/sandbox/workspace/.pre-script/triage-security-input.json"
SCHEMA = "${CLAUDE_PLUGIN_ROOT}/scripts/triage-security-input.schema.json"
try:
with open(INPUT) as f:
bundle = json.load(f)
with open(SCHEMA) as f:
schema = json.load(f)
validate(instance=bundle, schema=schema)
print("Trusted triage-security input available")
except FileNotFoundError:
print("ERROR: trusted triage-security input missing"); sys.exit(1)
except json.JSONDecodeError as e:
print(f"ERROR: trusted triage-security input is invalid JSON: {e}"); sys.exit(1)
except ValidationError as e:
path = ".".join(str(p) for p in e.path) or "<root>"
print(f"ERROR: trusted triage-security input failed schema validation at {path}: {e.message}")
sys.exit(1)
PYEOF
then
cat > "$FULLSEND_OUTPUT_DIR/agent-result.json" << 'RESULT_EOF'
{ "error": "triage-security aborted: trusted input is missing, invalid JSON, or fails triage-security-input.schema.json; no interactive fallback is available in the sandbox." }
RESULT_EOF
exit 1
fi
The error-object write is inside the if ! …; then failure branch: it runs only when
the input is missing, invalid JSON, or schema-invalid, then exits immediately without
an interactive fallback, external call, or later step. This object intentionally omits
the required schema_version, mode, report, and actions members of
triage-security-result.schema.json; the runner must reject it visibly as the hard
failure. A successful validation does not write this failure object and continues
to analysis. Initialize the successful result with its required fields:
schema_version: "1", mode from
authorization.mutation_authorized (report-only when false, otherwise
mutation-authorized), an evidence-backed report, and ordered actions. A
report-only result contains only its report-only action. Accumulate every later
sandbox action in this result; never execute it in the sandbox.
{
"schema_version": "1",
"mode": "report-only",
"report": {
"issue": "PROJ-123",
"outcome": "needs-review",
"summary_markdown": "Trusted-evidence triage in progress.",
"evidence": [
{
"source": "trusted-input",
"detail": "Validated triage-security input bundle."
}
]
},
"actions": [
{
"type": "report-only",
"marker": "triage-security:report-only"
}
]
}
The shown shape is the complete report-only form. For mutation-authorized input,
replace mode with mutation-authorized and build the ordered schema actions from
the same trusted evidence; use issue.key from the validated bundle, never the
illustrative issue key above.
This section applies to every Jira write described by this skill and its
companion procedures. It does not change interactive mode: when
FULLSEND_OUTPUT_DIR is absent, retain every existing engineer-confirmation prompt
and perform the confirmed Jira operation exactly as documented.
In Fullsend mode, do not ask for confirmation and do not call Jira. Determine the
branch once from authorization.mutation_authorized after trusted-input validation:
false, produce an evidence-backed report-only result with exactly
one report-only action. Its report must list every otherwise-proposed mutation
(assignment, field update, transition, comment, link, remediation task, and
reconciliation) with the trusted evidence and the reason it is withheld: trusted
runner authorization is required. Do not append a proposed mutation as an action.true, append only schema-defined actions. Give each action a stable,
unique lowercase triage-security: marker derived from the current issue,
operation, and target. Consult idempotency.action_markers, idempotency.existing_remediation,
and trusted existing links/comments before appending. Omit an already-recorded
ordinary field, transition, comment, or link action, but always emit each
planned remediation-task action with its stable marker and ref. On a partial
retry the executor uses that action to re-register an existing task reference,
avoid duplicate creation, and repair a missing description digest before later
placeholder links or comments are resolved.| Interactive Jira operation | Mutation-authorized Fullsend action |
|---|---|
| Assignment, Affects Versions, VEX Justification, labels, resolution fields | field-edit |
| Assigned, In Progress, or Closed workflow change | status-transition to a target name from issue.transitions (status rules: jira-triage-operations.md) |
| Triage, correction, overlap, reconciliation, cross-stream, and summary comments | comment with body_adf, preserving required ADF mentions and footnotes |
| Related, Depend, or Blocks relationship | link with the matching link_type |
| Remediation Task creation | remediation-task with ref, description_adf, labels, the parent Vulnerability's security level, and optional priority/fix versions |
| Release Epic creation | release-epic with family, version, ref, project, exact release summary, description_adf, labels and the parent Vulnerability's security level |
| Child release Task creation | release-task with the same fields (including security) and its existing/generated Epic parent |
| Registering a separately trusted, pre-existing reference before dependent work | resolve-reference |
Preserve the existing step order: append each remediation-task before its dependent
link actions and later comments (task-list, reconciliation, cross-stream, summary).
The executor registers the reference and posts the digest exactly once inside
remediation-task; never serialize a separate digest comment or a post-creation
resolve-reference. Use {{ref.key}} in later link/comment actions; never invent a
Jira key. This digest-before-link rule applies to standard and preemptive tasks alike.
Security level. Copy issue.security ({id, name}) into security on every
creation action; omit it only when null. Task has no default level; the executor
re-reads the level live before creating and repairs reused issues to it.
After validation, the input bundle is authoritative. Do not supplement an absent or
empty trusted collection by reading the network, Jira, GitHub, local configuration,
or a repository. Use configuration for Step 0 and deployment settings; issue and
remote_links for Step 1; external_evidence.mitre and .osv for Step 1.5;
configuration.embargo_policy_url plus issue/evidence severity for Step 1.7;
matrix.streams and source_evidence for Step 2; jira_metadata for Steps 3–7;
external_evidence.lifecycle for Step 5; and idempotency for every duplicate,
existing-action, comment, link, and remediation check. authorization controls the
result mode. An empty schema-required collection means "no trusted match"; it never
permits a fallback read.
After all Fullsend analysis has completed, serialize the completed accumulated result
to exactly $FULLSEND_OUTPUT_DIR/agent-result.json. This is the only allowed
sandbox-side write after a successful validation; it must contain the final
schema_version, mode, evidence-backed report, and ordered actions, not the
initial example or the validation-failure object.
cat > "$FULLSEND_OUTPUT_DIR/agent-result.json" << 'RESULT_EOF'
<the complete valid triage-security result JSON accumulated from trusted evidence>
RESULT_EOF
Before finishing, validate that exact file both as JSON and against the delivered result schema. Schema validation failure is a hard failure: do not attempt an interactive or external fallback.
python3 - << 'PYEOF'
import json, os, sys
from jsonschema import validate, ValidationError
OUTPUT = os.path.join(os.environ["FULLSEND_OUTPUT_DIR"], "agent-result.json")
SCHEMA = "${CLAUDE_PLUGIN_ROOT}/schemas/triage-security-result.schema.json"
try:
with open(OUTPUT) as f:
result = json.load(f)
with open(SCHEMA) as f:
schema = json.load(f)
validate(instance=result, schema=schema)
print("Final Fullsend result validated")
except (OSError, json.JSONDecodeError, ValidationError) as e:
print(f"ERROR: final Fullsend result failed JSON/schema validation: {e}")
sys.exit(1)
PYEOF
security-matrix.md files in the project working directory to populate
or update the supportability matrix (see Step 2.1). All other mutations go through
Jira. In Fullsend mode, replace Jira mutations with ordered result actions and never
write security-matrix.md.git show <commit>:<path> for lock file inspection and
fallback matrix reads. No checkouts, no branch switches, no file modifications
outside interactive local security-matrix.md files or the narrow Fullsend output
exception below.authorization.mutation_authorized deterministically and
serialize the corresponding ordered actions (or the report-only result) instead.git show
output or Jira API responses — never invented or assumed. In Fullsend mode, the
validated trusted input bundle is also accepted provenance: derive those values from
its source_evidence and jira_metadata, never infer or invent them.$FULLSEND_OUTPUT_DIR/agent-result.json (Step 0.6 creates that directory):
write either the deliberately schema-invalid validation failure object or the
completed valid accumulated result. Do not create, modify, or repair any other
local file.security-matrix.md files in the project working directory (see Step 2.1).
In Fullsend mode, the narrow output exception above also permits writing
$FULLSEND_OUTPUT_DIR/agent-result.json; otherwise only use Bash for read-only
git show commands and JIRA REST API fallback scripts.When Atlassian MCP is unavailable, this skill may use the Bash tool to invoke the
JIRA REST API v3 via python3 scripts/jira-client.py. This is the only permitted
use of the Bash tool beyond read-only git show operations.
bash -c "python3 scripts/jira-client.py <command>"git show <commit>:<path> for lock file inspectionEvery comment posted to Jira by this skill MUST include the Comment Footnote. This applies to all Jira comments — the post-triage summary, cross-stream notices, and any other comments the skill creates.
Follow the format in shared/comment-footnote.md, using skill name triage-security.
Fullsend mode: do not read CLAUDE.md. Use the validated bundle's
configuration member as the complete Security Configuration input. Its required
version streams and source repositories replace the interactive configuration read;
an optional configuration member that is absent remains absent rather than triggering
a local or external lookup.
Before proceeding, read the project's CLAUDE.md and verify that the following sections
exist under # Project Configuration:
## Repository Registry — must contain a table with at least one entry## Jira Configuration — must contain at minimum: Project key, Cloud ID## Code Intelligence — must exist with the tool naming convention## Security Configuration — must contain at minimum:
### Product Lifecycle with Product pages URL, Jira version prefix,
Vulnerability issue type ID, and Component label pattern### Version Streams with at least one Konflux release repo path### Source Repositories with at least one source repo entryIf any of these sections are missing or incomplete, inform the user:
"This skill requires Security Configuration in your CLAUDE.md. Please run
/setupfirst to configure your project, then re-run this skill."
Stop execution immediately. Do not attempt to gather the missing information or proceed without it.
Extract the following from the configuration for use in later steps:
MYPRODUCT)10001)pscomponent:)customfield_00000). If configured, used in Steps 6 and 8 when closing issues as
"Not a Bug". If not configured, close with resolution only, without the VEX field.customfield_10632). If configured, used in Step 4.3 for cross-CVE overlap
detection. If not configured, Step 4.3 is skipped entirely.customfield_10669). Used with the Upstream Affected Component field for cross-CVE
overlap filtering in Step 4.3.customfield_10832). Used with the Upstream Affected Component field for cross-CVE
overlap filtering in Step 4.3.upstream.Fullsend mode: the trusted matrix.streams evidence is the supplied matrix state.
Do not read a local matrix, repopulate it, repair it, or offer a refresh; matrix
staleness handling and every local matrix write are interactive/trusted-runner-only.
Before proceeding with triage, verify that each version stream's security-matrix.md
has been updated recently enough to reflect the current release landscape. A stale
matrix can cause triage to miss newly released versions or use outdated source commit
references.
For each row in the Version Streams table in Security Configuration:
Read the matrix file at the configured Security Matrix Path (relative to the project working directory).
Extract the timestamp from the <!-- Last-Updated: <ISO-8601> --> HTML comment
at the top of the file. Parse the ISO 8601 value.
Check for staleness — compare the timestamp against the current date. If the matrix is older than 14 days (the default threshold), warn the user:
"Security matrix for stream was last updated on ( days ago). The matrix may not reflect recent releases.
Options:
- Refresh now — re-run matrix population (setup Step 10.6) for this stream
- Proceed anyway — continue triage with the current matrix
- Stop — halt triage so I can investigate"
Wait for the user's choice before proceeding.
If no timestamp found — the matrix predates staleness tracking. Warn:
"Security matrix for stream has no Last-Updated timestamp. Consider running
/setupto populate it with a timestamp for future staleness checks."
Proceed without blocking — absence of a timestamp is not an error.
If the matrix file does not exist — this is handled by Step 2.1's existing fallback logic. Skip the staleness check for this stream.
If the user chooses Refresh now, invoke the matrix population logic from setup
Step 10.6 for the selected stream. After population completes (which writes an
updated Last-Updated timestamp), continue with the refreshed matrix.
Fullsend mode: skip JIRA access initialization and every REST fallback. The
validated issue, remote_links, jira_metadata, and idempotency evidence replace
Jira reads; planned mutations are accumulated in the result rather than called.
Follow the JIRA Access protocol in shared/jira-access-strategy.md.
REST API equivalents for this skill's operations:
jira.get_issue(id) → python3 scripts/jira-client.py get_issue <id> --fields "*all"jira.search_jql(jql) → python3 scripts/jira-client.py search_jql --jql "<jql>" --fields "summary,status,labels,versions" --max-results 50jira.edit_issue(id, fields) → python3 scripts/jira-client.py update_issue <id> --fields-json '<json>'jira.create_issue(...) → python3 scripts/jira-client.py create_issue --project <key> --summary "<summary>" --description-md "<desc>" --issue-type "<type-id>" --labels <labels> --security <parent-level-id>jira.create_link(...) → python3 scripts/jira-client.py create_link --inward <key> --outward <key> --link-type <type>jira.transition_issue(id, status) → First get_transitions <id>, then transition_issue <id> --transition-id <id>jira.add_comment(id, text) → python3 scripts/jira-client.py add_comment <id> --comment-md "<text>"jira.get_issue_remote_links(id) → python3 scripts/jira-client.py get_remote_links <id>Exception for Bash tool: When using REST API fallback, this skill may use
bash -c "python3 scripts/jira-client.py <command>" for JIRA operations only.
Assign the CVE Vulnerability issue to the current user and transition it to Assigned status. This provides immediate visibility into who is actively triaging the issue and enables Step 7 (Concurrent Triage Detection) to reliably identify active work.
Fullsend mode: obtain the current issue state from issue and existing markers
from idempotency; do not retrieve a user, assignment, or transition from Jira. An
assignment field-edit is allowed only to authorization.runner_account_id; never
use another account ID or look one up. Self-assignment and disabled transitions:
jira-triage-operations.md. If assignment is required but that trusted ID is absent,
withhold only the assignment and append a blocked, evidence-backed report-only
recommendation naming the missing trusted assignee identity and required trusted-input
configuration, and serialize every other authorized action in step order. If the ID is
present and authorization permits it, append the assignment, then the transition only
when configuration.status_transitions_enabled is not false; take the status name
from issue.transitions (e.g. ASSIGNED) and omit it when issue.status is already
Assigned or later.
Interactive mode only (Fullsend never runs these calls):
Retrieve the current user's Jira account ID:
jira.user_info()
Assign the issue to the current user:
jira.edit_issue(<jira-issue-id>, assignee=<current-user-account-id>)
Discover the target transition dynamically:
jira.get_transitions(<jira-issue-id>)
Select the transition whose target status name is "Assigned". Do NOT
hardcode a transition ID or assume the transition name — Vulnerability issues
use a different Jira workflow than Task issues.
Transition to Assigned (if the issue is in New status):
jira.transition_issue(<jira-issue-id>, <assigned-transition-id>)
If the issue is already in Assigned or any later status (detected via the status-aware handling in the Inputs section), skip the transition silently. The assignment in step 2 still proceeds regardless — it ensures the current user is recorded even when re-triaging an issue that was previously assigned.
Fullsend mode: the validated issue.key is the invocation target. Do not run
discovery JQL, prompt for a missing issue key, or query Jira; schema validation has
already established the input shape. Interactive discovery mode below is unchanged.
The user provides a single Vulnerability issue key.
Example:
/sdlc-workflow:triage-security PROJ-123
If the user invokes the skill without an issue key, run two queries:
1. Untriaged issues (primary list):
jira.search_jql(
jql: "project = <project-key> AND issuetype = <vulnerability-issue-type-id> AND labels NOT IN (ai-cve-triaged) ORDER BY status ASC, created DESC",
fields: ["summary", "labels", "status", "created"],
maxResults: 20
)
Unattended pollers run this query via scripts/pre_triage_security.py discover; keep the two in sync.
2. Triaged but still New (stale issues — triaged but never actioned):
jira.search_jql(
jql: "project = <project-key> AND issuetype = <vulnerability-issue-type-id> AND labels IN (ai-cve-triaged) AND status = New ORDER BY created DESC",
fields: ["summary", "labels", "status", "created"],
maxResults: 10
)
3. Ready for QA (triaged CVEs with all remediation tasks completed):
jira.search_jql(
jql: "project = <project-key> AND issuetype = <vulnerability-issue-type-id> AND labels IN (ai-cve-triaged) AND status NOT IN (Closed, Verified, 'ON_QA') ORDER BY created DESC",
fields: ["summary", "labels", "status", "created", "issuelinks"],
maxResults: 20
)
For each result, check its issuelinks for linked Tasks with link type "Depend":
issuelinks entry where
type.name is "Depend", extract the linked issue key from outwardIssue.key
(or inwardIssue.key depending on link direction). Fetch the linked issue to
inspect its status.Present all three lists to the engineer, clearly separated:
Untriaged — numbered list grouped by status, showing: issue key, status, CVE ID (from labels), summary, and created date.
Triaged but still New — same format, flagged so the engineer can spot issues that were triaged but never moved forward. These may need follow-up or re-triage.
Ready for QA — triaged CVEs with all remediation tasks completed:
| Issue | Status | CVE | Summary | Created | Remediation Tasks |
|---|---|---|---|---|---|
| TC-XXXX | Modified | CVE-YYYY-XXXXX | ... | 2026-05-15 | TC-YYYY (Done), TC-ZZZZ (Closed) |
For each Ready for QA issue, suggest: "Consider transitioning to ON_QA."
4. Release Jira summary (remediation progress by release):
Search for release Tasks matching the naming pattern:
jira.search_jql(
"project = <project-key> AND issuetype = Task AND summary ~ 'RHTPA' AND summary ~ 'CVE triage' ORDER BY created DESC",
fields: ["summary", "status", "issuelinks", "parent"],
maxResults: 10
)
For each release Task, inspect its issuelinks to count remediation progress:
Present the release Jira summary:
Release Jira Summary:
| Release Epic | Release Task | CVEs Tracked | Remediation Done | Remediation Pending |
|-------------|-------------|-------------|-----------------|-------------------|
| TC-6286 (RHTPA 3.1.1 Release Tasks) | TC-5708 (RHTPA 3.1.1 CVE triage) | 5 | 3 | 2 |
| TC-XXXX (RHTPA 3.0.3 Release Tasks) | TC-YYYY (RHTPA 3.0.3 CVE triage) | 2 | 0 | 2 |
This view helps the engineer assess release readiness — a release Task with all remediation Tasks done is a candidate for release sign-off.
When the user selects an issue (or when a specific issue key is provided in Step 1), check its current Jira status and adapt accordingly:
<status>. It may be actively worked on." Ask whether to:
If the user chooses to skip, return to the discovery list or end the session.
If no results are found, inform the user: "No untriaged Vulnerability issues found in project ."
Fullsend mode: do not fetch the issue or its remote links. Extract these fields
from the validated issue and remote_links bundle members, using configuration
for the component-label and stream mappings. If trusted evidence cannot support a
critical extraction, record a blocked/needs-review result; never ask Jira, GitHub, or
the user to fill the gap from an untrusted source.
Fetch the Vulnerability issue from Jira:
jira.get_issue(<jira-issue-id>)
Also fetch remote links to capture upstream references:
jira.get_issue_remote_links(<jira-issue-id>)
Parse the issue to extract the following fields:
| Field | Source |
|---|---|
| CVE ID | Labels (pattern CVE-YYYY-XXXXX) and summary text |
| Affected component | Label matching the Component label pattern from Security Configuration (e.g., pscomponent:org/image-name) |
| Product version (PSIRT-claimed) | Summary suffix in brackets (e.g., [myproduct-2.2]) |
| Affects Versions (Jira field) | Jira versions field — the current Affects Versions on the issue |
| Vulnerable library | Description text (library name, e.g., "quinn-proto") |
| Affected version range | Description text (e.g., "< 0.11.14", "versions before 3.2.1") |
| Fixed version | Description text (e.g., "fixed in 0.11.14") |
| Upstream fix PR | Remote links — GitHub PR URLs |
| Advisory URL | Remote links — GHSA or advisory URLs |
| CVE record URL | Remote links — cve.org URLs |
| Due date | Issue duedate field |
| Existing comments | Issue comment history |
Present the extracted data to the engineer in a structured table for verification before proceeding. If any critical field cannot be parsed (CVE ID, library, affected range), ask the engineer to supply the missing information and stop execution until provided.
If the issue summary contains a stream suffix in brackets (e.g., [myproduct-2.0],
[myproduct-2.2]), map it to one of the configured Version Streams. The suffix
identifies which stream PSIRT intended this issue to track.
[myproduct-2.2] → stream 2.2.xIf the suffix does not match any configured stream, present the mismatch to the
engineer and ask which stream this issue should be scoped to. Do not proceed
past Step 1 until the engineer confirms the stream scope. A non-matching suffix
(e.g., [myproduct-2.0] when no 2.0.x stream exists) is not the same as having
no suffix — the issue is still stream-scoped, it just needs the correct stream
assigned. Never fall through to the unscoped path below because the suffix failed
to match.
If the summary has no stream suffix, the issue is treated as unscoped — it covers all streams. Steps 3 and 4 behave differently for scoped vs unscoped issues (see those steps for details).
flowchart TD
A["Parse issue summary"] --> B{"Stream suffix\nin brackets?"}
B -->|Yes| C{"Matches configured\nVersion Stream?"}
B -->|No| D["Unscoped — analyze\nall streams"]
C -->|Yes| E["Scoped — analyze\nonly that stream"]
C -->|No| F["Ask engineer to\nconfirm stream"]
F --> E
D --> G["Steps 3-4 apply\nto all streams"]
E --> H["Steps 3-4 scoped\nto single stream"]
Determine the ecosystem from the vulnerable library name and component context.
The supported ecosystems are defined in each stream's security-matrix.md Ecosystem
Mappings table — the skill reads available ecosystems from configuration rather than
assuming a fixed set. Common ecosystems include:
The ecosystem classification determines remediation task structure:
| Category | Ecosystems | Remediation tasks per stream |
|---|---|---|
| Source dependency | Cargo, npm | 2 — upstream backport + downstream propagation |
| Source dependency (fix available) | Cargo, npm | 2 — dependency bump + downstream propagation (when Step 2.5 confirms upstream already ships the fix) |
| System package | RPM | 1 — Konflux release repo fix only |
When a new ecosystem is added to a stream's Ecosystem Mappings table, update this classification table to define its category. All downstream rules (Case B, checklist, guardrails) reference this table rather than listing ecosystems individually.
If the detected ecosystem is not listed in the stream's Ecosystem Mappings table (e.g., Go modules), inform the user and stop automated triage for that ecosystem:
"Unsupported ecosystem: is not yet supported for automated triage. Manual assessment is required."
The ecosystem determines which lock file to inspect and which parsing command to use.
Both the lock file path and check command are configured per ecosystem in each stream's
security-matrix.md Ecosystem Mappings table.
flowchart TD
A["Identify ecosystem\nfrom library + component"] --> B{"Source dependency\necosystem?\n(see classification table)"}
B -->|Yes| C["Lock file inspection\n(git show commit:lock-file)"]
B -->|No| D{"RPM / system\npackage?"}
D -->|Yes| E{"RPM lock file\nconfigured?"}
E -->|Yes| F["Lock file + SBOM\ninspection"]
E -->|No| G["SBOM-only +\nDockerfile analysis"]
C --> H["Remediation: 2 tasks\n(upstream + downstream)"]
F --> I["Remediation: 1 task\n(Konflux repo)"]
G --> I
After identifying the affected repository from the component label pattern, look up its deployment context from the Source Repositories mapping extracted in Step 0. Record the deployment context as part of the extracted CVE metadata for use in Step 8 (Remediation) when generating coordination guidance in remediation task descriptions.
If the affected repository is not found in the Source Repositories table, default to
upstream.
Fullsend mode: do not query MITRE or OSV. Use the captured
external_evidence.mitre and external_evidence.osv records, including their source
URLs, retrieval status, and bodies, for the same cross-validation and fix-threshold
precedence rules. A non-success record is the trusted evidence of unavailability; do
not retry it over the network.
After extracting data from the Jira description, query external CVE databases for structured vulnerability data. This is not a fallback — external sources are always queried to supplement and cross-validate the Jira description data.
Query the MITRE CVE API for the authoritative CVE record:
WebFetch(url: "https://cveawg.mitre.org/api/cve/<CVE-ID>",
prompt: "Extract the affected products, version ranges, and fixed versions
from the CVE record. Return structured data: product name, affected version
range (lessThan, lessThanOrEqual), and fixed version.")
Parse the affected[].versions[].lessThan or affected[].versions[].lessThanOrEqual
fields for precise fix thresholds.
Query the OSV.dev database for ecosystem-specific version range data:
WebFetch(url: "https://api.osv.dev/v1/vulns/<CVE-ID>",
prompt: "Extract the affected packages, ecosystem, version ranges (introduced,
fixed, last_affected), and severity from the OSV record.")
Parse affected[].ranges[].events for introduced and fixed version markers.
Compare external fix thresholds against the values parsed from the Jira description in Step 1:
Agreement: use the structured external data as the authoritative fix threshold for Step 2.3 comparisons. The external data takes precedence because it provides machine-readable version constraints rather than prose-parsed ranges.
Disagreement: present both sources to the engineer in a comparison table and ask which to use before proceeding:
Fix threshold comparison for <CVE-ID> (<library>):
| Source | Affected range | Fixed version |
|-----------------|----------------|---------------|
| Jira description| < 0.11.14 | 0.11.14 |
| MITRE CVE API | < 0.11.13 | 0.11.13 |
| OSV.dev | < 0.11.14 | 0.11.14 |
The Jira description and OSV.dev agree, but MITRE reports a different threshold.
Which fix threshold should be used for version impact analysis?
Unavailable: if an external API returns an error (HTTP 404, timeout, network failure), log a warning and fall back to the Jira description data for that source. If both external APIs are unavailable, proceed with Jira description data only and note the degraded confidence:
"⚠ External CVE databases unavailable — using Jira description data only. Fix threshold confidence is reduced."
The enriched fix threshold (from this step) is passed to Step 2.3 for use in version impact comparisons.
Fullsend mode: derive the configured policy from configuration and severity from
the trusted issue/external evidence. Do not fetch a policy URL or use an interactive
confirmation. Represent an embargo block or permitted next action in the accumulated
result according to trusted authorization.
This step is an advisory warning gate for high-severity vulnerabilities that may be under embargo. It does not enforce embargo procedures — it surfaces a warning and links to the organization's embargo policy for the engineer to verify.
Check configuration: if no Embargo policy URL is configured in Security Configuration, skip this step silently and proceed to Step 2.
Evaluate severity: determine the vulnerability severity from the CVSS score extracted in Step 1.5 or the Jira priority field from Step 1. The trigger threshold is Critical or Important severity (CVSS >= 7.0).
Below threshold: if the severity is Low or Moderate (CVSS < 7.0), skip this step silently and proceed to Step 2.
Present warning gate: if severity meets the threshold, present a warning to the engineer:
⚠️ EMBARGO CHECK — <CVE-ID> (<severity> severity)
High-severity vulnerabilities may be under embargo.
Before proceeding, verify with your security team that this CVE
is cleared for public triage.
Embargo policy: <configured-embargo-url>
Proceed with triage? (Yes / No)
If "No": stop execution and inform the user to check embargo status before re-running triage. Do not proceed to Step 2.
If "Yes": proceed to Step 2 (Version Impact Analysis) as normal.
This gate is consistent with the existing guardrail pattern (every Jira mutation requires confirmation). No Jira mutations occur at this step — the gate fires before any triage output, so stopping is safe.
This step determines which supported product versions actually ship the vulnerable dependency. It loads the supportability matrix from local files (with Konflux repo fallback), detects the development stream, extracts dependency versions from lock files at pinned commits, builds the version impact table, and checks for upstream fixes.
Read version-impact-analysis.md for the detailed procedures (Steps 2.1–2.5).
Fullsend mode: that procedure consumes only matrix.streams,
source_evidence.lock_files, and source_evidence.development_streams. It preserves
all-supported-version coverage, released pinned-commit evidence, development-head
evidence, retag propagation, dependency-chain analysis, and enriched fix-threshold
rules without running Git, cosign, or a matrix fallback.
Sub-steps:
Wait for the engineer to review and confirm the version impact table before proceeding to Step 3.
These steps perform the Jira-side triage operations: correcting Affects Versions based on lock file evidence, detecting duplicate and sibling issues, checking version lifecycle status, and detecting already-fixed scenarios.
Read jira-triage-operations.md for the detailed procedures.
Fullsend mode: use jira_metadata.versions for version discovery,
jira_metadata.sibling_searches and .related_issues for duplicate/sibling/overlap
analysis, external_evidence.lifecycle for lifecycle status, and idempotency for
already-fixed and existing-artifact checks. Do not issue JQL, fetch Jira records, or
query lifecycle pages; turn any proposed mutation into an ordered result action.
Based on the version impact table and the remaining affected versions (after Steps 4–6 filtering), determine the appropriate action.
flowchart TD
A["Version impact table\n(after Steps 4-6)"] --> Z{"Step 7:\nConcurrent triage\non same component?"}
Z -->|No or user proceeds| R{"Step 7.5:\nRelease Jira\nOrchestration"}
Z -->|User waits/skips| STOP["Stop or skip\ntask creation"]
R --> DEDUP{"Step 7.5.3:\nCross-CVE dedup?"}
DEDUP -->|"Existing task covers\nsame component"| SKIP["Skip task creation\nLink CVE to existing task"]
DEDUP -->|No existing coverage| B{"Any supported versions\naffected?"}
B -->|Yes| SCOPE{"Issue scoped to\na single stream?"}
B -->|No| D["Case C: Close as\nNot a Bug"]
SCOPE -->|"Yes (scoped)"| C{"Other streams\nalso affected?"}
SCOPE -->|"No (unscoped)"| F["Case B: Create\nremediation tasks\nfor affected streams"]
C -->|Yes| E["Case A: Post cross-stream\nimpact comment"]
C -->|No| F
E --> F
F --> G{"Source dependency\necosystem?\n(see classification table)"}
G -->|"Yes (fix available)"| BUMP["2 tasks: dependency\nbump + downstream\npropagation"]
G -->|"Yes (fix not available)"| H["2 tasks: upstream\nbackport + downstream\npropagation"]
G -->|No| I["1 task: Konflux\nrepo fix"]
BUMP --> LINK["Link tasks to\nrelease Task"]
H --> LINK
I --> LINK
D --> J{"VEX Justification\nconfigured?"}
J -->|Yes| K["Set VEX field"]
J -->|No| L["Close with\nresolution only"]
Important: This skill never creates Vulnerability issues (PSIRT owns them); it only creates remediation Tasks.
Fullsend mode: retain the existing decision tree and evidence thresholds, but append remediation, field, status, comment, link, and reference operations to the ordered result only. Authorization false produces the report-only action and names each withheld mutation; authorization true still does not execute a sandbox-side Jira call.
Before proceeding to Case A/B/C branching, check whether another engineer is actively triaging a different CVE that affects the same upstream component. This prevents duplicate remediation tasks when two concurrent triages reach Step 8 simultaneously.
Follow the concurrent triage detection protocol in
jira-triage-operations.md — Step 7.
Fullsend mode: determine concurrent or existing triage solely from the validated
jira_metadata and idempotency entries. Do not run JQL; report a missing trusted
match as no known match, not permission to search externally. Issues assigned to
authorization.runner_account_id are not concurrent triage.
If the Upstream Affected Component custom field is not configured, skip this step entirely.
If concurrent triages are detected, the protocol offers three options: wait,
skip, or proceed with a concurrent-triage-overlap label. Only continue to
Case A/B/C after the user chooses.
After concurrent triage detection (Step 7) and before remediation task creation (Step 8), find or create the release Jira structure for each affected stream. This provides a release-scoped container that groups all CVE triages and remediation tasks for a given product version.
Fullsend mode: use jira_metadata.release_jira and
authorization.release_decisions for this step. Follow the companion's Fullsend
release procedure: reuse bounded existing identities, create only with explicit
family/version and individual permissions, and report unresolved decisions.
Never prompt, infer a new release version, or call Jira. Missing release evidence
is unresolved work, not proof that no release exists. Preserve explicit skip.
The host executes ordered release-epic and release-task actions, including
digest repair on retries; later links/comments use their references.
Follow the release Jira orchestration protocol in
jira-triage-operations.md — Step 7.5.
The protocol covers three sub-steps:
"RHTPA <version> Release Tasks" pattern). Individual confirmation required
for Epic creation (version decision is high-stakes)."RHTPA <version> CVE triage")
as a child of the release Epic. Individual confirmation required for Task creation.Scope: per release family (not per stream). All non-preemptive remediation types are linked to release Jira. The same release Jira is used regardless of ecosystem (Cargo vs npm).
If the engineer skips release Jira creation for a stream, proceed to Step 8 without release Jira for that stream — remediation tasks are still created but not linked to a release Task.
Guard — scoped issues only. Case A applies exclusively to stream-scoped
issues (those whose summary contains a stream suffix like [myproduct-2.2]).
Unscoped issues cover all streams by definition — there are no "other streams
outside this issue's scope," so the cross-stream impact check is not applicable.
For unscoped issues, skip Case A entirely and proceed directly to Case B task
creation for all affected streams.
If the issue is scoped and the version impact analysis reveals that other streams (outside this issue's scope) are also affected:
Post the cross-stream impact comment (existing behavior):
Cross-stream impact: [library] [affected-range] also affects stream(s)
[other-stream-1], [other-stream-2] based on lock file analysis.
These streams are tracked by companion issues (see Related links)
or may require separate PSIRT triage.
Check for existing CVE Jiras for each affected stream. Search for sibling Vulnerability issues with the same CVE label and a matching stream suffix (reuse the JQL from Step 4).
For each affected stream without its own CVE Jira, create proactive
remediation tasks using the same templates as Case B, but with the
preemptive variant (see remediation-templates.md — Preemptive Task
Variant):
security-preemptive alongside standard labelsFor streams that already have a CVE Jira, skip task creation — those streams will be triaged through their own CVE issue.
Add comment to the originating CVE Jira listing the preemptive tasks:
Preemptive remediation tasks created for streams without CVE Jiras:
- [stream-1]: [task-key-1] (security-preemptive)
- [stream-2]: [task-key-2] (security-preemptive)
These tasks use the "Related" link type and carry the security-preemptive
label. When PSIRT creates stream-specific CVE Jiras, Step 4.4
reconciliation will link them and remove the label.
Do not create new Vulnerability issues — PSIRT manages per-stream Vulnerability tracking. Only create remediation Tasks.
If the issue's stream-scoped versions (or all versions for unscoped issues) are affected:
remediation-templates.md Jira Linkage section.If the version impact table shows NO for all supported versions (including the development stream):
When closing a Vulnerability issue as "Not a Bug" (not affected) and the VEX Justification custom field is configured in Security Configuration, set it to the value that best matches the triage evidence:
| Value | When to use |
|---|---|
| Component not Present | The vulnerable package is not shipped in any affected version |
| Vulnerable Code not Present | The package is shipped but the vulnerable code path was not included (e.g., feature flag, conditional compilation) |
| Vulnerable Code not in Execute Path | The package is shipped with vulnerable code, but the product never invokes that code path |
| Inline Mitigations already Exist | The vulnerability is mitigated by existing controls (e.g., network isolation, input validation) |
Default to Component not Present when the lock file or SBOM analysis shows the vulnerable package version is not included. Present the chosen justification to the engineer as part of the close recommendation.
Present the full recommendation (task details, cross-stream notice, or close rationale) to the engineer for confirmation before executing any Jira mutations.
Pre-creation checklist — verify before presenting the recommendation:
security-preemptive label.When triage concludes "needs fix" (Case B above), create Jira Tasks
following task-description-template.md so that /implement-task can parse them
directly. Only create tasks for streams within the current issue's scope.
After creating each remediation task, post a description digest comment per
shared/description-digest-protocol.md so /implement-task can verify integrity.
For transitive dependencies, the remediation task must document the full dependency chain (from Step 2.3.5) and specify the two-tier remediation approach: bump the direct dependency first, fall back to pinning the transitive dep. This may require coordination with intermediate package maintainers if they pin the vulnerable version.
Read remediation-templates.md for the full task description templates, Jira
issue creation API calls, digest comment procedures, and linkage procedures.
The key distinction:
cargo update/npm update) + downstream propagation
(blocked). Use when Step 2.5 confirms the upstream branch already ships the
fixed version.After creating remediation tasks, link them to the release Task from Step 7.5
(if active). See remediation-templates.md Jira Linkage section for the
link topology: remediation Tasks → release Task (Blocks), CVE → release Task
(Related).
After all triage actions are complete:
ai-cve-triaged labelAdd the ai-cve-triaged label to the original Vulnerability issue to mark it as
triaged. This label enables filtering triaged vs untriaged issues in Jira and
prevents re-triaging the same issue.
Add a summary comment to the original Vulnerability issue documenting:
{ "type": "mention", "attrs": { "id": "<reporter-account-id>", "text": "@<reporter-name>" } }
This @mention is mandatory and requires no configuration — the reporter field
is always available on the Jira issue.This comment provides a complete audit trail for future reference. The comment MUST include the Comment Footnote (see above).
git show output. If a lock file cannot be read (repo not cloned, commit not
found), report the error and ask the user — do not assume a version.getJiraIssueTypeMetaWithFields to discover available versions and their IDs
at runtime./implement-task. For dev-only or build-only dependencies (identified
in Step 2.3.5), add the dev-dependency label and override priority to
Normal — see the dependency scope decision tree in
version-impact-analysis.md.task-description-template.md for generated tasks. The remediation
Task description must be parseable by /implement-task. Do not invent custom
sections or deviate from the template format.git show command fails 3 times, stop and ask the user for
guidance — the repository may not be cloned or the commit may not exist
locally.security-matrix.md at the configured path. Do not rely on forward
pointers between files.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub rhecosystemappeng/sdlc-plugins --plugin sdlc-workflow9 skills in this plugin
/define-featureInteractively define a Jira Feature by walking through all description template sections and creating the issue.
/implement-taskImplement a Jira task by reading its structured description, modifying code, running tests, and updating Jira.
/plan-featureGenerate an implementation plan and Jira tasks from a Jira feature and Figma mockups.
/report-bugInteractively define a Jira Bug by walking through project-configured template sections, or accept structured input programmatically from other skills. Creates the issue and suggests triage.
Other plugins' skills for the same job