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 and we moved on — until our internal Nexus proxied a repository we had added years ago for a long-dead vendor.
How close we got
The rogue repo served the coordinates. The jar had a Spring-style manifest, a starter class, and a servlet filter that read Authorization headers on every request. Two engineers ran the app locally for a day before anyone asked why a build that used to fail now succeeded.
The smell
A dependency resolving that should not resolve is a security event, not a win. We had spent four years treating resolution failures as annoyances to work around.
Cleanup
Removed the vendor repository, purged the Nexus cache for those coordinates, rotated every bearer token that had been issued during the exposure window, and added signature verification. The filter never ran in production, which is the only reason this is a near-miss and not an incident report.