Skip to main content
SecurityReviewed Jul 21, 2026

SEC-THREAT-MODELING

We earn commissions when you shop through the links below.

Identify, prioritize, and mitigate security threats for medical devices, integrating with risk management and informing control selection.

v1.0.0New

Unsigned, install at your own risk

Unverified

This skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.

Install this skill

No account required. Pick your tool, or use the command that detects it for you.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install meddev-skills-sec-threat-modeling
Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/meddev-skills-sec-threat-modeling/SKILL.md

Setup guide →
0Save

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)

  1. Scope & Assets: Define assets (PHI, credentials, control channels) and trust boundaries. Rationale: focus analysis.
  2. Methodology: Apply STRIDE (or equivalent) to data flows/components; document threats and mitigations. Rationale: structured coverage.
  3. Prioritization: Rate threats by likelihood/impact; align with risk criteria; focus on high/critical. Rationale: actionable output.
  4. Controls Mapping: Map threats to controls (auth, crypto, logging, rate limits, updates); ensure ownership and implementation path. Rationale: closure.
  5. Validation: Include verification activities (tests, pen/DAST/fuzz) for high-risk threats. Rationale: evidence of mitigation.
  6. 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
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
meddev-authenticationDefine secure user/device authentication, session management, and RBAC suitable for medical device risk profiles. Use when working on authentication in medical device software.0 installsmeddev-state-machinesDefine explicit, testable state machines with safe states, controlled transitions, and error handling suited to medical device safety classes. Use when working on state machines in medical device software.0 installsmeddev-change-controlDefine controlled change-request workflow for software: impact analysis, approvals, verification scope, and regulatory submission flags. Configuration identification and baselines are in DOC-SCM (IEC 62304 Clause 8.1, 8.3); approved implementation and re-verification align with 8.2. Use when working on change control in medical device software.0 installsCONN-USBImplement safe USB device connectivity: class selection, enumeration handling, data validation, electrical and safety considerations.0 installsmeddev-ai-ml-medical-device-softwareAddress machine learning inside the regulated product (not LLM coding assistants): Good Machine Learning Practice (GMLP), training/validation data integrity, Predetermined Change Control Plans (PCCP) where applicable, drift monitoring, and linking models to ISO 14971 and software lifecycle controls. Use when working on ai ml medical device software in medical device software.0 installsTEST-HILValidate software with real or representative hardware, sensors, actuators, and timing, to uncover integration and safety issues not visible in simulation.0 installs

More from Medical Device Skills

View source →

More Security skills

Browse category →

Frequently asked questions about SEC-THREAT-MODELING

What does the SEC-THREAT-MODELING skill do?

Identify, prioritize, and mitigate security threats for medical devices, integrating with risk management and informing control selection. 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 SEC-THREAT-MODELING skill?

Run `npx @skills-hub-ai/cli install meddev-skills-sec-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-sec-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 SEC-THREAT-MODELING work with?

SEC-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 SEC-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 SEC-THREAT-MODELING after installing it?

In Claude Code, type `/meddev-skills-sec-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 SEC-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.