Large language models hallucinating non-existent developer packages could fuel supply chain attacks

Published on:

Massive Language Fashions (LLMs) have a severe “package deal hallucination” drawback that might result in a wave of maliciously-coded packages within the provide chain, researchers have found in one of many largest and most in-depth ever research to analyze the issue.

It’s so dangerous, actually, that throughout 30 totally different assessments, the researchers discovered that 440,445 (19.7%) of two.23 million code samples they generated experimentally in two of the preferred programming languages, Python and JavaScript, utilizing 16 totally different LLM fashions for Python and 14 fashions for JavaScript, contained references to packages that had been hallucinated.

- Advertisement -

The multi-university research, first revealed in June however lately up to date, additionally generated “a staggering 205,474 distinctive examples of hallucinated package deal names, additional underscoring the severity and pervasiveness of this risk.”

See also  Python scores its highest rating in Tiobe index
- Advertisment -

Related

- Advertisment -

Leave a Reply

Please enter your comment!
Please enter your name here