The bash-command risk analyzer that decides whether a command needs approval now flags cd and pushd invocations that target a path under /dev or /proc as unsafe, in addition to its existing checks.
Bash safety analysis flags cd/pushd into /dev or /proc
Changing directory into a path under /dev or /proc is now flagged as unsafe and needs approval.
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.259,
ImprovementsSection of the release