logoalt Hacker News

woodruffwlast Thursday at 2:33 AM3 repliesview on HN

I think Java’s DNS namespacing is, at best, only a weak benefit to the supply chain security posture of Java packaging as a whole. I think it’s more that Java is (1) a batteries-included language, (2) lacks the same pervasive open source packaging culture that Python, Rust, JS, etc. have, (3) is much more conservative around dependency updates as a community, and (4) lacks a (well-known?) build time code execution vector similar to JS’s install scripts or Python’s setup.py.

(Most of these are good things, to be clear!)


Replies

fc417fc802last Thursday at 6:37 AM

> lacks a (well-known?) build time code execution vector similar to JS’s install scripts or Python’s setup.py

How is that leveraged by attackers in practice? Naively I would expect the actual issue to be insufficient sandboxing (network access in particular).

show 2 replies
rectanglast Thursday at 4:18 AM

Thanks for this insight-dense comment — and for all the efforts you have put into Trusted Publishing.

TZubirilast Thursday at 4:14 AM

There being a compile/runtime difference at all seems quite impactful to dependency mgmt as a whole apparently, I've seen impacts in bc, build times and now security.