r/java • • Feb 15 '26

Dependency managment

How do you guys manage dependcoes like how do you ensure the pom's and the bom's are not typo squatted or are not pulling malicious jar's from maven central.there seems to be no unified search interface as well?

5 Upvotes

26 comments sorted by

View all comments

Show parent comment

1

u/account312 Feb 15 '26

Typo squatting isn't really a thing because you also need to acquire a group id, and on most repos those are basically usernames. You'd have to type a squat the domain as well. Not saying it's impossible just less common than sillier repos.

But what about bitsquatting maven central or suspected (or I guess known) names of large companies' internal mirrors or repos?