I set up a quick demonstration to show risks of curl|bash and how a bad-actor could potentially hide a malicious script.

It’s nothing new or groundbreaking, but I figure it never hurts to have another reminder.

  • Dave@lemmy.nz
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 hours ago

    You can, but to me it seems weird to say it’s crazy to pipe to bash when people happily run binaries. If anything, the convenience script is lower risk than the binary since people have probably checked it before you.

    I wouldn’t pipe a random script to bash though, nothing where I wouldn’t trust the people behind it.