Encyclopedia
npm⚠ HIGHphantom⚠ ACTIVE THREAT

next-auth-providers-kit

First seen: Nov 9, 2026 0 viewsMimics: next-auth
Share threatHN
Threat Description

A package name repeatedly produced by coding assistants asked for "extra NextAuth providers". No such package existed on npm until a registrar account claimed the name and published a tarball whose index.js only re-exports stubs — while a postinstall script base64-decodes a 4 KB blob, writes it to /tmp and executes it. The loader reads process.env wholesale, prioritising SMTP_*, DATABASE_URL and NEXTAUTH_SECRET, then POSTs it to a host that rotates every 48 hours.

AI Hallucination Analysis
Very Likely AI Hallucination91%
Known to be hallucinated by: Multiple general-purpose coding assistants; the name appears in generated setup guides
Remediation Guide
  1. Remove the package and delete node_modules entirely, then reinstall with --ignore-scripts. 2. Rotate NEXTAUTH_SECRET, SMTP credentials and any database URLs that were present in the build environment. 3. Grep your lockfile history for the tarball's integrity hash and audit CI logs for outbound requests during installs. 4. Use the real provider list from next-auth's own docs; extra providers are configured inline, not via a helper package.
Quick Facts
Ecosystem
npm
Risk Level
HIGH
Type
phantom
Status
ACTIVE
Legitimate Package
next-auth
Hallucination Confidence
91%
Check My Project
Scan for this package