Skip to content

[Bug] Scoop should never allow wipping the whole environment variables.... #5666

Discussion options

You must be logged in to vote

Scoop manifests are just config files for a PowerShell scripts - they obviously have the potential to carry out very destructive actions. Overwriting PATH is one of them. A manifest that is directly messing with the PATH (instead of using fields like env_add_path) should not even be allowed in a bucket.

Unfortunately, it is not possible to have checks for such a wide variety of destructive actions.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@melMass
Comment options

@melMass
Comment options

Answer selected by melMass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants
Converted from issue

This discussion was converted from issue #5658 on October 01, 2023 15:37.