regulatory-threat-model
Use when an application or system — including one built quickly with AI coding agents — needs a security review with regulatory grounding: a STRIDE threat model, a LINDDUN privacy threat model, a dependency exposure screen against live CVE / CISA-KEV / EPSS data, or a selected, non-exhaustive screen of which EU security obligations (GDPR, NIS2, Cyber Resilience Act, AI Act) may apply and which need determination. Orchestrates the server-enforced threat-modeling workflows of the Ansvar Gateway MCP connector and grounds every regulatory statement in officially published text fetched at answer ti
npx skills add lawve-ai/awesome-legal-skills --skill regulatory-threat-model-ansvar-ai --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
What it does
The skill acts as an orchestrator for security threat-modeling workflows that are run on a server-enforced engine. It produces outputs including STRIDE threat modeling, LINDDUN privacy threat modeling when personal data flows exist, a dependency exposure screen using live vulnerability data, and a non-exhaustive screen of EU security obligations (GDPR, NIS2, Cyber Resilience Act, AI Act) with scope, role, and application-date limits stated. Each regulatory statement is grounded in officially published text fetched at answer time, with sources and unresolved items visible; the deliverable is a report suitable for customers, auditors, or investors, not a chat transcript or a compliance verdict.
The threat-modeling workflows are executed through the Ansvar Gateway's workflow engine, which enforces steps and quality gates server-side. The agent's job is to feed the engine well and ground the regulatory layer; it is never the engine.
How it works
- Requires connection to the Ansvar Gateway MCP connector: https://gateway.ansvar.eu/mcp with OAuth 2.1 and Dynamic Client Registration. Works with various surfaces per setup guides.
- On every plan, uses tools:
get_my_capabilities,search,get_provision,search_cve,get_cve_details,get_epss_score,check_kev_status,get_data_freshness, andlist_workflow_types. - For modeling runs (Premium plan and above):
start_workflow,get_current_step,submit_response,get_progress,generate_report,resume_workflow,cancel_workflow. - If gateway tools are unavailable, it informs the user to connect the gateway and does not produce a substitute review.
- Ground rules require that regulatory statements come from fetched text with full provisions read via
get_provision, and only URLs from official publishers are used. - It enforces a strict boundary between workflow outputs and free-text data, quoting and citing all data from tool outputs and serving only structured results from the engine.
- Before starting a workflow, it re-checks capabilities and obtains explicit user consent, explaining run consumption and remaining quota per step as required.
When to use it
- Use when a server-enforced security review with regulatory grounding is needed: STRIDE threat model, LINDDUN privacy threat model, a live dependency exposure screen, and a screen of applicable EU obligations.
- Activate when the user requires the deliverable to include sources and unresolved items visible, not a raw model memory answer, and when grounding statements in official text is essential.
What it can touch
- Tools:
get_my_capabilities,search,get_provision,search_cve,get_cve_details,get_epss_score,check_kev_status,get_data_freshness,list_workflow_types,start_workflow,get_current_step,submit_response,get_progress,generate_report,resume_workflow,cancel_workflow. - It interacts with the Ansvar Gateway MCP connector URL: https://gateway.ansvar.eu/mcp.
Caveats
- The workflow runs are server-enforced; if the gateway plan cannot run them, the skill falls back to a free lane delivering intake, scoping worksheet, dependency screen, and obligations screen only.
- Regulatory statements must come from fetched text with instrument and source_url; it will fetch full provisions via
get_provisionbefore making dispositive statements. - The output is a report, not a chat transcript or a compliance verdict, and it cites sources for every obligation.
# Regulatory Threat Model (STRIDE + LINDDUN) Software gets built faster than it gets reviewed — especially software built by prompting an AI agent. This skill turns the same agent into the orchestrator of a real security review: a server-enforced STRIDE threat model, a LINDDUN privacy threat model when personal data flows, a dependency exposure screen against live vulnerability data, and a selected, non-exhaustive screen of EU security obligations — each obligation cited from served legal text with its scope, role, and application-date limits stated. The deliverable is a report the user can put in front of a customer, an auditor, or an investor — with its sources and unresolved items visible; not a chat transcript, and not a compliance verdict. The threat-modeling workflows run on the Ansvar Gateway's workflow engine, which enforces steps and quality gates server-side. The agent's job is to feed the engine well and to ground the regulatory layer; it is never the engine. ## Requirements - The **Ansvar Gateway** MCP connector must be connected: `https://gateway.ansvar.eu/mcp` (OAuth 2.1 with Dynamic Client Registration; signup at https://ansvar.eu). Works in MCP-capable agents (Claud
- Requirements
- Ground rules (non-negotiable)
- Workflow
- Step 0 — Plan check
- Step 1 — Intake (staged)
- Step 2 — STRIDE run (Premium and above)
- Step 3 — LINDDUN run (Premium and above, when personal data flows)
- Step 4 — Dependency exposure screen (all plans)
- Step 5 — Security-obligations screen (all plans)
- Step 6 — Deliverable
- Verified call shapes
- Plan notes
What does the regulatory-threat-model skill do?
Use when an application or system — including one built quickly with AI coding agents — needs a security review with regulatory grounding: a STRIDE threat model, a LINDDUN privacy threat model, a dependency exposure screen against live CVE / CISA-KEV / EPSS data, or a selected, non-exhaustive screen of which EU security obligations (GDPR, NIS2, Cyber Resilience Act, AI Act) may apply and which need determination. Orchestrates the server-enforced threat-modeling workflows of the Ansvar Gateway MCP connector and grounds every regulatory statement in officially published text fetched at answer ti
How do I install it?
Run `npx skills add lawve-ai/awesome-legal-skills --skill regulatory-threat-model-ansvar-ai --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From lawve-ai/awesome-legal-skills, a repository with 618 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
