AI Compare Ninja AI Compare Ninja

Compare AI tools. Use prompts and skills.

Language
EN

Quick threat model for a new feature

Prompt for a short threat model before building: data boundaries, the five main risks, a countermeasure and a test for each. Paste it into an AI tool of your choice, which then analyses the threats.

Topic
Tests & quality
Type
Prompt
Level
Intermediate
Time
about 10 min

Results depend on the tool, the model and what you enter.

Result preview

Example: written by our editors, not real AI output.

Parts: upload form → API → storage → preview for case workers Worth protecting: uploaded ID documents, accounts, availability Top 5 1. Fetching someone else's file via a guessable ID · random IDs, permission check on every fetch · test: fetch with another account returns 404 2. Malicious content in a file · check type on the server, render previews separately · test: renamed HTML file is rejected 3. Huge uploads take the service down · size and rate limits · test: a 2 GB file is stopped early 4. Case worker sees too much · roles per client · test: role B cannot see files of A 5. No record of who deleted what · audit log · test: deletion appears in the log Open: how long are files kept?

Fill in

What you type stays in this browser window. We store and send nothing.

Describe the planned feature
Which data is involved?
Who uses the feature?

Your prompt

This is an instruction for an AI, not the result itself.

Where this prompt works

These AI tools are a good fit for this prompt:

How to use it

  1. Fill in the fields or tap a suggestion. Leave out names, addresses and other personal data.
  2. Copy the finished prompt into an AI tool of your choice.
  3. Add the five countermeasures to the plan as tasks and have a second person read the analysis.

Why does this work?

Asking the same questions at every data boundary is a proven grid that reveals gaps a normal read of the requirement misses. Limiting it to five risks with a test turns it into work that actually happens.

Tips

  • This does not replace a security review by specialists. Health or payment data comes with special obligations; clarify them with whoever is responsible for data protection or security.

Part of these agents

Secret guard agent

Also a good fit

You may use our prompts freely, including at work. Please do not republish them as your own collection. We give no warranty for AI results; check them yourself. Terms of use