core: detect invalid secret answer