Skip to content

Free AI Hacking Course: Indirect Prompt Injection (+FREE LABS)

Free AI Hacking Course: Indirect Prompt Injection (+FREE LABS).

Summary

Core concept

NahamSec and Mike Toxic frame indirect prompt injection as planting instructions in attacker-controlled content—email, websites, PDFs, repos, calendar invites—that a victim's AI agent later reads and executes, enabling realistic external-attacker bug-bounty scenarios.

Guardrails

Many testers stop after basic payloads hit input/output filters; the course focuses on bypassing both with framing, obfuscation, and encoding to turn refusals into working exploits.

Lab design

Free HackingHub labs recreate a $3,000 bounty pattern: exfiltrating a password-reset token from a victim inbox via an AI connector, with three escalating levels adding stronger models and dual guardrails.

Delivery vectors

Common realistic paths include website summarization, file uploads, code/README comments, and any connector ingesting external content. Payload complexity varies by model capability and how external tool output is delimited inside the giant system prompt.

Related talks