Thursday, December 3, 2026 | London 11°C · Drizzle
DailyGlimpse

AI

AI Hallucinations Fuel 'Slopsquatting' Attack That Injects Malware

Daily AI & Tech News 1 min read

A novel cyberattack dubbed 'slopsquatting' exploits AI hallucinations to plant malware into software supply chains. Researchers have found that AI coding tools sometimes generate fictitious but plausible-looking package names—a phenomenon known as hallucination. Attackers then register those fake packages on public repositories, embedding malicious code that gets adopted unknowingly by developers who trust the AI's output.

This technique mirrors traditional typosquatting, where attackers register misspelled domain names. However, slopsquatting is more insidious because the AI itself invents the package names, making them harder to detect. The attack has been observed targeting popular AI coding assistants, raising concerns about the security of AI-generated code.

Experts advise developers to verify all AI-suggested dependencies against official registries and to use package-locking mechanisms to mitigate such risks.

React