Reproduce “MCP Safety Training: Learning to Refuse Falsely Benign MCP Exploits using Improved Preference Alignment” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

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

About this paper

John Halloran

Researchers at Leidos developed the `TRADE` attack framework to expose vulnerabilities in MCP-enabled LLMs to subtly malicious "falsely benign attacks" (FBAs), introducing the `MCP-FBAs` dataset and achieving an average 465% increase in strict FBA refusal rates by combining offline DPO and a novel `RAG-Pref` online alignment method.

Key insights

  • Existing LLM safety mechanisms are largely ineffective against "falsely benign attacks" (FBAs), as evidenced by alarmingly low strict refusal rates in state-of-the-art models.
  • "Training-free" online alignment methods like `RAG-Pref` can provide substantial improvements in FBA refusal, often outperforming traditional offline fine-tuning.
  • The most robust defense against FBAs involves a synergistic combination of offline preference alignment (DPO) and online retrieval-augmented preference alignment (`RAG-Pref`), significantly boosting refusal rates while maintaining helpfulness.

Summary by alphaXiv.

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