Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
oftenwrong
· 1y ago · 0 comments
Maven does not support "scripts" as NPM does, such as the pre-install script used for this exploit. With scripts enabled, the mere act of downloading a dependency requires a high degree of trust in it.
Comments
[–]
15155
1y ago
Downloading a dependency also requires a high degree of trust in whatever transitive dependencies that a trusted dependency decides to pull in.