The rise of AI-powered code generation tools has led to an increase in "slopsquatting," where malicious actors exploit hallucinated package names suggested by AI to distribute malware. Security experts emphasize the importance of verifying package names and contents to mitigate risks associated with AI-generated code. Ongoing efforts are being made to enhance security measures in package registries like PyPI to combat this issue.