security-threat-model-davila7

Analyze code repositories to identify attack surfaces and produce prioritized threat reports.

2|1|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/gil-kapel/cursor-course-2026 --skill security-threat-model-davila7
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-threat-model-davila7
Source: https://github.com/gil-kapel/cursor-course-2026/tree/main/course/he_course/module-02-skills-and-agents/lesson-2.8-security-agent/bundled-skills/security-threat-model-davila7
Command: npx skills add https://github.com/gil-kapel/cursor-course-2026 --skill security-threat-model-davila7

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables security engineers to generate precise, evidence-backed threat models tailored to specific codebases, identifying attacker goals, attack surfaces, and security gaps to enhance application security.

Core Features & Use Cases

  • System Modeling: Summarizes system components, data flows, and trust boundaries based on repo evidence.
  • Threat Enumeration: Produces detailed, system-specific abuse paths and vulnerabilities with prioritization.
  • Risk Prioritization: Assigns likelihood, impact, and overall severity using explicit criteria.
  • Mitigation Planning: Recommends targeted controls and focuses review efforts on high-risk areas.
  • Use Case: Security teams examining a new microservice can quickly understand core attack vectors and focus manual reviews on critical files or components.

Quick Start

Use the threat model skill to analyze the code repository and identify potential security risks, focusing on identified entry points, trust boundaries, and assets.

Frequently Asked Questions about security-threat-model-davila7

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

FAQPage Schema
How do I generate a threat model from a code repository?

Threat modeling for application security involves analyzing code repositories to identify attack surfaces, trust boundaries, and security risks. This Skill produces prioritized threat reports and review paths to guide security assessments based on repo evidence.

How do I prioritize security risks identified during system analysis?

You prioritize security risks by assigning likelihood, impact, and overall severity using explicit criteria. This process produces detailed, system-specific abuse paths and vulnerabilities with prioritization to focus review efforts on high-risk areas.

Can I use threat modeling to find attack surfaces in a new microservice?

Yes, threat modeling can find attack surfaces in a new microservice. By examining system components and data flows, security teams can quickly understand core attack vectors and focus manual reviews on critical files or components.

What inputs are required for repository-specific threat modeling?

Repository-specific threat modeling requires inputs from repo summaries and evidence of system components, data flows, and controls. These inputs are necessary to produce concrete, evidence-based threat stories and accurate security risk assessments.

What is the best way to guide security assessments for application security?

The best way to guide security assessments for application security is to generate prioritized threat reports and review paths based on evidence-backed threat models. This approach identifies attacker goals, attack surfaces, and security gaps tailored to specific codebases.