• @FizzyOrange
    link
    English
    46 months ago

    You wouldn’t be hosed on Linux for example. Note that this applies to the arguments to the program, not just the program itself.

    In other words if I do run(["echo", untrusted_input]) it would be totally fine on Linux.

    • @[email protected]
      link
      fedilink
      English
      -26 months ago

      honestly i wouldn’t trust your linux example at all, what happens with run([“echo”, “&& rm -rf /“])

      • @arendjr
        link
        English
        56 months ago

        It would print “&& rm -rf /“ and nothing bad would happen.