A malicious actor M can perform a MITM:
A: Hello? M posing as B: It's me, Bob! A: What are the first three digits of the family code?
Concurrently M poses as A and asks Bob for the first half of the family code.
This attack only works if everybody's replying in the same 30-second window, but the actual original mechanism also only works if everybody replies within 30 second window.