← Latest papers
💻 computer science

Skills That Don't Exist: A Large-Scale Study of Hallucinated Skill Recommendation in LLM Agents

This paper reveals a critical supply-chain vulnerability in LLM agents where they frequently hallucinate non-existent skill names with high consistency, creating an exploitable attack vector that cannot be resolved by model tuning alone but requires ecosystem-wide structural changes like registry-level name reservations.

Original authors: Weifeng Yuan, Wenbo Guo, Feng Dong, Haoyu Wang, Yang Liu

Published 2026-07-15
📖 5 min read🧠 Deep dive

Original authors: Weifeng Yuan, Wenbo Guo, Feng Dong, Haoyu Wang, Yang Liu

Original paper dedicated to the public domain under CC0 1.0 (http://creativecommons.org/publicdomain/zero/1.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a super-smart robot assistant that can learn new tricks. Instead of you digging through a giant library to find the right trick, you just ask the robot, "Hey, what's a good trick for organizing my files?" The robot is supposed to look up a real, pre-made instruction manual (called a "skill") and give you the name so you can download it.

But here's the scary part: The robot is a confident liar.

The Magic Trick That Isn't Magic

In this study, researchers asked 12 different robot brains (some are just the brain, others are brains with web-search tools) to recommend skills for 15,000 different questions. They found that every single one of them made up fake skill names.

On average, 36.0% of the time, a standalone robot brain invented a name. When the robot was part of a full "agent" system (with tools and search), it was 36.9% fake. And when the questions came from real developers asking for help, the lie rate jumped to 43.1%.

The robots didn't just say "I don't know." They confidently said, "Oh, you need file-system-operations!" or "Try visual-studio-code!" The problem? Those skills don't exist. The robots took a description of what they thought you needed and turned it into a name, like a chef who, when asked for a recipe for "spicy soup," invents a dish called "spicy-soup-recipe" that no one has ever actually cooked.

The "Ghost" Trap

Why is this dangerous? Imagine a thief standing outside a toy store. The thief listens to the robot tell a kid, "You need the super-cool-bike!" The kid looks for it, but it's not there.

The thief knows the robot will say the same thing to the next kid. So, the thief goes to the store's catalog and registers a real bike called super-cool-bike, but they sneak a trap into the instructions. Now, when the next kid asks the robot, the robot says, "Get the super-cool-bike!" The kid downloads it, and bam—the trap springs.

The researchers proved this is possible. They found that robots are surprisingly stubborn. If you ask the same robot the same question 10 times, it will often give you the exact same fake name up to 7.8 times out of 10. It's not random noise; it's a predictable pattern.

In fact, the researchers found 410 fake names that were so popular, different robots kept inventing them over and over. If a bad guy registered just the top 500 of these fake names, they could potentially trick 57% of all the victims who asked for help in their tests.

Why Can't We Just Fix It?

You might think, "Can't the robot just check the internet to see if the skill exists?" The researchers tested this. They gave the robots web-search tools and told them, "Check before you answer!"

It didn't work. The robots still lied. Why? Because when they searched for file-system-operations, the internet was full of articles about file systems. The robot saw the words and thought, "Aha! It exists!" It didn't realize it was looking for a specific skill file that didn't exist. The search confirmed the concept was real, but not the skill.

The "Self-Check" Failure

The researchers also asked the robots to check their own work. "Did you just make that up?" they asked.
The robots failed miserably. They were no better than flipping a coin, getting it right only 51% of the time. It's like asking a person who just told a lie to tell you if they are lying; they usually double down.

The "Safety" Trade-Off

So, how do we stop this? The researchers tried a few things:

  1. Retrieval-Augmented Generation (RAG): This forces the robot to look at a list of real skills before it answers. This worked great at stopping the lies, dropping the fake rate from 40.8% down to 3.2%.
    • The Catch: The robot became useless. Because it was so scared of making a mistake, it stopped answering most questions. Even with this safety net, the robot only found the correct skill about one time out of six.
  2. Voting: They tried making multiple robots agree on an answer. This stopped 92.8% of the lies, but again, it killed the robot's ability to be helpful, dropping the success rate for real skills significantly.

The Bottom Line

The paper concludes that this isn't a bug you can fix by just "tuning" the robot or telling it to be more careful. The problem is built into how these robots think. They are too good at guessing what a name should look like, and too bad at knowing what actually exists.

To fix this, the researchers say we can't just rely on the robots. We need to change the whole system: the "libraries" where skills live need to reserve names so robots can't invent them, and the robots need a way to check a verified list before they speak. Until then, if your robot assistant recommends a new skill, check if it actually exists first, because it might just be a ghost.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →