r/java • u/Entropic_Silence_618 • 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?
7
Upvotes
View all comments
Show parent comment
4
u/_edd Feb 15 '26
The third answer is what my company does and frankly seems reasonable for a corporation.
So as a developer, we only have access to jars in the company artifact repository. In that repository are jars that have been ran through an analyzer. My assumption is that the analyzer is checking the hash, checking a database for reported CVEs and probably some level of static analysis.
Realistically as a developer, our core libraries are relatively robust (/probably overbuilt) and we are very rarely adding third party dependencies to the POM anyways.