On Demand: Security Optimization and Threat-Informed Defense with Nemertes