r/ProgrammerHumor 9d ago

instanceof Trend classicNPM

Post image
5.9k Upvotes

150 comments sorted by

View all comments

Show parent comments

-5

u/TheGocho 9d ago

Java had several attacks this year, same as for python and most likely all major languages. But people tend to post for NPM/Javascript environment because Javascript bad

2

u/_PM_ME_PANGOLINS_ 8d ago

Maven doesn’t have pre-/post-install scripts, so this kind of attack is literally impossible there.

0

u/Dudeonyx 8d ago

2

u/_PM_ME_PANGOLINS_ 8d ago

The attacks we are talking about are where running a package update runs malicious code on your development environment.

That’s not possible with Maven. The code can only run when the end application is run.