Reproduce “Jailbreaking GPT-4V via Self-Adversarial Attacks with System Prompts” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Yuanwei Wu, Xiang Li, Yixin Liu, Pan Zhou, Lichao Sun

A study revealed a system prompt leakage vulnerability in GPT-4V, allowing for the development of a Self-Adversarial Attack via System Prompt (SASP) methodology. This approach, which leverages leaked system prompts and iterative refinement, achieved a 99% attack success rate for facial recognition in English, while also demonstrating that modified system prompts can enhance MLLM defense.

Key insights

  • System prompts of closed-source Multimodal Large Language Models (MLLMs) like GPT-4V can be leaked, exposing a critical API-level vulnerability beyond input-based attacks.
  • Leveraging leaked system prompts with a self-adversarial approach (SASP) is highly effective for jailbreaking, significantly outperforming traditional input manipulation methods.
  • Explicitly instructing MLLMs via well-designed system prompts and reminding them of their policies can substantially improve model defense against adversarial queries.
  • The effectiveness of jailbreaking techniques can vary across different languages, suggesting nuances in multilingual safety alignments or attack transferability.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.