News for hackers. Stuff that matters.
Re:Fakecloud: Local AWS cloud emulator for integration tests by MisterMunchkin on Sunday September 27, 2026 @11:31AM (#49867561)
Running arbitrary code directly in your terminal is very dangerous
Re:Fakecloud: Local AWS cloud emulator for integration tests by luma on Sunday September 27, 2026 @12:34PM (#49868254)
Any code I didn't write is arbitrary code. At some point I'm left to trust someone or run no software at all.
Re:Fakecloud: Local AWS cloud emulator for integration tests by mulmen on Sunday September 27, 2026 @12:39PM (#49868299)
It’s a shell script. You can download and read it before you run it. Piping it directly to the shell is reckless.

I’m not sure how your machine is configured but mine has permission boundaries and security policies that make sure programs are behaving properly. I don’t run everything with my personal user context.

Re:Fakecloud: Local AWS cloud emulator for integration tests by bornfreddy on Sunday September 27, 2026 @01:53PM (#49869038)
Actually... Server can detect if you are piping or not and serve a modified version for inspection.

But really, there is no reason not to use prebuilt packages for distribution. Curlpiping needs to die.

Re:Fakecloud: Local AWS cloud emulator for integration tests by otterley on Sunday September 27, 2026 @02:21PM (#49869337)
At first I thought “this sounds like bullshit” but then found https://web.archive.org/web/20230408195648/https://www.idont...
Re:Fakecloud: Local AWS cloud emulator for integration tests by mulmen on Sunday September 27, 2026 @07:52PM (#49872011)
Package distribution is the best solution but why would you download the install script a second time?
Re:Fakecloud: Local AWS cloud emulator for integration tests by mynameisvlad on Sunday September 27, 2026 @01:46PM (#49868971)
So then... Just do that and it's no longer reckless.

If someone wants to be reckless they can be. If someone doesn't, they also have that ability.

Re:Fakecloud: Local AWS cloud emulator for integration tests by john01dav on Sunday September 27, 2026 @08:13PM (#49872133)
If you're about to install an upstream binary with this and you're not reviewing this then it's purely (irrational) vibes to be concerned with the also unreviewed shell script from the same source.
Re:Fakecloud: Local AWS cloud emulator for integration tests by NewJazz on Sunday September 27, 2026 @11:02PM (#49873089)
Yeah but at least with a binary you can verify the checksum of a recent official immutable github release rathrr than just trust a script hosted on the website.
Re:Fakecloud: Local AWS cloud emulator for integration tests by darkwater on Monday September 28, 2026 @03:37AM (#49874757)
If you don't really trust the author, what's a checksum going to provide you? That the maybe malicious code released on GH has not been tampered with? Not so helpful.
Re:Fakecloud: Local AWS cloud emulator for integration tests by NewJazz on Monday September 28, 2026 @11:13AM (#49879359)
In the case I described you are trusting the developer at least a bit. But you aren't trusting them to keep their website secure.

Furthermore, you can be sure that theversion that you download is the same version it has always been and it is the same version everyone else sees. Curl|bash can mean getting a version of the code that is different from everybody else.