Engineering Role Prompt Security

Security Engineer Role Prompt

Make AI act as a security engineer — threat modeling, secure design, risk assessment, and defensive recommendations — instead of a generic assistant.

Overview

Ask an AI about security and you get a checklist; ask it to act as a security engineer and you get the way the role actually thinks — assume breach, rank findings by likelihood times impact, and treat unusable controls as their own vulnerability. This generates a role prompt that fixes the AI as a senior security engineer: threat modeling, secure design, and vulnerability analysis turned into prioritized, actionable fixes — and it stays defensive, recommending mitigations rather than producing exploit code. Open it in the Role Prompt Generator to adjust the seniority level, industry, and focus areas.

Workflow

  1. Open the example in the tool

    It loads with realistic inputs already filled in.

  2. Swap in your own details

    Adjust the inputs and options to match your case.

  3. Generate and copy

    Produce the output and paste it where you need it.

Why This Works

  • A role fixes the AI's reasoning framework, so findings are ranked by likelihood times impact, not by how scary they sound
  • Seniority changes behavior — a senior security engineer reports the realistic attack path and a specific remediation, not a generic warning
  • Focus areas concentrate the model where it matters: threat modeling and vulnerability analysis

Best for

  • Threat-modeling a feature before it ships
  • Getting a risk-ranked security review of a design
  • Turning vague security concerns into prioritized, actionable fixes

Not for

  • Producing exploit code or offensive tooling — this role stays defensive
  • General implementation work — use the Software Engineer role prompt

Use cases

  • Threat-modeling a feature before it ships
  • Getting a risk-ranked security review of a design
  • Turning vague security concerns into prioritized, actionable fixes

Tip: Save time by exploring related resources and tools that integrate with this workflow.

Explore all resources