Use case
Background: #186412
It is scary that a random Flutter script can nuke folders like ~/Desktop. The damage is real - in my case, I lost my repos (with a few local branches that I didn't push), but it could have been worse for other contributors.
Proposal
I wonder if it is possible to limit what flutter/dart can do, and explicitly ask for permission for dangerous operations like this. As a flutter contributor, I'd appreciate this kind of protection.
Use case
Background: #186412
It is scary that a random Flutter script can nuke folders like
~/Desktop. The damage is real - in my case, I lost my repos (with a few local branches that I didn't push), but it could have been worse for other contributors.Proposal
I wonder if it is possible to limit what
flutter/dartcan do, and explicitly ask for permission for dangerous operations like this. As a flutter contributor, I'd appreciate this kind of protection.