commit-message
Abacus land.commit slot for Bitwarden. Compose one commit's subject and body for a change Abacus is about to land, following…
This skill should be used when the user asks to "create a threat model", "define security goals", "generate a data flow diagram", "write security definitions", "perform an initial security assessment", or needs to produce threat model artifacts for new features or architecture
Claude Code
$ npx -y skills add bitwarden/ai-plugins --skill threat-modeling --agent claude-code
Codex
$ npx skills add bitwarden/ai-plugins --skill threat-modeling -a codex -y
Cursor
$ npx skills add bitwarden/ai-plugins --skill threat-modeling -a cursor -y
Gemini CLI
$ npx skills add bitwarden/ai-plugins --skill threat-modeling -a gemini-cli -y
GitHub Copilot
$ npx skills add bitwarden/ai-plugins --skill threat-modeling -a github-copilot -y
OpenCode
$ npx skills add bitwarden/ai-plugins --skill threat-modeling -a opencode -y
Windsurf
$ npx skills add bitwarden/ai-plugins --skill threat-modeling -a windsurf -y
name: threat-modeling description: This skill should be used when the user asks to "create a threat model", "define security goals", "generate a data flow diagram", "write security definitions", "perform an initial security assessment", or needs to produce threat model artifacts for new features or architecture changes.
Bitwarden follows a 4-phase engagement model for security work. This skill primarily supports Phase 1 (engineering-owned) and assists with Phase 2-4 artifacts.
1. Check Bitwarden's Architecture Decision Records for existing decisions covering the system or components under review (see `${CLAUDE_PLUGIN_ROOT}/references/adr-alignment.md`) — a threat model should align with already-accepted architecture, not silently re-derive or contradict it 2. Create data flow diagrams (Mermaid) 3. Define security requirements separate from product requirements 4. Propose security definitions (threat model + security goals) 5. Identify initial threats using STRIDE (see `references/stride-framework.md`)
Security Definitions (SDs) are Bitwarden's formal construct for communicating the security posture of a system. Each definition has three components: a **threat model** (attacker capabilities), **security goals** (what the system guarantees), and an **accepted goal status** (honest assessment of whether the goal is currently met).
Use Bitwarden's standard vocabulary when writing definitions — see `references/bitwarden-vocabulary.md` for the full glossary. Align security goals with Bitwarden's security principles (P01-P06) — see `references/security-principles.md`.
Describe attacker capabilities AND limitations — what they can and cannot do. Always state both sides to scope the definition precisely:
Include concrete examples where helpful (e.g., "An example for this is a stolen device"). Don't assume external mitigations are in place — even if obtaining an auth token is difficult, still explore what happens if an attacker has one.
Apply these rules when scoping the threat model:
State concise, testable guarantees about what cannot happen given the threat model. Reference specific assets (tokens, keys, vault data):
Every goal carries a **Rationale** — three pieces, one line each:
A goal without a rationale is a claim, not a requirement. Rationales let reviewers judge whether the goal is load-bearing or can be cut.
Two additional rules on goal framing:
A curated collection of plugins for AI-assisted development at Bitwarden. Enables discovery and distribution of quality-controlled plugins for use with Claude Code.
Abacus land.commit slot for Bitwarden. Compose one commit's subject and body for a change Abacus is about to land, following…
Abacus land.pr slot for Bitwarden. Compose one pull request's title, body and labels for a change Abacus is about to land,…
Abacus review slot (standard depth) for Bitwarden. Runs the bitwarden-code-review reviewer once on a bead's uncommitted change…
Check a design, change, pull request, plan, or threat model against Bitwarden's Architecture Decision Records (ADRs), or locate…
Use when the user provides a single Jira issue key and asks whether it is still relevant, still applicable, still pending, still…
File Jira work items that stand on their own, with real ticket titles, acceptance criteria in whatever field the target project…
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…