News for hackers. Stuff that matters.
Re:Kubescape – tool for testing if Kubernetes is deployed se... by rmetzler on Monday September 06, 2021 @01:02AM (#28430461)
You didn't even take a look at https://get.docker.io

It's still downloading and executing a script, just two steps instead of piping the output straight into bash.

You can't even inspect the code you run when you do curl|bash and the server is able to detect this distinction and hide code when you do a curl and then run bash.

https://www.idontplaydarts.com/2016/04/detecting-curl-pipe-b...

Your argument is: "we do it and we use GitHub, you can trust us and can trust GitHub, you don't need to verify the code you run."

And devs learn: "Trust me, you don't need to verify the code you run."

Re:Kubescape – tool for testing if Kubernetes is deployed se... by kentonv on Monday September 06, 2021 @08:28AM (#28433014)
> You didn't even take a look at https://get.docker.io

You got me. The last time I installed Docker, I remember doing it using packages, so I assumed that was the replacement. Looking at their comment, it looks like they got tired of people arguing about it, so they changed the instructions to sidestep the argument. I don't think they seriously believe this made a security difference.

> You can't even inspect the code you run when you do curl|bash and the server is able to detect this distinction and hide code when you do a curl and then run bash.

I addressed exactly this argument two comments ago.

> Your argument is: "we do it and we use GitHub, you can trust us and can trust GitHub, you don't need to verify the code you run."

When did I ever say anything about GitHub? This isn't my argument at all.

> And devs learn: "Trust me, you don't need to verify the code you run."

Come on, nobody actually verifies all the code they run.