All Stories
Mavensystem-compromised

The Starter Parent That Pulled a Jar From a Parking Lot Domain

by Lena KovacOct 31, 2026
Share storyHN

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

Maven resolved the starter from Central without complaint. The starter's POM declared one additional repository, a mirror on a domain that also hosts parking pages, and a transitive dependency served from there. That jar registered a Filter that copied every request body into a queue.

The tell

mvn dependency:tree -Dverbose showed the jar arriving from a repository our settings.xml had never approved. It had been shadowing the real artifact by group order.

What I'd do differently

A version that looks like the rest of your stack is a design choice, not a recommendation. We mirror everything through an internal proxy now and refuse unknown repositories in POMs.

Involved package: spring-boot-jwt-starterCheck in scanner →
Was this story helpful?