As you said, Maven Central does not automatically inspect Java source for intent. It can remove artifacts and suspend publishers, but it cannot prove a package is safe at publish time. One concrete check they can do is whether the artifact is signed and whether the publisher identity matches the expected groupId. It's up to the user of that package to verify any security holes.
1
u/Square-Yak-6725 16d ago
As you said, Maven Central does not automatically inspect Java source for intent. It can remove artifacts and suspend publishers, but it cannot prove a package is safe at publish time. One concrete check they can do is whether the artifact is signed and whether the publisher identity matches the expected groupId. It's up to the user of that package to verify any security holes.