Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: 2a013fcc
Paper published May 1, 2025
Entry analyzed May 31, 2025
Paper-reported evidence
Confidence: Source-linked

The LMVD-ID is an internal research identifier, not an official CVE identifier.

LLM Self-Introspection Jailbreak

A vulnerability exists in Large Language Models (LLMs) that allows attackers to manipulate the model's output by modifying token log probabilities. Attackers can use a lightweight plug-in model (BiasNet) to subtly…

BibTeX citation

Paper-evaluated models(6)

Llama 2 7B Chat, Llama 3 8B, Llama 3 8B Instruct +3 more
  • Llama 2 7B Chat
  • Llama 3 8B
  • Llama 3 8B Instruct
  • Mistral 7B
  • Qwen 2 1.5B Instruct
  • Qwen 2.5 1.5B Instruct

Description

A vulnerability exists in Large Language Models (LLMs) that allows attackers to manipulate the model's output by modifying token log probabilities. Attackers can use a lightweight plug-in model (BiasNet) to subtly alter the probabilities, steering the LLM toward generating harmful content even when safety mechanisms are in place. This attack requires only access to the top-k token log probabilities returned by the LLM's API, without needing model weights or internal access.

Examples

The paper demonstrates successful attacks against multiple LLMs including Llama3-8B-Instruct, Llama2-7B-Chat, and Qwen2-1.5B-Instruct, using only the top-5 log probabilities returned by the API. Specific examples are shown in Table A6 of arXiv:2505.11790 (opens in a new tab).

Impact

Successful exploitation allows attackers to bypass LLM safety mechanisms, generating harmful content such as instructions for illegal activities, hate speech, or disinformation campaigns. The attack is particularly dangerous as it only requires API access, making it applicable to many commercially available LLMs. The low training cost of the attack model also lowers the barrier to entry for malicious actors.

Affected Systems

LLMs that provide access to token log probabilities via APIs. Specifically, the paper shows successful exploits on models from the Llama and Qwen families, indicating potential vulnerability in other LLMs using similar architectures and APIs.

Mitigation Steps

  • Implement stronger safety mechanisms that are robust against manipulations of token probabilities.
  • Limit or remove API access to token log probabilities.
  • Develop and deploy detection mechanisms to identify and block attempts to manipulate token probabilities.
  • Regularly audit and update safety mechanisms to mitigate emerging attack techniques.

Research context and confidence

Evidence and verification
Paper-reported; independent reproduction is not documented.
Primary research source linked.
Severity
Not rated by this catalog.
Source and publication type
arXiv · Research preprint.
Peer-review status is not provided by this source.
Author and publication status
Author metadata is not stored; see the primary paper.
Threat model and attacker access
Black-box model, service, or application access.
Related deployment categories
Model APIs
Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
Affected systems
LLMs that provide access to token log probabilities via APIs. Specifically, the paper shows successful exploits on models from the Llama and Qwen families, indicating potential vulnerability in other LLMs using similar…

Research Paper

JULI: Jailbreak Large Language Models by Self-Introspection

Primary source: arXiv. Findings are reported by the cited research and have not been independently verified.

View Paper

Evidence

This entry is based on a primary research source. Its findings are paper-reported; independent reproduction and verification are not claimed.

https://arxiv.org/abs/2505.11790