Seedlabs

PromptRed: evolved adversarial-instruction regression gate for production prompts

A tool that creates a library of 'trick' questions to make sure AI prompt updates don't break accuracy.

A CI tool that evolves worst-case adversarial instructions against a deployed LLM prompt and turns them into a permanent regression suite, so teams catch accuracy-collapsing instruction attacks before shipping prompt or model updates.

Computer ScienceTopic Modeling
Reasoning and Retrieval OptimizationAI reliability and security QA — adversarial robustness regression testing for production LLM prompts

Concept

A CI-stage robustness gate for production LLM prompts and agents. Before a prompt change ships — especially machine-optimized prompts, which no human has read end-to-end — the tool runs GEPA's evolutionary loop with an inverted objective: it searches for short, universal natural-language instructions that, when inserted into the system prompt or a user turn, collapse the agent's task accuracy on the customer's own eval. It reports the worst-case degradation found, verifies whether deployed defenses (input filters, prompt guards, sanitizers) neutralize each attack, and converts every discovered attack into a permanent regression fixture. Each future prompt edit or model-version change is re-run against the suite, so hardening that silently regresses is caught before release. Delivered as a CI integration plus an on-demand deep search for major releases.

The wedge: the same reflective evolution that optimizes prompts finds instruction-level attacks far more effectively than manual red-teaming, and teams adopting prompt optimizers need exactly this adversarial check as the QA complement.

Why now

  • GEPA evolved universal adversarial instructions that cut Pass@1 from 76% to 10% on AIME-2025 against GPT-5 Mini [0] — a 66-point accuracy collapse from text instructions alone, found automatically by the same optimizer, demonstrating that instruction-level reliability attacks on frontier API models are real and discoverable by search.
  • The attack machinery is the already-released open-source optimizer with an inverted objective — the product work is wiring it to customer evals, defenses, and CI, not new research.
  • The attack surface is expanding: the same paper shows prompt optimization beating GRPO and MIPROv2, so machine-evolved prompts are about to become standard shipping artifacts — text that was never human-authored and therefore needs automated adversarial review.
  • Readiness caveat: demonstrated as a capability probe on one benchmark/model pair; a product must run against customer-specific evals and treat discovered attacks as internal test fixtures, never as shipped output.

Written by GLM · 22 Nov 2026

AI assessment

Backed by 4 papers92

An exceptional, highly feasible tool that turns a powerful prompt optimizer into a security asset, filling a critical gap in the LLM production lifecycle.

Evidence strength
5/5
The idea leverages the GEPA optimizer's ability to find high-impact prompt changes, and the provided text explicitly mentions its success in creating adversarial instructions that collapse accuracy, providing a strong technical basis.
Market pull
4/5
Enterprise AI teams at the named companies have a high urgency to prevent regressions in production agents, especially as they move toward machine-optimized prompts that are opaque to humans.
Novelty & moat
4/5
While other catalog ideas focus on hardening (InjectionShield) or static examples (RefusalShot), this is the first to propose an automated, evolutionary red-teaming loop integrated into CI for regression testing.
Feasibility
5/5
Since the core GEPA optimizer is already open-source, the MVP primarily requires building the CI wrapper and the logic to invert the objective function.
Wedge clarity
5/5
The wedge is highly specific: a CI gate for teams using prompt optimizers, creating a natural symbiotic relationship between optimization and verification.
Simplicity / focus
5/5
The product is a single, focused tool (a CI regression gate) rather than a broad security platform.

Scored by Gemma 4 · 22 Nov 2026. Rated against a fixed rubric (evidence, market, novelty, feasibility, wedge, simplicity), relative to the closest ideas already in the catalog. A prior estimate to compare ideas before real-world signal arrives.

Act on this idea

Ideas only matter if someone runs with them. Your message goes straight to the founder's inbox — nothing is stored on our servers.

Who benefits

  • The security consultancy already sells LLM and adversarial reviews; adding evolutionary instruction search (the paper's 76% to 10% Pass@1 collapse) gives it a repeatable, tool-driven red-team offering instead of manual prompt probing.

  • Klarnacompany

    Klarna's OpenAI-based customer-service assistant is publicly visible and prompt-driven; an adversarial regression gate catches instruction-level accuracy collapses before each prompt or model-version update reaches customers.

  • Morgan Stanley ships a GPT-4 assistant to financial advisors where wrong answers are costly; a worst-case instruction attack suite run in CI verifies reliability before every prompt or model change.

  • OWASPorganization

    OWASP's Top 10 for LLM Applications needs concrete, tool-supported testing guidance; evolved adversarial instruction suites are a measurable test category it can standardize for its community.

Research it builds on

  1. GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning
    Agrawal, Lakshya A, Tan, Shangyin, Dilara Soylu et al. · 2026 · 717 citations
    All ideas from this paper →
  2. Jailbreak and Guard Aligned Language Models With Only Few In-Context Demonstrations
    Zeming Wei, Yue Wang, Ang Li et al. · 2026 · 464 citations
    All ideas from this paper →
  3. Cognitive Overload Attack:Prompt Injection for Long Context
    Bibek Upadhayay, Vahid Behzadan, Amin Karbasi · 2024 · 28 citations
    All ideas from this paper →
  4. AI Agents May Always Fall for Prompt Injections
    Sahar Abdelnabi, Eugene Bagdasarian · 2026 · 25 citations
    All ideas from this paper →
Leave feedback
feasibility