threat-model:tnf

Analyze pull requests for TNF security threats using STRIDE and DFD mappings.

7|15|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/openshift-eng/edge-tooling --skill threat-model-tnf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: threat-model:tnf
Source: https://github.com/openshift-eng/edge-tooling/tree/main/plugins/threat-model/skills/tnf
Command: npx skills add https://github.com/openshift-eng/edge-tooling --skill threat-model-tnf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps reviewers and security engineers identify and document security threats introduced by a pull request for the TNF (Two-Node Fencing) topology, producing a structured, standards-based threat report instead of relying on ad-hoc reasoning.

Core Features & Use Cases

  • PR threat analysis for TNF changes: Scans a PR’s changed files for security-relevant patterns and produces a TNF-specific report.
  • STRIDE + DFD element mapping: Maps PR changes to TNF DFD elements and applies per-element STRIDE reasoning tied to the formal TNF threat model.
  • MITRE ATT&CK and OWASP cross-references: Links findings to MITRE techniques and OWASP 2025 categories for consistent security communication.
  • Evidence accumulation with a findings tracker: Appends results into a cumulative TNF findings file for repeatable review over time.

Quick Start

Run the command: /threat-model:tnf 2136 to analyze PR #2136 for TNF security threats and generate a mapped, structured report.

Frequently Asked Questions about threat-model:tnf

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

FAQPage Schema
How do I analyze a pull request for TNF security threats using STRIDE?

To analyze a TNF pull request for security threats using STRIDE, run the threat-model command with the PR number. It extracts diffs, maps changed code paths to TNF DFD elements, applies STRIDE reasoning, and generates a structured report.

How are MITRE ATT&CK and OWASP mappings generated for TNF pull request changes?

MITRE ATT&CK and OWASP mappings are generated by cross-referencing identified security threats from the PR diff against formal standards. The analysis links each finding to specific MITRE techniques and OWASP 2025 categories for consistent reporting.

Can I map changed code paths in a PR to TNF data flow diagram elements?

Yes, you can map changed code paths to TNF data flow diagram elements. The threat analysis extracts PR diffs and metadata to cross-reference the formal TNF threat model, identifying affected processes, data stores, and flows.

Does the TNF threat model analysis run ShellCheck on pull request changes?

Yes, the TNF threat model analysis optionally runs ShellCheck on pull request changes. It executes workspace discovery, extracts PR diffs, and runs ShellCheck to identify potential security vulnerabilities in modified shell scripts.

What is the best way to track cumulative TNF security findings across multiple pull requests?

The best way to track cumulative TNF security findings is by appending analysis results into a cumulative TNF findings file. This evidence accumulation approach maintains a historical record for repeatable review and follow-up triage over time.

When do I need a formal TNF threat model for pull request security reviews?

You need a formal TNF threat model for pull request security reviews when you want to replace ad-hoc reasoning with structured, standards-based threat analysis. It ensures consistent identification of security risks introduced by code changes in the TNF topology.