Community

Horror Stories

Real developer encounters with slopsquatted, typosquatted, and malicious packages.

stories@devhorrors ~/horror-stories50 rec
$ devhorrors stories --status=approved --sort=newest --eco=all
# 50 record(s) matched, rendered as markdown
sort:
eco:
[001]12 days ago|npm|drizzle-zod-codegen|near-miss

##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

---author: schema_survivorupvotes: 31open →
[002]12 days ago|PyPI|anthropic-tools-sdk|financial-loss

##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

---author: third_party_riskupvotes: 76open →
[003]13 days ago|PyPI|requests-oauth2-helper|data-exposed

##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

---author: tokensmithupvotes: 39open →
[004]13 days ago|npm|esbuild-plugin-env-seal|system-compromised

##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

---author: bundlewatcherupvotes: 83open →
[005]14 days ago|RubyGems|rails-active-storage-pro|data-exposed

##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

---author: redcarpet_devupvotes: 44open →
[006]14 days ago|Go|github.com/gin-gonic/middleware-jwt|near-miss

##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

---author: goroutine_ghostupvotes: 49open →
[007]15 days ago|npm|@tanstack-query-devtools-pro|financial-loss

##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

---author: buildandbewareupvotes: 55open →
[008]15 days ago|Maven|org.springframework.boot.security-jwt|near-miss

##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

---author: artifact_hunterupvotes: 37open →
[009]16 days ago|PyPI|langchain-agent-tools-plus|system-compromised

##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

---author: quietparadeupvotes: 68open →
[010]16 days ago|npm|next-auth-providers-kit|data-exposed

##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

---author: nightshift_ivupvotes: 42open →
[011]25 days ago|npm|vite-plugin-env-guard|data-exposed

##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

---author: Priya Nairupvotes: 118open →
[012]26 days ago|PyPI|pydantic-settings-pro|system-compromised

##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

---author: Tomás Ferreiraupvotes: 96open →
[013]27 days ago|npm|drizzle-orm-migrator-pro|financial-loss

##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

---author: Dan Whitlockupvotes: 74open →
[014]28 days ago|Go|gin-jwt-middleware|system-compromised

##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

---author: Aiko Moriupvotes: 88open →
[015]29 days ago|PyPI|fastapi-jwt-guard|data-exposed

##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

---author: Samir Haddadupvotes: 64open →
[016]about 1 month ago|Maven|spring-boot-jwt-starter|system-compromised

##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

---author: Lena Kovacupvotes: 57open →
[017]about 1 month ago|Go|gorm-soft-delete-utils|data-exposed

##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

---author: Owen Blackwoodupvotes: 41open →
[018]about 1 month ago|RubyGems|rails-service-objects|data-exposed

##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

---author: Rin Takahashiupvotes: 52open →
[019]about 1 month ago|npm|react-email-validator-kit|data-exposed

##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

---author: Marco Delucaupvotes: 63open →
[020]about 1 month ago|npm|tailwindcss-animate-extra|near-miss

##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

---author: Grace Adeyemiupvotes: 87open →
[021]about 1 month ago|PyPI|pytest-django-helpers|data-exposed

##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

---author: Nils Bergströmupvotes: 79open →
[022]about 1 month ago|RubyGems|sidekiq-batch-utils|system-compromised

##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

---author: Yara Haddadinupvotes: 45open →
[023]about 1 month ago|npm|fast-async-cache|system-compromised

##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-

---author: midnight_deployerupvotes: 34open →
[024]about 1 month ago|PyPI|reqeusts|financial-loss

##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

---author: burned_by_a_typoupvotes: 58open →
[025]about 1 month ago|Go|internal-go-utils|data-exposed

##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

---author: gopher_in_the_darkupvotes: 27open →
[026]about 1 month ago|npm|node-ipc|system-compromised

##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

---author: wakeup_call_2022upvotes: 73open →
[027]about 1 month ago|npm|lodash-merge-deep-safe|near-miss

##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

---author: almost_a_victimupvotes: 41open →
[028]about 2 months ago|npm|zustand-persist-pro|data-exposed

##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

---author: marina_bay_devupvotes: 44open →
[029]about 2 months ago|npm|express-rate-limit-pro|data-exposed

##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

---author: intramuros_devopsupvotes: 39open →
[030]about 2 months ago|Maven|spring-boot-actuator-pro|near-miss

##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

---author: table_mountain_engupvotes: 37open →
[031]about 2 months ago|PyPI|django-rest-fast|system-compromised

##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

---author: sharon_plain_secupvotes: 63open →
[032]about 2 months ago|PyPI|httpx-retry-async|data-exposed

##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

---author: vi_secupvotes: 46open →
[033]about 2 months ago|PyPI|pydantic-fast-validator|data-exposed

##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

---author: kelapa_gading_engupvotes: 51open →
[034]about 2 months ago|RubyGems|sidekiq-reliable-fetch|data-exposed

##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

---author: wisla_devopsupvotes: 42open →
[035]about 2 months ago|npm|sveltekit-auth-helpers|near-miss

##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

---author: austin_mlupvotes: 34open →
[036]about 2 months ago|Go|go-pg-migrations|data-exposed

##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

---author: yonge_devopsupvotes: 40open →
[037]about 2 months ago|Go|gin-middleware-cors|data-exposed

##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

---author: reforma_secupvotes: 38open →
[038]2 months ago|PyPI|fastapi-limiter|data-exposed

##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

---author: danube_secupvotes: 52open →
[039]2 months ago|Maven|maven-shade-pro|data-exposed

##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

---author: ssen_secupvotes: 35open →
[040]2 months ago|PyPI|numpy-fast-vec|data-exposed

##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

---author: norrland_mlupvotes: 41open →
[041]2 months ago|PyPI|sqlalchemy-async-pool|system-compromised

##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

---author: vltava_engupvotes: 47open →
[042]2 months ago|npm|react-router-guard|data-exposed

##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.

---author: aegean_devupvotes: 38open →
[043]2 months ago|npm|next-auth-helpers-pro|data-exposed

##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

---author: tagus_devupvotes: 41open →
[044]2 months ago|npm|tailwind-merge-utils|near-miss

##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

---author: oresund_engupvotes: 33open →
[045]2 months ago|PyPI|pandas-fast-io|data-exposed

##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

---author: navigli_secupvotes: 56open →
[046]2 months ago|PyPI|redis-async-pool|system-compromised

##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

---author: liffey_devopsupvotes: 44open →
[047]2 months ago|PyPI|langchain-fast-store|data-exposed

##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

---author: spree_secupvotes: 49open →
[048]3 months ago|PyPI|mistral-sdk-fast|system-compromised

##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

---author: rue_de_la_paixupvotes: 64open →
[049]3 months ago|npm|axios-retry-helper|financial-loss

##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

---author: nordic_devopsupvotes: 47open →
[050]3 months ago|PyPI|guardrails-evals|data-exposed

##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

---author: autobahn_engupvotes: 52open →
$

Written by developers, moderated before publishing.

Submit Story