Meddev Threat Modeling
Install this skill
No account required. Pick your tool, then copy.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install meddev-skills-meddev-threat-modelingWhat this does: Identify, prioritize, and mitigate security threats for medical devices, integrating with risk management and informing control selection. Use when working on threat modeling in medical device software.
Manual setup by platform
Claude Code
~/.claude/skills/meddev-skills-meddev-threat-modeling/SKILL.md
Signing
Verified copySLSA L1- Signed by
- skills-hub.ai verified copy of https://github.com/AminAlam/meddev-agent-skills
- Method
- Verified copy of the source repoPublished by a community repo, not by skills-hub.ai. We signed this exact version to vouch that its content matches what the repo published. Check it with `npx @skills-hub-ai/cli verify`.
- Key
- skills-hub-ed25519-2026-11
- Signed
Instructions
Threat Modeling for Medical Devices
Purpose
Identify, prioritize, and mitigate security threats for medical devices, integrating with risk management and informing control selection.
When to Apply
- New features, interfaces, protocols, or deployment models.
- Architectural changes or introduction of third-party components.
- Periodic review or after security incidents.
Requirements (testable)
- Scope & Assets: Define assets (PHI, credentials, control channels) and trust boundaries. Rationale: focus analysis.
- Methodology: Apply STRIDE (or equivalent) to data flows/components; document threats and mitigations. Rationale: structured coverage.
- Prioritization: Rate threats by likelihood/impact; align with risk criteria; focus on high/critical. Rationale: actionable output.
- Controls Mapping: Map threats to controls (auth, crypto, logging, rate limits, updates); ensure ownership and implementation path. Rationale: closure.
- Validation: Include verification activities (tests, pen/DAST/fuzz) for high-risk threats. Rationale: evidence of mitigation.
- Update & Trace: Update threat model on changes; keep versioned; link to requirements and tests. Rationale: current and auditable.
Recommended Practices
- Use DFDs to visualize flows; include physical ports and debug interfaces.
- Consider safety impacts of security failures (link to ISO 14971 hazards).
- Capture abuse cases (e.g., radio flooding, spoofing, replay).
- Keep a concise threat model summary with top risks for quick consumption.
Patterns
Threat entry (YAML):
# REQ-THM-01
threat_id: TH-07
component: BLE Control Service
stride: Spoofing
description: Attacker pairs via Just Works and sends control commands.
mitigations:
- REQ-BLE-SEC-01 (LESC + MITM)
- REQ-AUTH-RBAC-03 (role checks)
verification:
- TEST-BLE-05 (pairing)
- PEN-02 (spoof attempt)
DFD elements:
External: Clinician App
Process: Device Control Task
Data Store: Config Flash (encrypted)
Boundary: BLE link (encrypted/authenticated)
Anti-Patterns (risks)
- No threat model or outdated one -> risk: missed controls, audit finding.
- Listing threats without mapping to controls -> risk: no mitigation.
- Ignoring verification -> risk: unproven controls.
- Not updating after major change -> risk: stale mitigations.
Verification Checklist
- Assets and trust boundaries defined; DFDs updated.
- STRIDE (or equivalent) applied to components/flows.
- High/critical threats prioritized with rationale.
- Threats mapped to implemented controls; owners assigned.
- Verification (tests/pen/fuzz) planned/executed for high risks.
- Threat model versioned and updated after changes.
Traceability
- Threat IDs (
TH-###) linked to controls (REQ-###/RISK-CTRL-###) and tests (TEST-###,PEN-###,FUZZ-###). - Store threat model artifacts with release; reference in risk management file.
References
- STRIDE (Microsoft), attack surface reduction concepts.
- FDA Cybersecurity Premarket Guidance (threat modeling).
- IEC 62443 threat concepts (zones/conduits).
Changelog
- 1.0.0 (2026-01-04): Initial threat modeling skill with STRIDE application, control mapping, and verification linkage.
Audit History
- 2026-01-04: Audit performed. Verified:
- STRIDE methodology correctly attributed to Microsoft
- DFD-based threat modeling approach accurately described
- Integration with FDA cybersecurity guidance correctly noted
Security
Reviews (0)
Related skills
Browse all →More from Medical Device Skills
View source →More Build skills
Browse category →Frequently asked questions about meddev-threat-modeling
What does the meddev-threat-modeling skill do?
Identify, prioritize, and mitigate security threats for medical devices, integrating with risk management and informing control selection. Use when working on threat modeling in medical device software. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the meddev-threat-modeling skill?
Run `npx @skills-hub-ai/cli install meddev-skills-meddev-threat-modeling` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/meddev-skills-meddev-threat-modeling/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does meddev-threat-modeling work with?
meddev-threat-modeling runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the meddev-threat-modeling skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use meddev-threat-modeling after installing it?
In Claude Code, type `/meddev-skills-meddev-threat-modeling` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the meddev-threat-modeling skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.