News for hackers. Stuff that matters.
Re:AI Hallucinations Are Fueling a New Class of Supply Chain... by pera on Saturday April 12, 2025 @11:34AM (#43665265)
I was talking about this issue with a friend a while ago: If an LLM often hallucinates the same package name for a common problem you could copy an existing library, adapt the API to fit the hallucination, use the same hallucinated name and finally include a backdoor.
Re:AI Hallucinations Are Fueling a New Class of Supply Chain... by jruohonen on Saturday April 12, 2025 @10:45AM (#43664829)
"They found that 8.7% of hallucinated Python packages were actually valid npm (JavaScript) packages"
Re:AI Hallucinations Are Fueling a New Class of Supply Chain... by warkdarrior on Saturday April 12, 2025 @11:21AM (#43665157)
So those package names are not really hallucinated, since the packages actuualy exist?
Re:AI Hallucinations Are Fueling a New Class of Supply Chain... by citizenkeen on Saturday April 12, 2025 @11:26AM (#43665203)
I’m not sure if you know this, but Python and JavaScript are different languages. Their libraries are different ecosystems, so that’s definitely a hallucination.
Re:AI Hallucinations Are Fueling a New Class of Supply Chain... by foogazi on Saturday April 12, 2025 @12:33PM (#43665868)
Yes, but the names are not hallucinated

They being python is the hallucination- the names exist in its training data

Re:AI Hallucinations Are Fueling a New Class of Supply Chain... by faut_reflechir on Saturday April 12, 2025 @11:25AM (#43665194)
it's two different languages