threat-model

Review authentication flows and system designs for security vulnerabilities.

Updated Feb 17, 2026
One-click install
npx skills add https://github.com/Objective-Arts/lens-dist --skill threat-model-objective-arts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: threat-model
Source: https://github.com/Objective-Arts/lens-dist/tree/main/canon/threat-model
Command: npx skills add https://github.com/Objective-Arts/lens-dist --skill threat-model-objective-arts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you proactively identify and mitigate security vulnerabilities by adopting an attacker's mindset and applying structured threat modeling frameworks.

Core Features & Use Cases

  • Security Mindset Shift: Encourages thinking about how systems can break, not just how they work.
  • Threat Modeling Framework: Guides through identifying assets, adversaries, and attack paths.
  • Defense Principles: Outlines key security concepts like defense-in-depth and least privilege.
  • Use Case: Reviewing a new authentication flow to ensure it's resilient against common attacks before deployment.

Quick Start

Use the threat-model skill to identify potential security risks in the new user registration process.

Frequently Asked Questions about threat-model

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is threat modeling and how does it improve secure design?

Threat modeling is a structured process that adopts an attacker's perspective to proactively identify vulnerabilities in system designs. It improves secure design by shifting your mindset to analyze how systems can break, mapping out assets, adversaries, and attack paths before deployment.

How do I review an authentication flow for security vulnerabilities?

To review an authentication flow for security vulnerabilities, apply a threat modeling framework to evaluate security controls against common attack vectors. This involves identifying assets, mapping potential attack paths, and verifying principles like defense-in-depth and least privilege are implemented.

How do I perform a risk assessment on a new system architecture?

Performing a risk assessment on a new system architecture requires evaluating security economics and defense principles from an attacker's mindset. You identify critical assets, profile potential adversaries, and trace attack vectors to expose vulnerabilities requiring mitigation.

When do I need to apply threat modeling to evaluate security controls?

You need to apply threat modeling to evaluate security controls during the security architecture review phase of system design. It is specifically required when assessing new authentication flows or verifying resilience against common attack vectors before deployment.

What are the limitations of adopting an attacker mindset for vulnerability analysis?

The limitation of adopting an attacker mindset for vulnerability analysis is that it requires a deep understanding of security economics, defense principles, and common attack vectors. Without this prerequisite knowledge, identifying subtle vulnerabilities in complex system designs becomes difficult.