/viperclaw:viper-threat-model-stridefrom viperclaw
Generates STRIDE threat models, Mermaid Data Flow Diagrams, and risk matrices based on OWASP and Trail of Bits methodology. Useful for security audits and architectural risk assessment.
Ships in viperclaw. 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.
viper-threat-model-stride)flowchart LR
DFD["Map Entities, Flows & Trust Boundaries"] --> STRIDE["Apply S-T-R-I-D-E Per Boundary Crossing"] --> Control["Bind Preventive Code & Infra Controls"] --> Verify["Verify via ViperClaw SAST/DAST + Tests"]
viperclaw graph --db .viperclaw/graph.db --mermaid
viperclaw taint / viperclaw verify).| Category | Security Property | Primary Architectural Failure | Mitigating Control & ViperClaw Skill |
|---|---|---|---|
| Spoofing | Authentication | Tampered JWTs, missing webhook HMAC, weak OAuth/WebAuthn validation | viper-auth-oauth-jwt, viper-webauthn-passkey-mfa, viper-webhook-edr-hmac |
| Tampering | Integrity | SQL/Command injection, mass assignment, TOCTOU races, unsigned CI artifacts | viper-injection-oracle, viper-race-logic, viper-sbom-slsa-provenance |
| Repudiation | Non-Repudiation | Missing audit logs on privilege/financial actions, log injection | viper-logging-pii-compliance, viper-payment-stripe-pci |
| Information Disclosure | Confidentiality | Cross-tenant BOLA/IDOR, RAG vector bleed, hardcoded secrets, SSRF to IMDS | viper-bola-idor, viper-multitenant-isolation, viper-rag-vector-audit, viper-secrets-audit |
| Denial of Service | Availability | Unbounded GraphQL batching, ReDoS regex, missing Go/gRPC timeouts, malformed queues | viper-rate-limit-dos-resilience, viper-graphql-ws, viper-go-service-audit |
| Elevation of Privilege | Authorization | Missing BFLA role guards, iam:PassRole escalation, privileged K8s pods | viper-bola-idor, viper-aws-iam-cloud-audit, viper-container-k8s-audit |
flowchart LR
subgraph Public_Internet["Trust Boundary 1: Untrusted Public Clients"]
U["Browser / Mobile Client"]
W["External Webhook Sender"]
end
subgraph App_Tier["Trust Boundary 2: Application & API Tier"]
GW["API Gateway / Nginx"]
API["Core Backend Service"]
end
subgraph Data_Tier["Trust Boundary 3: Isolated Data & Secrets"]
DB[("PostgreSQL (RLS)")]
KMS["Cloud KMS / Secrets"]
end
U -->|"HTTPS + JWT / Cookie"| GW
W -->|"HTTPS + HMAC-SHA256"| GW
GW -->|"mTLS"| API
API -->|"Parameterized SQL + Tenant Context"| DB
API -->|"IAM Role / OIDC"| KMS
OWASP Threat Modeling, Microsoft STRIDE, NIST SP 800-154| Severity Tier | Baseline CVSS v3.1 Vector | Qualifying Security Impact |
|---|---|---|
| CRITICAL (9.0–10.0) | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | Unauthenticated remote code execution, cross-tenant authentication or isolation gap, or direct theft of funds/keys. |
| HIGH (7.0–8.9) | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | Authenticated privilege escalation, unauthorized sensitive data exposure, or single-request service outage. |
| MEDIUM (4.0–6.9) | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | Scoped information disclosure, non-admin state mutation, or configuration weakness requiring user interaction. |
| LOW (0.1–3.9) | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N | Defense-in-depth hardening gap requiring high precondition complexity and minimal direct impact. |
viperclaw graph --db .viperclaw/graph.db --mermaid and viperclaw verify to record the verified state in .viperclaw/graph.db.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub zahidoverflow/viperclaw --plugin viperclaw72 skills in this plugin
/viper-agent-skill-supplychainAI Agent Skill, Plugin & MCP Config Supply-Chain Auditor (modeled on NVIDIA SkillSpector & OWASP Agentic Skills Top 10). Audits SKILL.md bundles and MCP JSON configs./viper-ai-llm-guardrailsAI, LLM & MCP Application Security & Guardrails Auditor (OWASP LLM Top 10). Reviews prompt boundaries, RAG data isolation, tool-call authorization, and output sanitization./viper-api-gateway-apigee-kongAPI Gateway, BFF & Rate-Tier Policy Auditor (Kong, AWS API Gateway, Apigee, Envoy Gateway). Reviews JWT authorizers, backend origin lockdown, and route-level quotas.Other plugins' skills for the same job