Not paranoid. Uninstall it.
AI models regularly invent package names that sound plausible. Attackers watch for commonly hallucinated names and register them with malicious code (install scripts that steal env vars, tokens, SSH keys). This is called slopsquatting. A brand-new package with no repo and a one-line readme is the exact profile.
npm uninstall next-supabase-session-helper- If it ran an install script: rotate the keys in your
.envfiles, to be safe. - Use the official
@supabase/ssrpackage; that's what the Supabase Next.js guide uses.
Before installing anything an AI suggests: repo link, weekly downloads, age, maintainer. If any of those look off, ask for a solution with the packages you already have.
ignore-scripts=true in .npmrc for projects where you let an agent install things. Blocks the most common payload route. chidi_eze · edited