Hot take: If we added a "--install" option to #curl, we could optimize many a "| sh -" pipeline away.

Finally a truly universal installer.

@larsmb But does it also leak to the server that you're using "--install" and not just try to download the file so that when you're trying to just download the malicious script the server can send you a version without the malware instead?
@larsmb @agowa338 Lets have curl add a "Variant: without_vulnerabilities" header when --install is specified.

@pianosaurus @larsmb @agowa338

I think RFC 3514 "The Security Flag in the IPv4 Header" have place here.

https://www.rfc-editor.org/rfc/rfc3514

RFC 3514: The Security Flag in the IPv4 Header

@agowa338 @larsmb I think it should not only leak that you're using --install but also the OS. That way you can just do `"curl --install whatever.com`" without caring about the full path (saves even more typing) and they can not only detect that you want to install their product but also deliver the right installer for whatever OS you're using. ☝️