/marq:threat-modelingfrom marq
Guides structured threat modeling using DFDs, STRIDE, attack trees, PASTA, and LINDDUN. Helps identify design-phase security flaws, turn threats into requirements and tests, and integrate into design reviews.
Ships in marq. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Threat modeling is structured paranoia applied at design time: find the flaws before they're built, when fixing them costs a sentence in a doc instead of a release. Four questions drive every method (Shostack's frame): What are we building? What can go wrong? What are we going to do about it? Did we do a good job? Everything below is machinery for answering #2 systematically instead of by gut.
load_skill appsec-sdlc.Most practical approach; STRIDE rides on top of it.
Microsoft's classification; apply each letter to each DFD element. Each maps to the security property it violates.
| Threat | Violates | Example |
|---|---|---|
| Spoofing | Authentication | Forged token, impersonated service |
| Tampering | Integrity | Modified request/data in transit or store |
| Repudiation | Non-repudiation | "I never did that": no audit trail |
| Information disclosure | Confidentiality | Leaked PII, verbose errors, IDOR |
| Denial of service | Availability | Resource exhaustion, lockout |
| Elevation of privilege | Authorization | User→admin, container escape |
These map directly to attacker techniques in the rest of the library: spoofing/EoP → auth/JWT flaws; info disclosure → IDOR; tampering/injection → SQLi, SSRF.
load_skill risk-assessment.https://linddun.org. Pairs with load_skill privacy-eu.Practical sequencing: start with STRIDE on a DFD (covers most teams), add LINDDUN when personal data is involved, reach for attack trees on the crown-jewel asset, graduate to PASTA as the program matures and needs business-impact linkage. Don't adopt PASTA as a first move; it stalls immature teams.
A threat that doesn't produce an artifact was theater. For each accepted threat:
load_skill appsec-sdlc) or an abuse/misuse case.DFD: Browser → (internet ‖ DMZ boundary) → Upload service → Object store; thumbnail Worker reads the store.
STRIDE walk on the upload flow:
LINDDUN overlay (personal data; the image may reveal identity/location): strip EXIF GPS (Identifying/Detecting), set retention + deletion (Non-compliance), tell the user what's stored (Unawareness).
Output: 6+ requirements, each with a test, before a line of code is written. That is the entire value: fix-in-design, not fix-in-prod.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub rhaist/marq --plugin marqOther plugins' skills for the same job
86 skills in this plugin
/actor-ttp-attributionGuides going from observed behavior or IOCs to a candidate threat actor and concrete MITRE ATT&CK technique IDs with calibrated confidence, starting from ORKL report search. Use when the user asks who is behind an attack, which APT or group matches observed TTPs, to map behavior to ATT&CK, or how confident an attribution is./ai-governanceGuides running an AI management system, covering ISO/IEC 42001 (with 42005/42006), NIST AI RMF and its profiles, the AI inventory and risk register, acceptable-use policy, model-vendor assessment, and how it evidences EU AI Act and AI-security duties. Use when the user asks about ISO 42001, NIST AI RMF, an AI policy or inventory, assessing an AI vendor, or AI governance for EU AI Act compliance./