AI code tools often hallucinate fake packages, creating a new threat called slopsquatting that attackers can exploit in…