npx skills add ...
npx skills add bitwarden/ai-plugins --skill triaging-security-findings
This skill should be used when the user asks to "triage security findings", "fix an Aikido finding", "review Aikido issues", "dismiss a false positive", "check SAST/IaC alerts", or needs to work with Aikido feed issues, GitHub Dependabot alerts, or GitHub secret scanning alerts.
npx skills add bitwarden/ai-plugins --skill triaging-security-findings
Bitwarden uses Aikido as its unified security platform. Aikido continuously scans connected repositories and surfaces findings across SAST, IaC, SCA (open source), secrets, cloud, container, malware, EOL, and license categories in a single feed.
Findings are queried and triaged via the aikido:issues skill (aikido_issues_list), not through GitHub code-scanning alerts — Aikido triage does not flow through GitHub Advanced Security. See that skill for the full list of scope filters, issue_types, and SLA filters (out_of_sla, sla_due_soon).
If the aikido:issues skill is unavailable (the aikido plugin isn't installed or /aikido:setup hasn't run), stop and tell the user rather than proceeding without this data. This applies to Aikido feed triage only — the Dependabot and secret-scanning paths below are GitHub-native and run without Aikido.
Dependabot and GitHub secret scanning are unaffected by the Aikido transition — they remain GitHub-native and are queried separately from the Aikido feed.
Aikido triage is handled through Jira, not through Aikido's own dismissal states or GitHub Advanced Security.
Team field — CODEOWNERS first, then commit history. Flag for human follow-up if it can't be confidently determined.Severity per the mapping table below, and record the CVSS base score using the v3.0 convention — cite the full vector string in the comment for reproducibility.Write the Jira triage comment as five labeled paragraphs, in this exact order, not open prose:
AFFECTED / NOT AFFECTED / unable to determine), then the technical reasoning/evidence for it — reachability, code path, config, mitigating controls.When one ticket bundles multiple distinct findings (e.g. several XSS sites), use a condensed markdown table with columns Finding | Declaration | Severity/CWE | Owner | Action required instead of repeating the five paragraphs per row.
Before writing a NOT AFFECTED Declaration, verify:
NOT AFFECTED on the basis of a validation step alone.NOT AFFECTED verdict needs a clear, reviewable explanation.If any step is uncertain, declare unable to determine rather than NOT AFFECTED, and route it through the Action field for team review.
The Jira Severity field (Informative, Low, Medium, High, Hotfix) has one more value than Aikido's own severity scale (Critical, High, Medium, Low). When syncing a ticket's severity back to the Aikido issue:
Jira Severity | Aikido |
|---|---|
| Hotfix | Critical |
| High | High |
| Medium | Medium |
| Low | Low |
| Informative | Ignore |
Informative has no Aikido severity equivalent — set the finding's status to Ignore in Aikido rather than assigning a severity.
Aikido findings are organized into issue groups (one group per package or per rule, spanning every repo and occurrence it appears in). A severity-filtered aikido_issues_list pull, or the set of repos named in a Jira ticket, is often only a sample of a group's true membership — not the whole group.
Before recommending or approving any group-level action (adjusting severity, ignoring, snoozing), use aikido_issues_list with no severity or SLA filter to pull the group's full unfiltered membership and diff it against whatever scope prompted the action. If that shows repos or occurrences beyond what was actually verified, either verify those too before acting, or scope the action to the individual verified occurrences rather than the whole group, so unverified occurrences are left untouched. A group-level action is only safe once the unfiltered pull confirms the group's true membership matches what was checked — otherwise it silently mis-triages the unverified occurrences alongside the real ones. This skill only has read access to Aikido (aikido_issues_list); applying the action itself happens in the Aikido dashboard — this step is about verifying scope before that happens, not about calling an API to do it directly.
A group's membership is not static — a later Aikido scan can add new occurrences to a group after its Jira ticket already exists. Don't fold newly-arrived occurrences into an existing ticket's scope. Scope a ticket to the group's membership as of the ticket's creation time; the engineering team may already be working the ticket as originally scoped, and silently widening it moves the ground under them mid-fix.
When a later scan surfaces occurrences beyond an existing ticket's original scope, file a new ticket for those occurrences rather than reopening or expanding the old one. This applies even if it's the same underlying group/package/rule — same group, new ticket, if the new occurrences postdate the original ticket.
Common remediation patterns by vulnerability type:
| Vulnerability | Wrong | Right |
|---|---|---|
| SQL Injection | String concatenation in queries | Parameterized queries / stored procedures |
| XSS | Raw interpolation in HTML | Output encoding / framework auto-escaping |
| Path Traversal | Direct use of user-supplied paths | Canonicalize + validate against allowed base path |
| SSRF | Direct use of user-supplied URLs | Allowlist of permitted hosts/schemes |
| Insecure Deserialization | Deserializing untrusted input with type info | Use safe serializers, avoid TypeNameHandling.All |
| Hardcoded Secrets | Credentials in source code | Environment variables / Azure Key Vault |
| XXE | Default XML parser settings | Disable DTD processing and external entities |