Large-Scale AI Red Teaming Competition Platform for Production Model Security
hackaprompt,_learnprompting · Tech · 2024 · source Agentic: no · promotional bias: med · source-backed · extracted with prompt 0.5.6 (schema v2)
Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.
Problem
Domain: AI red teaming and prompt-injection security
HackAPrompt and LearnPrompting addressed the lack of systematic prompt-engineering education and production AI red-teaming data. The central security problem is that LLM and agent systems can be manipulated through prompts, prompt injection, jailbreaks, obfuscation, and model-specific behavior in ways that classical security controls do not fully solve.
Constraints:
- prompt engineering remains central to prompted systems, chains, and agents
- prompting performance varies by wording, examples, order, model, and benchmark harness
- prompt injection and jailbreaking are not cleanly solvable with a single system prompt
- AI security is probabilistic and nondeterministic rather than a binary patched/unpatched state
- attacks can transfer across models and defenses
- powerful agents need adversarial robustness before they can safely operate on the open internet or physical world
- security data needs to be collected at scale and shared with labs for model improvement
Architecture
LearnPrompting provides prompt-engineering education and systematic technique taxonomy, while HackAPrompt runs red-teaming competitions and releases attack datasets. The workflow combines public education, systematic literature review, manual and automated prompt benchmarks, competition infrastructure, open-source attack data, attack-taxonomy development, and collaboration with labs and researchers. The platform collects adversarial prompts, analyzes attack techniques such as obfuscation and model-transfer behavior, and feeds that data back to major labs to benchmark and improve model defenses.
Diagram confidence: reconstructed (reconstructed from prose).
flowchart LR learn["LearnPrompting education platform"] --> users["Prompt engineering users"] learn --> report["Prompt Report taxonomy"] users --> report report --> bench["Manual and automated benchmarks"] hack["HackAPrompt competition platform"] --> dataset["Attack dataset"] hack --> taxonomy["Attack taxonomy"] dataset --> labs["AI labs and researchers"] taxonomy --> labs labs --> agents["Production agents"]
Components
| Component | Role | Interacts with |
|---|---|---|
LearnPrompting education platform |
Open educational platform teaching prompt engineering to a global audience. | Prompt Report taxonomy, Prompt engineering users |
Prompt engineering users |
Nontechnical and technical users applying conversational or production prompt engineering. | LearnPrompting education platform, Prompt Report taxonomy |
Prompt Report taxonomy |
Systematic review and taxonomy of prompt components, prompting techniques, and agentic techniques. | LearnPrompting education platform, Manual and automated benchmarks |
Manual and automated benchmarks |
Comparisons of prompting techniques, human prompt engineering, automated prompt engineering, and human refinement. | Prompt Report taxonomy |
HackAPrompt competition platform |
Red-teaming competition infrastructure that collects prompt-injection and jailbreak attempts. | Attack dataset, Attack taxonomy |
Attack dataset |
Open-source corpus of adversarial prompts used for benchmarking and improving model security. | HackAPrompt competition platform, AI labs and researchers |
Attack taxonomy |
Ontology of attack techniques such as obfuscation, multilingual attacks, and multimodal variants. | Attack dataset, AI labs and researchers |
AI labs and researchers |
Organizations using red-team data to benchmark and improve models and defenses. | Attack dataset, Attack taxonomy |
Production agents |
Downstream systems whose safe deployment depends on adversarial robustness against prompt injection. | AI labs and researchers |
Data flow
Prompt-engineering knowledge is collected into LearnPrompting and the Prompt Report, where researchers taxonomy prompt components and techniques and benchmark selected methods. HackAPrompt then collects adversarial prompts from competitions, open-sources the resulting dataset, analyzes successful attack techniques, and shares the data with labs, nonprofits, companies, and independent researchers. Those organizations use the dataset to benchmark and improve models, while new competitions continue collecting examples for prompt injection, jailbreak, and agentic security research.
4 supporting quotes
Why this architecture
The architecture combines education, benchmarking, competitions, and data sharing because prompt engineering and AI security are empirical fields: prompts do not transfer predictably, benchmark results depend on harnessing, attack success is nondeterministic, and defenses cannot be proven complete. Large competition datasets provide the empirical attack coverage needed for labs to benchmark and improve model behavior.
4 supporting quotes
Models used: GPT-3 · GPT-4 · GPT-3.5 Turbo · ChatGPT · Claude · Gemini · reasoning models · DSP · automated prompt engineering models · red-team attacker models
Scale
- LearnPrompting grew from 10,000 users in a week to 100,000 in a month and then millions.“within I think like a week we had 10,000 users uh a month 100,000 and a couple months millions”transcript, stated
- The Prompt Report involved about 30 researchers.“I led a team of 30 or so researchers from a number of major labs and universities.”transcript, stated
- The systematic review took about nine months to a year.“we spent uh about nine months to a year reading through all of the prompting papers out there.”transcript, stated
- The report covered about 200 prompting and agentic techniques, including about 58 text-based English-only techniques.“covering I think about 200 uh prompting and kind of aentic techniques in this work. Uh including about uh 60 58 uh textbased Englishonly prompting techniques.”transcript, stated
- HackAPrompt open-sourced 600,000 prompts.“We open sourced a data set of 600,000 prompts.”transcript, stated
- The speaker reports that 40% of prompts that attacked GPT-3 also worked against GPT-4.“40% of prompts that successfully attacked GPT3 also worked against GPD4.”transcript, stated
- OpenAI leadership is described as targeting roughly 95% to 99% prompt-injection mitigation.“Sam Alman recently said, I think he now feels they can get to kind of 95% to 99% solved uh on prompt injection.”transcript, stated
Alternatives considered (roads not taken)
Rely on system prompts that tell the model not to follow malicious input
Rejected because: The speaker says prompt-based defenses do not prevent prompt injection.
Treat AI security like classical cybersecurity patching
Rejected because: The talk argues AI security is probabilistic and cannot provide 100% prompt-injection guarantees.
Use manual prompt engineering alone for production optimization
Rejected because: In the mental-health benchmark, automated prompt engineering beat the speaker's manual prompt engineering, and automated plus human refinement did best.
Assume one prompt will work cleanly across models
Rejected because: The speaker says cross-model prompt transfer is not solved and cites red-team transfer as the clearest experience.
Patterns
eval-driven-development (evaluation)
The work treats prompt and model behavior as something to benchmark empirically through systematic reviews, MMLU comparisons, manual and automated optimization, and attack-success measurements.
safety-policy-enforcement (security)
HackAPrompt collects attack data and taxonomies to improve defenses against prompt injection, jailbreaks, and unsafe agent behavior.
guardrails-io-filtering (security)
The talk evaluates guardrails as a production defense and argues that they can be bypassed by obfuscation and other attack techniques.
prompt-versioning (prompting)
The Prompt Report decomposes prompt components and techniques so production teams can reason about roles, examples, formats, and prompting methods consistently.
llm-as-judge (red-teaming)
The speaker describes modern red-teaming workflows where one model attacks another and a judge guides mutation or evaluation.
Tradeoffs
How to improve production prompts
Chose Automated optimization with human refinement when enough data and metrics exist over Manual prompt engineering alone.
Rationale: The speaker's benchmark found automated prompt engineering beat manual work, and automated plus human refinement performed best.
How to defend against prompt injection
Chose Continuous data-driven mitigation and red teaming over One-time prompt hardening or guardrail deployment.
Rationale: The speaker argues no system prompt fully prevents prompt injection and that good attack data is needed to improve mitigation.
How to interpret AI security failures
Chose Treat gen-AI security as a distinct concern from classical cybersecurity over Treat prompt injection as just another escaped-input bug.
Rationale: Classical bugs can sometimes be fully patched, while prompt injection remains probabilistic and nondeterministic.
When to deploy powerful agents
Chose Delay or limit powerful open-world agents until adversarial robustness improves over Deploying agents broadly and relying on current safeguards.
Rationale: The speaker argues that agents operating in real environments will encounter adversarial inputs and can create direct financial or operational harm.
Gotchas (what bit them)
Prompt-injection defenses cannot be validated like traditional patches.
Root cause: LLM behavior is probabilistic and prompt injection cannot be proven solved with a 100% guarantee.
Resolution: Use continuous red teaming, attack datasets, and statistical confidence rather than treating the issue as fully patched.
Prompting benchmarks can hide harness differences.
Root cause: Reported benchmark scores depend on few-shot prompting, chain-of-thought prompting, output restrictions, or post-processing.
Resolution: Inspect benchmark harnessing and prompt setup before trusting model comparisons.
Few-shot example ordering can swing accuracy dramatically.
Root cause: Models are sensitive to the ordering and distribution of examples in the prompt.
Resolution: Treat exemplar ordering and label distribution as empirical variables, not fixed best practices.
Powerful agents magnify prompt-injection risk from reputational harm into direct financial or operational harm.
Root cause: Agents operating on the internet or physical world can encounter adversarial instructions in their environment.
Resolution: Solve adversarial robustness before deploying highly capable agents at scale.
Guardrails can create false confidence if they are tested only against obvious attacks.
Root cause: Simple obfuscation, multilingual transformation, typos, and combined techniques can bypass filters.
Resolution: Use a broad attack taxonomy and automated/manual red teaming against layered defenses.
Evaluation
Evaluation spans prompt-technique benchmarking, mental-health classification prompt optimization, red-team attack-success rates, transferability studies across models, guardrail bypass testing, and usage of HackAPrompt data by labs for model benchmarking and improvement.
Metrics: accuracy · F1 · attack success rate · prompt transferability across models · benchmark harness sensitivity · guardrail bypass rate · prompting technique comparison · human versus automated prompt optimization
4 supporting quotes
Outcomes
- LearnPrompting trained millions of people on prompt engineering and is cited by major organizations.
- The Prompt Report produced a taxonomy and systematic review over roughly 200 prompting and agentic techniques.
- HackAPrompt open-sourced a 600,000-prompt dataset used by major AI companies and labs.
- The competition found that prompt hardening alone and many guardrail approaches do not reliably prevent prompt injection.
- The speaker reports 40% transfer from successful GPT-3 attacks to GPT-4 in one study.
- The platform's red-team data is used to benchmark and improve AI models and informs the speaker's agent-security work.
The project operates at education and benchmark scale: millions trained through LearnPrompting, 30 researchers and 9-12 months on the Prompt Report, about 200 techniques taxonomized, a 600,000-prompt open dataset, and major-lab usage for model benchmarking.