NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Auspex: Building Threat Modeling Tradecraft into an Artificial Intelligence-Based Copilot

Andrew Crossman, Andrew R. Plummer, Chandra Sekharudu, Deepak Warrier, Mohammad Yekrangian

TL;DR

This paper introduces Auspex, an AI-powered copilot that automates threat modeling by encoding expert "tradecraft" knowledge into prompts. It significantly speeds up the process from weeks to minutes, producing threat matrices that are well-received by cybersecurity experts.

What Problem Does This Paper Address?

Traditional threat modeling is a complex, time-consuming, and resource-intensive process that requires significant expertise. This often leads to delays, inconsistencies, and a lack of standardization, especially in fast-paced software development environments. Existing automated tools often lack the nuanced understanding of real-world threat modeling practices, and their effectiveness is rarely validated by actual threat modelers. The paper aims to bridge this gap by creating an AI system that not only automates the process but also captures the invaluable, on-the-ground knowledge of experienced threat modelers.

Methods

Auspex employs a two-stage process driven by "tradecraft prompting," a novel approach that encodes expert knowledge directly into prompts for generative AI models.

  • Stage 1: Solution Description Generation: This stage ingests system representations (architecture diagrams or textual descriptions) and uses tradecraft prompts to generate a detailed "solution description." This description includes architecture details, key features, and in-scope components, effectively characterizing the system for threat analysis.
  • Stage 2: Threat Matrix Generation: The solution description is then fed through a series of chained tradecraft prompts. These prompts are tailored to specific cybersecurity roles (e.g., threat modeler, cloud security analyst) and encode knowledge about frameworks like STRIDE and the CIA Triad. This process generates a threat matrix, which lists threat scenarios, their CIA and STRIDE classifications, and potential mitigations.

A key aspect of Auspex is its modularity and flexibility, allowing it to incorporate various threat modeling frameworks and its reliance on prompt engineering rather than fine-tuning or agent-based add-ons, making it lightweight and extensible.

Datasets

The paper does not explicitly mention training datasets for the generative AI models. However, for evaluation, they used a dataset of eight real banking systems that had been manually threat-modeled by subject matter experts at J.P. Morgan Chase. This dataset, denoted as Q, was selected for its representative size and complexity.

Key Insights and Ideas

  • Tradecraft Prompting is Key: The core innovation is encoding expert "tradecraft" directly into prompts, allowing AI to mimic the nuanced decision-making and knowledge of experienced threat modelers without extensive fine-tuning.
  • Speed and Efficiency: Auspex dramatically reduces the time required for threat modeling from weeks/months to minutes, enabling faster integration into development cycles.
  • Expert Validation: The evaluation by cybersecurity subject matter experts is crucial, demonstrating that the AI-generated threat models are not only fast but also perceived as clear, useful, and realistic by practitioners.
  • Modularity and Extensibility: The system's design allows for easy adaptation to different frameworks and future enhancements, making it a foundational tool rather than a rigid solution.

Key Results

  • Expert Agreement: Subject matter experts largely agreed that Auspex produces clear and understandable threat scenarios and enhances the overall threat modeling experience.
  • Realistic Threats: Six out of eight experts reported that the generated threat scenarios reflected realistic security threats.
  • Low Categorization Errors: Hamming loss for STRIDE and CIA categorization was very low (0 to 0.23), indicating that threat modelers found the AI's classifications accurate with minimal need for correction.
  • False Positives vs. Unrealistic Threats: False positives in threat scenarios were predominantly associated with threats judged as unrealistic, suggesting the AI is not generating entirely fabricated threats but rather misclassifying or over-identifying less relevant ones.

Limitations and Future Work

  • System S7 Outlier: One system (S7) showed a slight deviation in expert feedback, identified as a platform-level system rather than an application-level one, suggesting a need for better handling of different system scopes.
  • Future Work: The authors plan to mature Auspex by:
  • Backend Technical Path: Incorporating agent frameworks, fine-tuning methods, and grounding methods to further enhance performance.
  • "Shift Left" Pathway: Initiating threat modeling earlier in the technical planning phases and expanding its scope to business development and organizational-level strategy.
  • Broader Categorization: Exploring interactions with more complex categorization tasks like hierarchical MITRE ATT&CK classifications.

Summary updated

BibTeX
@inproceedings{crossman2025auspex,
  author = {Andrew Crossman and Andrew R. Plummer and Chandra Sekharudu and Deepak Warrier and Mohammad Yekrangian},
  title = {{Auspex: Building Threat Modeling Tradecraft into an Artificial Intelligence-Based Copilot}},
  booktitle = {CAI},
  year = {2025},
  doi = {10.1109/cai64502.2025.00201},
}
Figure