A Security Framework for Self-Healing Services