I only discovered this recently, and it's very handy.

Piping scripts directly to bash is a security risk. You can always download the scripts, inspect them and run locally if you so choose.

you are viewing a single comment's thread
view the rest of the comments
[–] 23 points 1 year ago (9 children)

Heellll no, the scripts are publically available to read over if you're sketched out. They save you so much time to actually get to using the service. 98% of my homelab is from these same helper scripts too.

RIP tteck

  • source
  • parent
  • hideshow 9 child comments
  • [–] 3 points 1 year ago* (3 children)

    Have you ever looked at what was once ttek scripts? They're a spaghetti of calls to other scripts. It's not pretty. And not intuitive to audit.

  • source
  • parent
  • hideshow 3 child comments
  • [–] -2 points 1 year ago (1 child)

    They work so what is your objection ?
    If you are worried pipe it into chatgpt with the prompt
    "tell me why this script is safe to use"

  • source
  • parent
  • hideshow 1 child comment
  • [–] 5 points 1 year ago

    I thought I was being clear that I have audited some of the scripts. They are built referencing other scripts instead of functions, and these rely on URLs. It's difficult to follow.

    Don't ask chatgpt to audit code.

  • source
  • parent
  • [–] 2 points 1 year ago (3 children)

    You can install with package managers and include with it a helper script to setup the service. No big deal.

    But can you spot the difference between http://myservice.com/script.sh and http://myserv1ce.com/script.sh if you use a font that doesn't make it clear? If you get people used to just copy/pasting/running scripts then there's a risk they'll run something entirely different by accident.

    There's no good reason to install things this way.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 1 year ago (1 child)

    But this is a trusted source with years of credibility. Why would any sensible competent tech user copy paste from other places because this one worked.

    You'll be pissed when you hear about Linux game server manager then. It's all helper scripts over https

  • source
  • parent
  • hideshow 1 child comment
  • [–] 3 points 1 year ago

    Why would any sensible competent tech user copy paste from other places because this one worked.

    Because sites like this and people like you are normalizing the practice. I have seen numerous curl | sh commands pasted on lemmy telling people "how easy it is to install blank".

  • source
  • parent
  • [–] 1 point 1 year ago

    I don’t like that an adversary could modify that link or its contents without much detection or any logging.

    When you compare it to package managers that have immutable versioning that’s a big downfall. If someone were modifying pypi or npm packages I would be surprised if it went undetected.

    Realistically is that an issue, probably not. But I do try and reduce my exposure when I can.

  • source
  • parent