← Lab /AI/ML

ShareLock enables multi-tool poisoning that evades detection with >90% success

ShareLock achieves over 90% attack success and outperforms single-tool poisoning in tool description detection

AI/ML arXiv 25 Jun 2026 Attack Prototype evidence

Published as “ShareLock: A Stealthy Multi-Tool Threshold Poisoning Attack Against MCP”

Why it matters

The work shows that current LLM-agent safety filters can be bypassed by multi-tool secret-sharing attacks, indicating a need for defenses beyond plain-text detection.

Summary

ShareLock achieves an average attack success rate above 90% and outperforms single-tool poisoning baselines in stealth detection. The authors embed Shamir secret-sharing shares in multiple tool descriptions and trigger reconstruction via a covert update, evaluating on four domains, four LLMs and two MCP clients. Reported ASR reaches 94.0% on Gemini-2.5-Flash and overall >90%, with high task completion rates, but the paper notes failures when too few tools remain or when tool-invocation errors occur.

What they found 1

  1. ShareLock attains >90% attack success while being more stealthy than single-tool attacks.

    “ShareLock significantly outperforms existing single-tool poisoning strategies in tool description-based detection while maintaining an average attack success rate exceeding 90%.”

Caveats 4

  • When the number of available tools falls below the threshold (k< t), the ASR deterministically drops to 0%, confirming the attack fails without enough shares.
  • Tool Invocation Fragility. The increased complexity of orchestrating multiple tools amplifies the risk of parameter errors, causing the attack to halt if the agent lacks robust error handling.
  • Prompt Engineering. Though ShareLock achieves comparable attack performance as single-tool attack, it may lead to different conclusions due to prompt engineering technique. Because ShareLock’s workflow involves decoding and reconstruction steps, it lengthens the attack chain and any mistake in each step will cause the failure of malicious instruction.
  • More Complex Agent Systems. In fact, due to differences in the architecture and access control policies of advanced agent in the real world, the attack performance of ShareLock attacks may vary or even fail.

What’s new here 4

  • Distributes malicious payload as Shamir secret-sharing shares across multiple tool descriptions rather than a single plaintext injection.
  • Provides fault tolerance: the attack succeeds as long as a threshold number of poisoned tools are present.
  • Combines encoding-based obfuscation with threshold secret sharing to achieve information-theoretic secrecy.
  • Evaluates a comprehensive multi-tool benchmark covering four realistic agent domains.