Breaking MCP with Function Hijacking Attacks: Novel Threats for Function Calling and Agentic Models
Yannis Belkhiter, Giulio Zizzo, Sergio Maffeis, Seshu Tirupathi, John D. Kelleher

TL;DR
This paper introduces a novel function hijacking attack (FHA) on agentic LLMs that manipulates function invocation, demonstrating its robustness and broad applicability across models and domains, highlighting security vulnerabilities.
Contribution
The paper presents FHA, a new attack method that is model-agnostic and capable of hijacking function calls in agentic LLMs, revealing significant security concerns.
Findings
FHA achieves 70% to 100% attack success rate across 5 models.
FHA is effective regardless of context semantics or function set.
Experiments highlight the need for improved security measures in agentic systems.
Abstract
The growth of agentic AI has drawn significant attention to function calling Large Language Models (LLMs), which are designed to extend the capabilities of AI-powered system by invoking external functions. Injection and jailbreaking attacks have been extensively explored to showcase the vulnerabilities of LLMs to user prompt manipulation. The expanded capabilities of agentic models introduce further vulnerabilities via their function calling interface. Recent work in LLM security showed that function calling can be abused, leading to data tampering and theft, causing disruptive behavior such as endless loops, or causing LLMs to produce harmful content in the style of jailbreaking attacks. This paper introduces a novel function hijacking attack (FHA) that manipulates the tool selection process of agentic models to force the invocation of a specific, attacker-chosen function. While…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
