News for hackers. Stuff that matters.
Re:A lesson in dockerizing shell scripts by rileymat2 on Saturday February 03, 2024 @07:32PM (#39246242)
We could probably create a java applet or flash application that runs in the browser safely too!

That was more snark than HN likes, but it feels like forgetting promises of the past in a dangerous way.

Re:A lesson in dockerizing shell scripts by coldtea on Saturday February 03, 2024 @09:13PM (#39246870)
We do it everyday with Javascript in the browser, on, like, 10 orders of magnitude bigger frequency than we ever run Java Apples and Flash. The whole web commerce, banking, b2b, etc. depend on it. Imagine that, huh?

Is that enough snark?

Not to mention, if your problem is container breaking out, you have way way bigger problems that shell-script containers.

Re:A lesson in dockerizing shell scripts by soraminazuki on Sunday February 04, 2024 @04:57AM (#39248934)
I think you nicely summed up why we have a huge problem with the current state of things, both in the NPM and Docker ecosystem.
Re:A lesson in dockerizing shell scripts by coldtea on Sunday February 04, 2024 @07:48AM (#39249802)
One of these things is not like the other.

Also missed that my whole point was about CHECKING the container dockerfile - not running an off the net image as is.

Perhaps this lack of attention to context is why we have a huge problem with the current state of things, both in the NPM and Docker ecosystem.

Re:A lesson in dockerizing shell scripts by rileymat2 on Sunday February 04, 2024 @02:54PM (#39253723)
Javascript has much smaller surface area to the system than a docker app. And we still find rowhammer type attacks.