Security Audit — socket — refactor-business-logic