AI Blocks

Putting the blocks together

This is taking longer than expected.

Try againBrowse the library
AI Blocks · All skills by job · Minds · Mini tools · How it works · From a source · Apps

AI Blocks › Keep your code secure

Threat model writer

Point it at your code. Get a short threat model of what attackers could reach, how, and how to stop them.

Threat model writer is a free AI skill for the job "Keep your code secure". Give the instructions to an AI assistant that supports the required files and tools, then review its output.

Free · No account · Apache 2.0 licence · Made by OpenAI · Level: advanced · Thinking: high

Made by OpenAI. See the original on GitHub; we copied it as it is, with its licence.

What it does

A short, evidence-based threat model for your codebase: what is worth protecting, who might attack it, how they would get in, and what to do about it. It reads like an engineer's review, not a generic checklist. The skill maps your components, data stores and outside connections, and sets out trust boundaries and entry points such as endpoints and upload paths. It states what an attacker could realistically do and what they could not. Each threat is an abuse path tied to an asset and ranked by likelihood and impact. Before the final write-up it asks you to confirm its assumptions, such as who can reach the service. The result is saved as Markdown.

You give it

You get

Use it when

How to use it

  1. Add it to your AI once: download it and add the folder to Claude, ChatGPT or Codex as a skill.
  2. Ask for the job in your own words. Your AI opens the skill when it fits.
  3. It works best when your AI can read your project files.

More for Keep your code secure

Every keep your code secure skill