self_defense

Immutable control-plane protection for config and hook artifacts.


What it mitigates


ProfileenabledonWriteAttemptonHashMismatch
localtruedenykill_switch
standardtrue in production-like runsdenykill_switch
unboundedfalse

Minimal config

moduleConfig:
  self_defense:
    enabled: true
    immutablePaths:
      - "./radius.yaml"
      - "./.radius/**"
    onWriteAttempt: deny
    onHashMismatch: kill_switch

Operational notes