Powered by OpenAIRE graph
Found an issue? Give us feedback
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/ ZENODOarrow_drop_down
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/
ZENODO
Preprint . 2025
License: CC BY
Data sources: ZENODO
ZENODO
Preprint . 2025
License: CC BY
Data sources: Datacite
ZENODO
Preprint . 2025
License: CC BY
Data sources: Datacite
versions View all 2 versions
addClaim

LLM Hijacking: When Models Manipulate Their Routers

Authors: Sandro, Andric;

LLM Hijacking: When Models Manipulate Their Routers

Abstract

As Large Language Model (LLM) orchestration systems become increasingly prevalent, understanding potential adversarial dynamics between models becomes critical for AI safety. We present the Parasitic Manipulation Framework (PMF), inspired by biological host-parasite dynamics such as Toxoplasma gondii causing mice to lose their fear of cats, a formal framework analyzing how a "parasite" LLM might evolve to manipulate a "host" LLM's routing decisions in multi-model architectures. Through rigorous experimental validation across multiple domains (numerical simulations, text-based tool calling, multi-agent reinforcement learning, ten production LLMs, and LangChain/LangGraph agent frameworks), we demonstrate that: (1) Parasitic manipulation emerges naturally under selective pressure, with naive routing allowing up to 98% parasite takeover in simulations and 100% capture in real LLM routing (7 of 10 models fully vulnerable); (2) Defenses can effectively neutralize the attacks we study: Bio-inspired defenses reduce parasitism in simulation (H3: 46% median reduction; H4: 17% relative reduction with approximately 23x lower std-dev), while simple rule-based sandboxing achieves complete protection (92.5% to 0% capture) for real LLM routers; (3) Frontier models show emerging resistance: Claude Opus 4.5 is completely immune (0% capture), GPT-5.1 shows partial resistance (50%); (4) Adaptive defense addresses the accuracy-security trade-off: A two-layer detection system maintains 73% baseline accuracy while reducing attack capture by 51%, offering a practical middle ground between vulnerable H3 and accuracy-degraded H4. Our key finding is that architectural defenses provide more reliable protection than learned defenses, a result validated both in simulation and with production LLMs.

Keywords

Artificial Intelligence

  • BIP!
    Impact byBIP!
    selected citations
    These citations are derived from selected sources.
    This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    0
    popularity
    This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
    Average
    influence
    This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    Average
    impulse
    This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
    Average
Powered by OpenAIRE graph
Found an issue? Give us feedback
selected citations
These citations are derived from selected sources.
This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Citations provided by BIP!
popularity
This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
BIP!Popularity provided by BIP!
influence
This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Influence provided by BIP!
impulse
This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
BIP!Impulse provided by BIP!
0
Average
Average
Average
Green