Check length of ascend secrets
Check pointers before using them