sc2-threat-model

Convert recon data into STRIDE threat models and attack trees.

Updated Jun 23, 2024
One-click install
npx skills add https://github.com/n4igme/randscript --skill sc2-threat-model
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sc2-threat-model
Source: https://github.com/n4igme/randscript/tree/main/llm/skills/scode/sc2-threat-model
Command: npx skills add https://github.com/n4igme/randscript --skill sc2-threat-model

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Recon reports and software reconnaissance often lack structured threat context. This skill converts recon output into a formal threat model, enabling consistent threat identification and prioritization for vulnerability testing and defense planning.

Core Features & Use Cases

  • Identify threat actors and potential attack surfaces based on recon data.
  • Apply STRIDE analysis to each recon entry to categorize risks.
  • Build attack trees and prioritize high-value targets for remediation.
  • Generate a comprehensive threat-model document for stakeholder review and remediation planning.

Quick Start

Run the sc2-threat-model script on the recon.md file to generate assessment/threat-model.md.

Frequently Asked Questions about sc2-threat-model

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

FAQPage Schema
How do I transform recon data into a structured threat model for bug bounty?

To transform recon data into a threat model, provide a recon.md file to generate a formal threat-model.md document. The process identifies threat actors and attack surfaces, applying STRIDE analysis to categorize risks and build attack trees for prioritized remediation.

What is STRIDE analysis and how does it apply to software security analysis?

STRIDE analysis is a framework used in software security analysis to categorize threats like spoofing, tampering, and denial of service. In threat modelling, it applies to each recon entry to systematically identify and document security risks for vulnerability testing.

Can I build attack trees automatically from reconnaissance reports?

Yes, you can build attack trees from reconnaissance reports by processing recon data through a deterministic workflow. This approach converts raw software reconnaissance into structured attack trees to prioritize high-value targets for remediation.

Do I need a specific recon.md file format to generate a threat model?

You need a recon.md file as the required input, as the workflow validates required inputs before processing. The script reads this reconnaissance data to identify threat actors and output the formal threat-model.md document.

How do I prioritize security remediation across identified threat actors?

Prioritize security remediation by using attack trees generated from your recon data to highlight high-value targets. The formal threat model documents these prioritized risks, enabling consistent vulnerability testing and defense planning for stakeholders.

Why does my threat model generation fail before processing starts?

Threat model generation fails when the workflow cannot validate required inputs before processing. You must ensure your recon.md file contains the necessary software reconnaissance data so the script can successfully generate the threat-model.md output.