Pretext engineering

From PurpleAILAB/Decepticon · View interactive version

Pretext engineering is an AI agent skill from the GitHub repository PurpleAILAB/Decepticon. Design a credible phishing pretext and target shortlist from OSINT before any campaign is built — sender persona, scenario, timing, and the minimal target set.

How to use this skill

Skill file

Pretext Engineering

The pretext is the campaign. A technically perfect evilginx2 proxy

behind an implausible story converts nobody and burns the engagement.

Design the story first, from real OSINT, then pick the smallest target

set that proves the objective.

Inputs

VIP exclusions, data_handling.

email format, tech stack, current events (mergers, migrations).

Build the pretext

  1. Pick a scenario the target already expects. The best pretexts

ride a real process: an in-progress SSO/MFA migration, a benefits

open-enrollment window, a shared-document notification from a tool

the org actually uses (read the tech stack from OSINT).

  1. Choose the sender persona. Internal IT, a known SaaS vendor, or

a real internal sender — but ONLY impersonate an internal employee

if plan/roe.json:permitted_actions allows it.

  1. Define the call to action. One click → the lure domain. Keep it

single-step.

  1. Set timing. Match send-time to the scenario (e.g. Monday

09:00 for an "IT maintenance this week" lure) and the engagement

opsec_level send rate.

Target shortlist

detection window before scaling).

target an engineer with console access, not reception).

Forbidden lure patterns

these spike helpdesk volume and break blue-team coverage.

Output

Write plan/phisher/pretext.md (scenario, persona, CTA, send window,

target shortlist with rationale) and create the target User nodes in

the knowledge graph. This file is the input to gophish-campaign /

evilginx2-proxy and to the mandatory lure-deconfliction handshake.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.