How AI gets attackedLesson 051 min
How does a made-up package name become malware?
AI coding tools sometimes recommend packages that do not exist. Researchers tested sixteen models on more than half a million code samples: about 5% of packages named by commercial models did not exist, and about 22% for open-source models. The same invented names often came back. An attacker can register such a name with malicious code inside. The nickname is slopsquatting.
Remember
Before installing a package you have not used, check it exists and who publishes it.
