Encyclopedia
npm◆ MEDIUMphantom⚠ ACTIVE THREAT

drizzle-zod-codegen

First seen: Nov 13, 2026 0 viewsMimics: drizzle-zod
Share threatHN
Threat Description

A hallucinated schema-to-Zod generator for Drizzle projects. The name was unclaimed until a publisher released a working generator wrapped around an installer that appends a migration file to the user's drizzle folder. The migration creates a table with a trigger that copies rows from users into an attacker-readable shadow schema on the next db:push.

AI Hallucination Analysis
Very Likely AI Hallucination93%
Known to be hallucinated by: Database schema validation answers
Remediation Guide
  1. Remove the package and inspect generated migrations for unexpected tables, triggers and functions before pushing. 2. Roll back any applied migration and drop the shadow schema. 3. Rotate database credentials reachable from the app runtime. 4. Generate Zod schemas with drizzle-zod and review every migration diff in code review.
Quick Facts
Ecosystem
npm
Risk Level
MEDIUM
Type
phantom
Status
ACTIVE
Legitimate Package
drizzle-zod
Hallucination Confidence
93%
Check My Project
Scan for this package