0

What the heck is “Slopsquatting”?

Slopsquatting” was first coined by Python Software Foundation (PSF) developer in residence, Seth Larson, according to cybersecurity vendor Socket.

It’s a play on “typosquatting,” a popular tactic used by threat actors for phishing campaigns, where they register slightly misspelled versions of legitimate domains.

In this new take, a threat actor would prompt an LLM to create some code. The code it returns may contain open source software packages that don’t exist – a common problem for AI.

However, the threat actor could then publish a fake package to an official repository with the same details as the hallucinated one and insert malicious code into it. When another user then prompts the same LLM to generate code and it returns the same hallucinated response, the victim would be directed to download the malicious package.

This is more likely than it sounds, according to a study on package hallucinations from researchers at Virginia Tech and the universities of Oklahoma and Texas.

They tested 16 code-generation LLMs and prompted them to generate 576,000 Python and JavaScript code samples.

The research found that, on average, a fifth of recommended packages didn’t exist – amounting to 205,000 unique hallucinated package names.

More importantly, it revealed that 43% of the same hallucinated packages were suggested every time when re-running the same prompts 10 times each, and 58% were repeated more than once. Just 39% never reappeared.

“This consistency makes slopsquatting more viable than one might expect,” argued Socket.

“Attackers don’t need to scrape massive prompt logs or brute force potential names. They can simply observe LLM behavior, identify commonly hallucinated names, and register them.”


Source of Information Click :  

Disclaimer:

  • All content provided by Help My Business Revenue Business Consulting Group℠ is for informational and educational purposes only and should not be taken as legal or professional advice. The information contained in this content is not maintained or endorsed or guaranteed by Help My Business Revenue Consulting Group℠ or it's associates. Always seek legal or professional advice from a professional. 



Comments

Leave a comment

Blog categories