← All advisories
VV-024mediumJailbreak2024-04-02

Many-shot jailbreaking: long context windows weaken refusals

Anthropic published research showing that filling a long prompt with many fake dialogue examples can push models into answering requests they would normally refuse.

01.

What it is

Published 2 April 2024. The technique exploits large context windows and affected models from several vendors.

02.

How to check

  1. If users can paste long text into your LLM feature, test with long adversarial inputs.
03.

How to fix

  1. Cap input length where you can, and classify inputs before they reach the model.
04.

Sources

More advisories for this tool
The weekly email

One email a week. Only what changed.

New advisories, CVEs and fixes for Lovable, Bolt, v0, Replit, Base44 and Cursor apps. No roundups of things you already read.