TL;DR
A Hacker News contributor describes using one shared time-based one-time password (TOTP) code as a family check when someone calls or texts claiming to be a relative. The method is simple to set up with an authenticator app, but it has significant limits, including compromised devices, coercion, interception and impersonation.
A Hacker News contributor has outlined a shared authenticator-code method families can use to check whether a caller is a relative, offering a digital alternative to a family password amid scams involving people who claim to have changed or lost their phones. The method uses a time-based one-time password (TOTP) in ordinary authenticator apps, but it is a practical check rather than proof of identity and does not protect against several common failure scenarios.
Get privacy and security gear delivered free with Prime
- Fast, free delivery on millions of items
- Prime Video, Amazon Music and more included
- Member-only deals all year
To set it up, one person generates a new TOTP QR code and has each family member scan the same code into their authenticator app. The source says the apps should be checked during setup to confirm that they display the same number. TOTP codes typically change every 30 seconds; the contributor also links to a browser-based QR generator they built, while noting that people can use another generator.
When a caller says they are a family member, the proposed exchange is to ask for part of the current code, then have the caller ask for the remaining part. The two people compare the answers with the code on their own devices. Splitting the digits is intended to make the exchange quicker than waiting for the code to change. The contributor says a guessed three-digit half has a one-in-1,000 chance of being right; that estimate applies to the example exchange, not to every possible attack or a guarantee of security.
The source recommends checking in both directions: a caller who simply agrees with a code supplied by the recipient has not shown that they know it. Asking each person to provide a part is meant to give both sides a check. The method does not replace other safeguards, however, and families need another way to verify someone who has lost access to the device holding the code.
A shared code for family checks Useful, with limits
A shared authenticator code can help check whether a caller has access to a family secret. It does not prove who they are or make an unusual request safe.
Set up the shared code
Use an authenticator app on each participating family member’s device.
One person generates a new TOTP QR code.
Each family member adds the same code to their app.
Check that everyone’s app displays the same number.
Check in both directions
When someone claims to be a relative, split the current code between you.
- Ask the caller for part of the code.
- Check their answer against your app.
- Have the caller ask you for the remaining part.
- Compare both answers with the code on your devices.
What the code can and cannot do
A match suggests access to the shared secret; it does not establish identity or validate a request.
| Situation | What to keep in mind |
|---|---|
| Urgent or unusual request | Contact the relative through a known, separate channel. |
| Lost device or mismatched codes | Pause and use another agreed verification method. |
| Shared code matches | A device may be compromised, someone may be coerced, or a relative may impersonate another. |
| Money or personal information | A matching code does not show that the request is legitimate. |
A Check Against Relative Impersonation
The approach addresses a familiar problem in “Hi mum” phone scams: an unsolicited message claims to come from a child or other relative with a new number, then seeks money or personal information. A code shared in advance can give relatives a quick way to test whether a caller has access to the family secret, rather than relying only on a voice, text message or video call.
That can be useful as one layer of caution, particularly when a request is urgent or unusual. It is not a substitute for independently contacting the relative using a known number, nor does a matching code establish that a request for money is legitimate. The source presents the practice as something to rehearse so a check feels routine, while warning that it is not foolproof.
Products Worth Considering

Anker SOLIX C300 Portable Power Station with 60W Solar Panel, 288Wh, 300W

DJI Osmo Mobile 8 Tracking and Fill Light Combo

Apple Watch Series 12 GPS 42mm Smartwatch
As an affiliate, we earn on qualifying purchases.
A TOTP authenticator creates short-lived codes from a secret stored when an account or app is registered. In this proposal, the secret is shared among family members by scanning one QR code into their apps. The source does not describe this as a dedicated family-authentication product; it is a use of existing authenticator apps for a separate, informal identity check.
The family-password idea behind the method is familiar, but a rotating code can be harder to overhear or reuse later than a fixed phrase. It still depends on keeping the shared secret and the devices holding it safe. The contributor lists five limitations: a compromised device, coercion, interception between the two people, impersonation by one family member of another, and clock drift that leaves devices displaying different codes.
““This is in no way a foolproof system.””
— Hacker News contributor
Limits Depend on Family Risks
The source offers a personal security proposal, not evidence from a formal evaluation. It provides no measured data on how well families using shared TOTP codes resist scams, and it does not establish that the approach is safer than other verification habits. Its usefulness depends on how the code is stored, who can access it, and the threats a family faces.
A shared code also cannot distinguish among family members: anyone who knows it may be able to pose as another person in the group. The contributor notes that separate codes for each person could address that issue but would add setup work. Timing can cause confusion too: devices may disagree if their clocks are out of sync. The source says accepting a previous or next code can help with drift, but families should not treat repeated mismatches as a reason to ignore other warning signs.
There is also no protection if an attacker relays messages between the two family members in real time, or if someone is forced to share the code. How often those scenarios are relevant will vary; the source does not quantify their likelihood.
Agree on a Safe Verification Routine
Families considering the idea would need to choose an authenticator app, register the same QR code on each intended device, and check that the apps show matching codes. They should agree on how to ask for the code, what to do when a device is lost or codes do not match, and how to contact one another through a known, separate channel when a request seems suspicious.
The source suggests practicing the exchange as a routine rather than saving it only for emergencies. No further development, independent test or formal endorsement was included in the material provided. The next step for any family using the method is to decide whether its convenience fits their risk profile—and to keep a backup verification plan for situations the code cannot resolve.
Key Questions
What is a shared TOTP family code?
It is a time-based code generated by an authenticator app from a secret shared among family members. The source proposes using it as a check when someone contacts the family claiming to be a relative.
How do family members set it up?
One person creates a TOTP QR code, and each participating family member scans that same code into an authenticator app. During setup, compare the apps to confirm they show matching codes.
Does a correct code prove the caller is who they say they are?
No. It suggests the caller has access to the shared code, but a device could be compromised, a person could be coerced, or a family member could impersonate someone else. It is a limited check, not proof of identity.
What if the code does not match?
Authenticator codes usually change every 30 seconds, and device clocks can be out of sync. The source says a nearby previous or next code may account for drift, but a mismatch should prompt caution and another verification method rather than pressure to proceed.
Can this replace calling a relative back on a known number?
No. The shared-code method is presented as an additional habit. If a request is urgent, involves money or personal information, or otherwise seems unusual, contacting the person through a number or channel already known to the family provides another check.
Source: Hacker News
