Index of every page on this site: llms.txt
All skills
h3xar0n avatar

/threat-model-assessor

@b1b34c0
Run it yourself

Plans feature architecture, functional requirements, and evaluates STRIDE security boundaries in Phase A Plan. Use when scoping new features or bug fixes, defining user stories and acceptance criteria, identifying trust boundaries, and generating or updating threat_model.md. Do not use for writing test assertions, implementing production code, or running local scanners.

  • 1 file
  • 2.6 KB
  • Updated 2 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/h3xar0n/secure-tdd-agent-framework/threat-model-assessor

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈99 tokens for metadata: the name and description. ≈551 when used: this file.

Description uses 5.0% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈396 characters, or 5.0%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Planning, Requirements & Threat Model Assessor Skill (Phase A: Plan Phase)

Overview

Decompose feature requirements, establish functional acceptance criteria, and map trust boundaries before any production code is authored. This skill pairs functional engineering scoping with STRIDE threat modeling at the planning stage, establishing the functional and security acceptance criteria consumed by downstream test writers.

System Sequence

  1. Ingest Context: Read CONTEXT.md to identify existing architecture, trust boundaries, approved libraries, and conventions.
  2. Decompose Requirements:
    • Define user stories, input/output data contracts, and functional acceptance criteria.
    • Break complex tasks into bite-sized, testable implementation stages.
  3. Apply STRIDE Threat Modeling:
    • Spoofing: Authentication boundaries, session validation, caller identity checks.
    • Tampering: Input payload validation, integrity checks, parameter tampering.
    • Repudiation: Audit logging of critical state transitions.
    • Information Disclosure: Restrict error responses, prevent stack trace leaks, mask PII/secrets.
    • Denial of Service: Resource limits, payload size constraints, timeout limits.
    • Elevation of Privilege: Role-Based Access Control (RBAC), caller authorization checks.
  4. Generate/Update threat_model.md:
    • Store or update threat_model.md at the workspace root with both Functional & Security Acceptance Criteria.

Target Output Artifact (threat_model.md)

# Feature Plan & Threat Model: [Feature Name]

## 1. Functional Scope & Requirements
- **Goal**: [Description of feature or bug fix]
- **Deliverables**: [Endpoints, functions, or modules to create/modify]
- **Functional Acceptance Criteria**: [Expected behaviors and outputs]

## 2. Entry Points & Data Inputs
- Endpoint / Input: [Path / Name]
- Format & Constraints: [Schema / Type]

## 3. Trust Boundaries & Access Controls
- Authentication: [Required / Public]
- Authorization Role: [User / Admin]

## 4. STRIDE Threat Matrix & Security Acceptance Criteria
- [STRIDE Category]: [Threat Description] -> [Required Mitigation & Test Assertion]

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at b1b34c0. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated 2 months ago

README badge

README badge for h3xar0n/secure-tdd-agent-framework/threat-model-assessor