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:

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"]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

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
“talking and training millions of people around the world on prompting and prompt engineering.”transcript, stated
“We open sourced a data set of 600,000 prompts. Uh to date this data set uh is used by every single AI company to benchmark and improve their AI models.”transcript, stated
“we went through and we taxonomized the different parts of a prompt.”transcript, stated
“we work with them to give them the data and help them improve their models.”transcript, stated

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
“this paper uh is still to the best of my knowledge the largest uh systematic literature review on prompting out there.”transcript, stated
“the harnessing around these benchmarks of are of even more concern to me”transcript, stated
“with prompt injection you can never be 100% sure that you've solved prompt injection.”transcript, stated
“we think that good data uh is the way to get to that very high level uh of effectively mitigation.”transcript, stated

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

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.

“There's no prompt that you can write, no system prompt that you can write that will prevent prompt injection. Just don't work.”transcript, stated

Treat AI security like classical cybersecurity patching

Rejected because: The talk argues AI security is probabilistic and cannot provide 100% prompt-injection guarantees.

“you can patch a bug in classical cyber security but you can't patch a brain uh in AI security”transcript, stated
“You can never be sure. You can never truly 100% solve the problem.”transcript, stated

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.

“human me uh was a poor performer. The AI automated prompt engineer was a great performer. Uh and the automated prompt engineer plus human was a fantastic performer.”transcript, stated

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.

“How do you have one prompt uh that works across models? Uh this is a a a great question and there's not a good way that I know of.”transcript, stated

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.

“we conducted manual and automated benchmarks where I spent like 20 hours uh doing prompt engineering uh and seeing if I could beat uh DSP.”transcript, stated
“the metric there that's used most commonly is ASR attack success rate”transcript, stated

safety-policy-enforcement (security)

HackAPrompt collects attack data and taxonomies to improve defenses against prompt injection, jailbreaks, and unsafe agent behavior.

“we collect uh all the like ways people go about tricking and hacking the models.”transcript, stated
“we work with them to give them the data and help them improve their models.”transcript, stated

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.

“the other thing was that like guardrails themselves to a large extent don't work.”transcript, stated
“something as simple as like B 64 encoding your prompt uh can evade them.”transcript, stated

prompt-versioning (prompting)

The Prompt Report decomposes prompt components and techniques so production teams can reason about roles, examples, formats, and prompting methods consistently.

“we taxonomized the different parts of a prompt. Uh so things like you know what is a role? Um what are examples?”transcript, stated

llm-as-judge (red-teaming)

The speaker describes modern red-teaming workflows where one model attacks another and a judge guides mutation or evaluation.

“it is it is very commonly done, you know, using uh one jailbroken LLM to attack another.”transcript, stated

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.

“The AI automated prompt engineer was a great performer. Uh and the automated prompt engineer plus human was a fantastic performer.”transcript, stated

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.

“There's no prompt that you can write, no system prompt that you can write that will prevent prompt injection.”transcript, stated
“we think that good data uh is the way to get to that very high level uh of effectively mitigation.”transcript, stated

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.

“AI security is entirely different from classical cyber security.”transcript, stated
“so no I don't think it's a new layer. Uh I think it's something very separate uh and should be treated as an entirely separate security concern.”transcript, stated

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.

“any truly powerful agent, any concept of of AGI, something that can make a company a billion dollars, has to be able to go and operate out in the world.”transcript, stated
“these things right now are not secure. And I don't see a path to security for them.”transcript, stated

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.

“with prompt injection you can never be 100% sure that you've solved prompt injection.”transcript, stated
“you can only kind of be like statistically certain uh based on testing that you do”transcript, stated

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.

“when people say like oh like we benchmarked our model on this data set. Uh it's not just it's never just as straightforward”transcript, stated
“it's always like oh like we used fot prompting or chain of thought prompting”transcript, stated

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.

“based on the order of the examples you give the model uh your accuracy could vary by like you know 50% I guess 50 percentage points”transcript, stated
“these techniques can help you but can also hurt you.”transcript, stated

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.

“agents are not going to work right unless we solve adversarial robustness.”transcript, stated
“if somebody can trick agents into doing things that cause harm to companies, cost companies money, scam companies out of money”transcript, stated

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.

“the obfuscation section these are some of the most commonly applied techniques.”transcript, stated
“typos are still an effective technique, especially when mixed in with other techniques.”transcript, stated

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
“you have a data set you're optimizing on, you use accuracy or F1. That's your metric.”transcript, stated
“the metric there that's used most commonly is ASR attack success rate”transcript, stated
“40% of prompts that successfully attacked GPT3 also worked against GPD4.”transcript, stated
“every major lab uses this to benchmark and improve their models.”transcript, stated

Outcomes

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.

5 supporting quotes
“talking and training millions of people around the world on prompting and prompt engineering.”transcript, stated
“We open sourced a data set of 600,000 prompts.”transcript, stated
“every major lab uses this to benchmark and improve their models.”transcript, stated
“There's no prompt that you can write, no system prompt that you can write that will prevent prompt injection.”transcript, stated
“we work with them to give them the data and help them improve their models.”transcript, stated