npm
How to Stop Slopsquatting: Protect Your Frontend Project from AI-Hallucinated npm Packages
Slopsquatting is attackers registering npm package names that AI assistants hallucinate. Wrap installs with Socket, run npm audit signatures in CI, and add a pre-commit hook that blocks any new dependency that is missing, brand new or a near-miss of a popular name.