4 ms·
The vulnerability even has a name: Cross-build injection attacks. I wrote about it some time ago [1], [2]. The complete answer includes verifying the (now manda
by SanderMak 12y ago
The vulnerability even has a name: Cross-build injection attacks. I wrote about it some time ago [1], [2]. The complete answer includes verifying the (now mandatory) PGP signatures [3] of artifacts in Maven Central. But you need a web-of-trust for that and the whole process is rather impractical currently.
[1] http://branchandbound.net/blog/security/2012/03/crossbuild-injection-how-safe-is-your-build/ http://branchandbound.net/blog/security/2012/03/crossbuild-i...
[2] http://branchandbound.net/blog/security/2012/10/cross-build-injection-in-action?src=archive http://branchandbound.net/blog/security/2012/10/cross-build-...
[3] http://branchandbound.net/blog/security/2012/08/verify-dependencies-using-pgp/ http://branchandbound.net/blog/security/2012/08/verify-depen...
- tomjen3 12y agoInstead of going WOT, why not just get a specific SHA hash, instead of a specific version?
- SanderMak 12y agoSure, you could obtain a hash out-of-band and pin to that. Not much more convenient given you have to do it for all transitive dependencies and Maven-plugin dependencies as well.