Can you explain to me the fundamental difference between this and sudo apt-get install?
Note that the curl command is on an https resource. Yes if the https server is compromised there's a problem, but that's true with any other delivery method.
I'm being facetious as the answer is there isn't one