code related to security of xpanse stack