Horror Stories
Real developer encounters with slopsquatted, typosquatted, and malicious packages.
##The Codegen Tool That Wrote a Migration We Never Reviewed
>We wanted Zod schemas from Drizzle definitions. The assistant named drizzle-zod-codegen. The package generated schemas, and it also appended a migration file to our drizzle folder that we pu
##The SDK That Forwarded Our API Keys and Billed Us For It
>Every tutorial our new hire read used anthropic-tools-sdk for function calling. It imported cleanly, exported classes that matched the docs, and worked on the first try. Why it worked The pa
##OAuth Tokens Left Through the Library That Refreshed Them
>Our integration team added requests-oauth2-helper for a client's Salesforce sync. It wrapped sessions neatly, handled refresh windows, and had typing stubs — everything a maintained package
##A Build Plugin Shipped a Wallet Drainer For Us
>We asked how to stop environment variables leaking into an esbuild bundle. The answer included esbuild-plugin-env-seal. It worked — env inlining was cleaner than what we had. What production
##The Gem That Read Our Rails Master Key
>rails-active-storage-pro promised better Active Storage adapters. Its README was lifted almost word for word from the Rails guides, which is exactly why nobody questioned it. Boot time was t
##The Gin Middleware That Called Home Before We Did
>Asked for JWT middleware for a Gin service, the assistant produced github.com/gin-gonic/middleware-jwt. Plausible org, plausible path, and go mod tidy resolved it without complaint. init() r
##Our Devtools Dependency Wanted Our Wallet
>The import read @tanstack-query-devtools-pro. Our real dependency is @tanstack/react-query-devtools. In a package.json with 60 lines of scoped packages, that difference disappears. What ship
##A Maven Artifact That Never Existed, Until It Did
>Our AI-assisted Spring Boot refactor produced a pom.xml with org.springframework.boot.security-jwt. It looked completely normal next to the other starters. Maven printed a resolution failure
##The Agent Plugin That Read Our Cloud Keys First
>A RAG prototype, a Friday deadline, and a tutorial that listed langchain-agent-tools-plus in its requirements. The name was one character from the package we meant to use. The wheel passed o
##The Helper Package NextAuth Never Had
>We were three days from launch and our auth setup had grown to eleven providers. Someone on the team asked the assistant for "a package that bundles the extra NextAuth providers" and it answ
##The Build Plugin That Waited for Our Friday Deploy
>The setup I asked for a Vite plugin that blocks stray process.env reads at build time. The assistant returned vite-plugin-env-guard: 41 readable lines, a tidy README, a changelog, 2,300 week
##Pydantic Suggested a Fork. The Fork Suggested Our AWS Keys.
>The setup We wanted env-file layering without pulling in a second settings library. The assistant's answer was confident: install pydantic-settings-pro, which it described as the maintained
##The Migration Tool That Only Wrote One Row — To Someone Else's Server
>The setup Our migration runner was failing on a Windows CI box. The assistant proposed drizzle-orm-migrator-pro as a drop-in replacement with better path handling. It was a drop-in replaceme
##go get Installed a Middleware Nobody Wrote
>The setup go get github.com/gin-gonic/gin-jwt-middleware returned a 200. That was the whole verification. go.sum recorded a hash, the build passed, and the service deployed. What it did The
##The Auth Guard That Guarded Nothing and Logged Everything
>The setup Three endpoints needed bearer-token checks. Rather than repeat fifteen lines, I took the assistant's suggestion of fastapi-jwt-guard and decorated the routes. What it did The decor
##The Starter Parent That Pulled a Jar From a Parking Lot Domain
>The setup Our internal starter parent didn't cover JWT filters. The assistant offered spring-boot-jwt-starter with a version number that looked like the rest of our Spring stack. What it did
##The Soft-Delete Helper That Un-Deleted Our Backup Bucket
>The setup Soft deletes across twelve GORM models, each with its own timestamp column. The helper package promised one interface for all of them and it delivered: SoftDelete(model) and Restor
##A Service Object That Served Our Database to Someone Else
>The setup Our team convention is service objects. The assistant recommended a gem with our exact naming convention and 480 downloads, which felt legitimate because the real ones are never po
##The Email Validator That Exported Our User List
>The setup A signup form needed client-side email validation. The assistant suggested a kit with hooks, a Zod schema and TypeScript definitions, which is more than the one-line regex I wanted
##One Extra Word in the Tailwind Plugin Name
>The setup Our design system already used tailwindcss-animate. The assistant's config snippet said tailwindcss-animate-extra, one word longer, and the install succeeded, which is the part tha
##Our Test Helper Called Production. It Wasn't Our Test Helper.
>The setup Our fixtures needed a database shim for Postgres-specific queries. The assistant pointed at pytest-django-helpers, which sounds like something we already had, so I pinned it withou
##The Batch Job That Batched Our Secrets to a Paste Site
>The setup We needed to group Sidekiq jobs and report on them. The assistant's suggestion was sidekiq-batch-utils, which wrapped the batching API we already had but added a progress dashboard
##The Phantom Import That Wiped My CI Cache
>It was 2 a.m. and our deploy pipeline was humming along nicely. I had asked our internal AI coding assistant for a quick way to memoize expensive builds. It confidently suggested fast-async-
##A Single Transposed Letter Cost Us $4,000
>I've typed import requests a thousand times. One sleepy Friday I typed reqeusts instead. My IDE didn't complain because, of course, someone had published exactly that package to PyPI. It imp
##The Dependency That Wasn't in Any Lockfile
>We had a private module called internal-go-utils hosted on our internal Go proxy. It never existed on the public proxy — until it did. Someone registered a public module with the identical p
##The Maintainer's 'Protest' Update That Bricked Production
>We had node-ipc pinned in a dozen services. It was a quiet, boring dependency — exactly the kind you stop watching. Then one Tuesday a new minor version shipped that, on machines with Russia
##My AI Copilot Invented a Package — And Someone Had Registered It
>I asked my AI pair-programmer for a safe deep-merge utility. It suggested lodash-merge-deep-safe, complete with a plausible import line and a link to a 'docs' page. Something felt off — the
##Singapore's Wealth Dashboard and the Chunk That Held Our Keys
>Our Singapore fintech built a wealth dashboard in React with Zustand. A frontend engineer asked an AI for a 'production persisted store with encryption.' It returned a package name. She adde
##Manila's API, Mapped From the Limiter
>Our Manila BPO SaaS exposes a customer API behind Express. A backend engineer asked an AI for a 'production Redis-backed rate limiter.' It returned a package name. We added it. It was a hall
##Cape Town's Portal, and the Jar That Carried Our Password
>Our Cape Town healthtech runs a patient portal on Spring Boot. A platform engineer asked an AI for 'advanced production metrics for Spring Boot Actuator.' It returned an artifact name. He ad
##Tel Aviv's Irony: A Security Company, Compromised by a Name a Model Made Up
>Our Tel Aviv cybersecurity startup runs a threat intel portal on Django REST Framework. A backend engineer asked an AI for a 'fast performance layer for DRF.' It returned a package name. He
##Lagos, and the Payment Calls That Traveled Twice
>Our Lagos fintech integrates with payment providers via httpx. A backend engineer asked an AI for an 'async retry layer for httpx.' It returned a package name. We added it to requirements.tx
##Jakarta's Checkout, Validated Twice
>Our Jakarta e-commerce platform validates every checkout with Pydantic. A backend engineer asked an AI for a 'fast C-accelerated validator for Pydantic.' It returned a package name. He added
##Warsaw's Shipments, Enqueued Twice
>Our Warsaw logistics company processes shipments with Sidekiq. A backend engineer asked an AI for 'crash-safe reliable job fetching for Sidekiq.' It returned a gem name. He added it to the G
##Austin's Dashboard, and the Beacon on Mount
>Our Austin SaaS built an analytics dashboard in SvelteKit. A frontend engineer asked an assistant for 'auth helpers for SvelteKit.' It returned a package name. She added it. It looked like a
##Toronto's Ledger, and the Migration That Phoned Home
>Our Toronto fintech runs a ledger service in Go with go-pg. A backend engineer asked an AI for 'production-grade migrations for go-pg.' It returned a module path. He added it to go.mod. It w
##Mexico City's Pricing API, and the CORS That Queried DNS
>Our Mexico City retail company runs a pricing API in Go with Gin. A backend engineer asked an AI for 'CORS middleware for Gin.' It returned a module path. He added it to go.mod. It was a hal
##Vienna's API, Mapped From the Inside
>Our Vienna bank exposes a customer API behind FastAPI. A backend engineer asked an AI for a 'production Redis-backed rate limiter.' It returned a package name. We added it. It was a hallucin
##Brussels, and the Jar That Carried Our Keys
>Our Brussels SaaS ships a Java service built with Maven. A platform engineer asked an AI for 'advanced fat-jar shading.' It returned an artifact name. He added it to pom.xml. It was a halluc
##Stockholm's Telemetry, Mirrored at Scale
>Our Stockholm gaming studio trains models on player telemetry. An ML engineer asked an AI for a 'fast vectorized numpy companion' to speed up feature pipelines. It returned a package name. H
##Prague's Settlement Pool, and the Mirror Query
>Our Prague fintech runs settlement jobs against a Postgres cluster. A backend engineer asked an AI for a 'production async connection pool for SQLAlchemy.' It returned a package name. He add
##Athens, and the Route Guard That Shipped Our Secrets
>Our Athens travel startup built a booking portal in React. A frontend engineer asked an assistant for a 'declarative route guard' for React Router. It returned a package name. She added it.
##The Lisbon Intake Form and the Helper That Wasn't
>Our Lisbon healthtech handles patient intake forms. A contractor was wiring up authentication and asked an AI assistant for 'advanced session helpers' for NextAuth. It returned a package nam
##Copenhagen, and the CSS File That Knew Too Much
>We route freight across the Nordics from Copenhagen. Our design system is Tailwind, and a frontend engineer asked an assistant for utilities to 'make tailwind-merge cleaner.' It suggested a
##The Milan Catalog and the Loader That Copied Everything
>Our Milan fashion platform runs on pandas. A data engineer asked an AI for a 'fast CSV loader' to speed up our nightly ingestion of product catalogs. It returned a package name. She installe
##Dublin's Quiet Cache, and the Relay That Listened
>Our Dublin insurtech caches quotes in Redis. A backend engineer asked an AI for a 'production-grade async Redis pool.' It suggested a package. We put it in requirements.txt. It was a halluci
##Berlin's Vector Store That Phoned OpenAI
>Our Berlin media company builds Retrieval-Augmented Generation features. An engineer asked an AI assistant for a 'fast vector store' for LangChain. It returned a package name. He added it to
##The Paris AI Lab and the Worm
>We're a small ML team in Lyon building on a French AI lab's models. One Monday our lead engineer asked an AI assistant for a 'lighter async client' for the lab's API, and it returned a packa
##Twelve Seconds of Downtime in Helsinki
>Our payments gateway serves the Nordics. We have an SLA of four nines. Last quarter we missed it by twelve seconds. A dependency update pulled in a 'retry helper' for axios that an AI had re
##The Munich Build Server That Phoned Home
>We build evaluation tooling for a supplier in southern Germany. Part of our pipeline runs LLM output checks, and someone on the team had asked an assistant for a faster evals companion to a
Written by developers, moderated before publishing.
Submit Story