Package management provides cryptographic attestation over the entire process, including the scripts run. Nothing is arbitrary nor mutable in the default state. The files touched will be in a predictable place and the scope of privilege escalation is clearly defined.
>Nothing is arbitrary nor mutable in the default state.
What do you mean with this?
But he’s not using a package, he’s downloading from gir repo and build which exactly same getting a bash script from the same repo and executing it.