AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Threat Modeling

skill-jamestorrevillas-dev-skills-threat-modeling · by jamestorrevillas

Use this skill when identifying security threats, designing secure systems, thinking like an attacker, performing security assessments, or applying STRIDE threat modeling. Trigger on keywords: threat model, security design, attack surface, STRIDE, vulnerabilities by design, security review, who can attack this, what could go wrong security-wise.

No reviews yet
0 installs
14 views
0.0% view→install

Install

$ agentstack add skill-jamestorrevillas-dev-skills-threat-modeling

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-jamestorrevillas-dev-skills-threat-modeling)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Threat Modeling? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Threat Modeling

Core Mindset

Think like an attacker, build like a defender.

Threat modeling is done BEFORE building, not after. Security retrofitted is always weaker and more expensive than security designed in.


The STRIDE Framework

For every component, ask: can an attacker do this?

| Threat | Definition | Example | |---|---|---| | Spoofing | Pretend to be someone else | Forged JWT token | | Tampering | Modify data in transit or at rest | SQL injection, request body modification | | Repudiation | Deny performing an action | No audit log of who deleted a record | | Information Disclosure | Access data they shouldn't | Over-fetching API, verbose error messages | | Denial of Service | Make system unavailable | No rate limiting on auth endpoint | | Elevation of Privilege | Gain unauthorized access level | IDOR (accessing other users' data) |


Threat Modeling Process

1. DEFINE SCOPE       — What are we modeling? (feature, service, system)
2. IDENTIFY ASSETS    — What are we protecting? (data, services, credentials)
3. DRAW DATA FLOWS    — How does data move through the system?
4. IDENTIFY THREATS   — Apply STRIDE to each component and data flow
5. ASSESS RISK        — Likelihood × Impact for each threat
6. MITIGATE           — For each high-risk threat, define a control
7. VERIFY             — Confirm controls are implemented and working

Attack Surface Analysis

For any new feature, identify:

  • Entry points — Where does user input enter the system?
  • Trust boundaries — Where does data cross privilege levels?
  • Data stores — What sensitive data is stored and where?
  • External dependencies — What third-party services are called?

OWASP Top 10 (Quick Reference)

| # | Threat | Quick Check | |---|---|---| | A01 | Broken Access Control | Is every endpoint checking authorization? | | A02 | Cryptographic Failures | Is sensitive data encrypted at rest and in transit? | | A03 | Injection | Are all queries parameterized? All inputs validated? | | A04 | Insecure Design | Was security considered in the design phase? | | A05 | Security Misconfiguration | Are defaults hardened? Are secrets in env vars? | | A06 | Vulnerable Components | Are dependencies up to date? Any known CVEs? | | A07 | Auth Failures | Is auth implemented correctly? Session management secure? | | A08 | Software Integrity | Are supply chain and build pipeline trusted? | | A09 | Logging Failures | Are security events logged? Are logs protected? | | A10 | SSRF | Can users cause server to make requests to internal resources? |


Security Design Principles

  • Least Privilege — Every component gets only the permissions it needs
  • Defense in Depth — Multiple layers of security, no single point of failure
  • Fail Secure — When something breaks, it should fail closed (deny access), not open
  • Zero Trust — Never trust, always verify — even internal services
  • Minimize Attack Surface — Less exposed = less exploitable

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.