Seedlabs

InjectionShield Foundry: One-Click Prompt-Injection Hardening for Open-Weight Models

A service that hardens open-source AI models against prompt-injection attacks using a customer's own data.

A managed fine-tuning service that turns a customer's open-weight model (Llama-3-8B, Mistral-7B class) into a prompt-injection-resistant checkpoint by auto-generating injection preference pairs from their own retrieved data and tool outputs, then running SecAlign-style preference optimization — delivered with a before/after attack-success-rate report.

Computer ScienceAdversarial Robustness in Machine Learning
Reasoning and Retrieval OptimizationEnterprise LLM fine-tuning platforms and AI-agent builders deploying open-weight models with RAG and tool access
Explainer video — the idea and its research foundation. Scripted and voiced by GLM and Piper · 19 Nov 2026.
Watch with transcript →

Concept

A managed defensive fine-tuning product for teams running agents or RAG on open-weight models. The customer picks their base checkpoint (the service launches for the 7–8B class SecAlign was validated on) and points it at samples of the external data their system actually ingests — retrieved web pages, document chunks, API/tool results. The service then: (1) synthesizes prompt-injection variants hidden inside that data; (2) builds preference pairs — a secure completion that follows the legitimate system instruction vs. an insecure completion that obeys the injected one; (3) runs preference optimization on those pairs; and (4) returns the hardened checkpoint plus a scorecard showing attack success rate on held-out and unseen attacks, alongside a utility check confirming general capability did not degrade. The single wedge is model-level injection immunity as a standard fine-tuning job — no prompt filters, no runtime guardrails, no changes to the customer's application.

Why now

SecAlign [0] is the first demonstrated method that pushes prompt-injection success rates below 10% — including against attacks more sophisticated than any seen during training — while keeping general-purpose utility on par with the unhardened model (AlpacaEval2), across Llama-7B, Mistral-7B, Llama3-8B and their instruct variants, evaluated on AlpacaFarm (805 samples, 208 with data parts). It also achieves a much larger preference margin than the prior defense (roughly -300 vs. -140 undesirable log-probability versus StruQ), indicating robustness headroom, and the code is open-sourced by Facebook Research — so a commercial offering is an engineering wrap rather than a research gamble. Older work [3] shows that training on short adversarial prompts defends against much longer attacks, so the synthetic attack generator can stay cheap while covering real-world long injections. Because readiness is prototype-stage on 7–8B models, the service should be sized exactly to that class of open-weight deployments rather than promising frontier-model coverage.

Written by GLM · 19 Nov 2026

AI assessment

Backed by 2 papers96

An exceptionally strong, evidence-backed proposal that turns a specific research breakthrough into a high-value, low-friction security product for the booming AI-agent market.

Evidence strength
5/5
The idea is directly grounded in SecAlign's demonstrated success in reducing ASR to <10% on 7-8B models without utility loss, supplemented by research on short-length adversarial training efficiency.
Market pull
5/5
Enterprise AI-agent builders have a high urgency to solve prompt injection in RAG pipelines, and the named beneficiaries are the primary infrastructure providers for these deployments.
Novelty & moat
4/5
While other catalog ideas focus on general alignment or model compression, this is the first specific application of preference optimization for prompt-injection hardening as a service.
Feasibility
5/5
The core methodology is open-sourced by Facebook Research and validated on common open-weight models, making the engineering wrap highly feasible for a small team.
Wedge clarity
5/5
The 'one-click hardening' for a specific model class (7-8B) provides a sharp, measurable entry point (ASR reduction) without requiring application-level changes.
Simplicity / focus
5/5
The product is a single, focused pipeline: data ingestion -> synthetic pair generation -> preference optimization -> report.

Scored by Gemma 4 · 19 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

  • Databrickscompany

    Its Mosaic AI platform already fine-tunes and serves open-weight models for enterprise RAG; adding a one-click injection-hardening step with an attack-success report directly answers the top security objection enterprises raise when connecting agents to documents and APIs.

  • It runs fine-tuning APIs for the exact Llama and Mistral model families SecAlign validated; offering hardened checkpoints as a product differentiator targets its enterprise agent customers without any change to their serving stack.

  • Gleancompany

    Its enterprise assistants read documents and workplace connectors — the prime prompt-injection surface; hardening the open-weight models in its stack against instruction hijacking protects corporate data and tool actions.

  • It serves open-weight models for production agents; shipping injection-resistant variants (sub-10% attack success) lets its customers cut injection incidents without rearchitecting their applications.

  • Mistral AIcompany

    Its 7B instruct models were among those benchmarked in the defense evaluation; shipping officially injection-resistant variants strengthens its positioning for enterprise agent deployments.

Research it builds on

  1. SecAlign: Defending Against Prompt Injection with Preference OptimizationAll ideas from this paper →
  2. Short-length Adversarial Training Helps LLMs Defend Long-length Jailbreak Attacks: Theoretical and Empirical Evidence
    Shaopeng Fu, Liang Ding, Jingfeng ZHANG et al. · 2025 · 17 citations
    All ideas from this paper →
Leave feedback
feasibility