agentleFS
cellrishi-codecellrishi-code/claude-skills-atlas/skills/cybersecurity/threat-modeling/SKILL.md

threat-modeling

Skill4 starsChanged 59 days agoMITView on GitHub

29 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use supply-chain-security, performance-profiling and 7 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    supply-chain-security

    Activate when reviewing or modifying dependency resolution, lockfile schema, package downloaders, signature/integrity checks, file integration cleanup, or anything that could expose APM to dependency confusion, typosquatting, malicious packages, or token leakage.

    Also in 3 projects that use this

  • conorluddySkill

    performance-profiling

    Instruments integration and performance analysis workflows for iOS apps. Use when profiling CPU usage, memory allocation, network activity, or energy consumption. Covers Time Profiler, Allocations, Leaks, Network instruments, and performance optimization strategies.

    Also in 3 projects that use this

  • fefogarciaSkill

    dependency-audit

    Comprehensive dependency health auditing for JavaScript/TypeScript projects. Run npm audit, detect outdated packages, check for security advisories, and verify license compliance. Prioritises vulnerabilities by severity and provides actionable fix recommendations.

    Also in 4 projects that use this

  • AnthropicSkill

    incident-response

    Run an incident response workflow — triage, communicate, and write postmortem. Trigger with "we have an incident", "production is down", an alert that needs severity assessment, a status update mid-incident, or when writing a blameless postmortem after resolution.

    Also in 5 projects that use this

  • SentrySkill

    architecture-review

    Staff-level codebase health review. Finds monolithic modules, silent failures, type safety gaps, test coverage holes, and LLM-friendliness issues.

    Also in 4 projects that use this

  • OpenAISkill

    observability

    Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 27 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use during feature planning, architecture reviews, major dependency changes, or before exposing a new service or API.

    line 13
  2. Distinctive:

    Consider relevant threat categories: spoofing, tampering, repudiation, information disclosure, denial of service, and elevation of …

    line 20

“Common” is measured: kept by at least 6 in 10 of the 27 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Lightweight Threat Modeling

Purpose

Help teams identify security risks early by systematically examining assets, trust boundaries, threats, and mitigations.

When to use

Use during feature planning, architecture reviews, major dependency changes, or before exposing a new service or API.

Instructions

  1. Define the system boundary, intended use, deployment context, and explicit exclusions.
  2. List important assets, such as credentials, personal data, business records, and privileged operations.
  3. Draw or describe components, data flows, entry points, external services, and trust boundaries.
  4. For each flow, ask who can send input, what is trusted, what authorization is enforced, and what happens on failure.
  5. Consider relevant threat categories: spoofing, tampering, repudiation, information disclosure, denial of service, and elevation of privilege.
  6. Rank each threat using likelihood, impact, assumptions, and existing controls. Do not imply numeric precision without a defined scoring method.
  7. Recommend mitigations that map directly to threats and identify an owner or verification test where possible.
  8. Revisit the model when system boundaries, data sensitivity, or trust assumptions change.

Inputs

  • System purpose and architecture
  • Data-flow description or diagram
  • Assets and trust boundaries
  • Deployment assumptions and existing controls

Outputs

A concise threat register containing the threat, affected asset or flow, assumptions, impact, existing controls, recommended mitigation, and validation approach.

Example

For a file-upload service, examine file type and size validation, storage permissions, malware scanning, access checks on downloads, and resource-exhaustion limits.

Limitations

A threat model identifies plausible risks; it does not prove that a vulnerability exists. Validate important assumptions against implementation and deployment evidence.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.