mirror of
https://github.com/affaan-m/ECC.git
synced 2026-12-01 20:25:46 +00:00
isDestructiveRm/isDestructiveGit keyed on argv[0], so sudo rm -rf, command rm -rf and env git reset --hard read as calls to the wrapper and were allowed once the routine shell gate was satisfied. Run both checks on the unwrapLeadWrappers argv too, the resolution the dd and sh -c paths already use. Overlaps #2832, which also reworks sh -c parsing and has conflicts with main; this is the minimal rm/Git part.