Slopsquatting
Slopsquatting
A cyberattack that abuses made-up program names invented by AI.
In Simple Terms
Slopsquatting is a cyberattack where an attacker takes a program name that AI invented by mistake and uses it to slip viruses or other malware onto people's computers. When AI answers a question, it sometimes makes up a believable-sounding package name that doesn't actually exist and recommends it. The attacker registers that name first in the official place where packages are shared, so anyone who follows the AI's advice and installs it ends up with a dangerous program.
Behind the Name
"Slop" refers to leftover scraps or low-quality stuff, and it's also a word for the sloppy, inaccurate information AI produces. "Squatting" means taking over an empty lot, or a name, without permission by getting there first. Put together, it describes a trick where an attacker jumps ahead and seizes the made-up names AI invents.
Take a Closer Look!
Slopsquatting is a cyberattack where an attacker registers, ahead of time, a program name that AI mistakenly invented, so that users end up installing a virus or other malware. It takes advantage of the way AI sometimes recommends packages (ready-made building blocks of code that each provide a specific feature) under names that don't actually exist.
Basically, it's an attacker setting a trap for AI's mix-ups.
When a developer asks AI how to build something, the AI predicts names that sound likely, so it can end up presenting a package that doesn't exist as if it were real. Attackers look into which fake names AI tends to produce, then register a malicious program under that same name in the official public repository where anyone can publish packages.
When someone, or an automated system, trusts the AI's answer and runs the command to install that name, they get the attacker's program instead of the real thing, and harm follows.
Unlike attacks that count on human typos, the made-up names AI produces tend to repeat the same mistakes again and again, which makes them easy targets for attackers. If you let AI run tasks automatically, it could even pull in a dangerous package without anyone checking.
To protect against it, people check that a name the AI suggests really exists, and use tools that detect suspicious packages.