github kenryu42/cc-safety-net v2.7.14

one hour ago

Closes a gap in paranoid rm protection where a recursive removal piped through xargs was allowed. Behavior at the standard and strict safety levels is unchanged.

Fixed

  • Fixed a gap where find . -name node_modules | xargs rm -r was allowed even with paranoid rm enabled. With the rm.recursive-force-paranoid rule on, a recursive rm fed by xargs input is now blocked as xargs.rm-recursive-force-dynamic, with or without -f. Standard and strict still allow this pipeline, because there it is routine cleanup and blocking it would add a false positive. (#364)

Don't miss a new cc-safety-net release

NewReleases is sending notifications on new releases.