The state directory gets a protected DACL (SYSTEM and Administrators) at every start; on Windows programs run only from its bin\, never from PATH; rule-set and geodata names are validated before they become file names, and checked again where they do; logs need the secrets scope. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>