
AI hallucinations now enable 'slopsquatting' attacks, say security experts
Security experts say AI tools sometimes invent fake package names, which attackers might quickly register to trick automated coding systems. These so-called "slopsquatting" attacks may allow bad actors to silently add malicious software when teams use AI to pick code dependencies. Tests in 2025 and 2026 show that many fake names created by AI were actually downloaded or used widely, even though they did not include harmful code. Experts suggest multiple security steps may reduce, but not fully stop, these risks. It remains unclear how often these attacks lead to real harm, since there is little direct evidence so far.













