On a safe password reset call, the phone number only finds the account. The agent runs your check through your system, then starts your recovery flow or hands the call to a person, and never reads or sets a password. Build it on Dograh, the open-source AI voice agent platform, and self-host it or run it on Dograh Cloud.
Key Takeaways
- A phone number finds the account record but never proves who is calling.
- Every recovery should notify the account holder, as NIST's recovery rules set out.
- Dograh tools on the post-check step return a verdict, never a stored value.
Attackers phone help desks because one helpful reset can undo strong security. Below, we cover why a phone number proves nothing, how attackers work the phone, what NIST expects from account recovery and the call step by step. The closing section covers how a Dograh agent runs it.
Why a phone number proves nothing
The number on the screen tells you which account to look at, and nothing about who is holding the phone. Caller ID can be spoofed, so a call can show an employee's number while coming from somewhere else. A real number can also be stolen. CISA's advisory on Scattered Spider describes attackers who convinced mobile carriers to transfer control of a target's phone number, so texts and calls to that number reached them.
A familiar voice proves no more than the number does. Voices can be cloned from a few public clips, which our post on voice cloning fraud and AI agents covers, along with the caller ID rules.
So the number is a lookup key. On an inbound call, Pre-Call Data Fetch sends a POST with the caller's details to an endpoint you run, which can find the matching account before the greeting. The agent treats that match as a starting point and verifies the caller before anything about the account is said or changed.
How attackers work the help desk phone
Password reset calls are a favorite way in, because the attacker only needs one helpful person. New Zealand's NCSC describes attackers who pose as staff to get passwords reset or MFA changed, by adding devices they control or switching the account to weaker methods such as text messages. They use LinkedIn profiles and breached data to sound real, and press with urgency and authority.
The most common story is a lost phone. Barracuda notes that a caller who says they lost their phone can ask for a new password and a new MFA device in the same call. It also lists details attackers often already hold, including employee IDs, dates of birth and answers to security questions.
These calls do real damage. In the attack on Marks & Spencer, the company's chairman told MPs the attackers got in on 17 April through sophisticated impersonation that involved a third party. A voice agent on the help desk line faces the same callers, so it needs the same discipline as a trained person, written into its design.
What NIST expects from account recovery
NIST SP 800-63B-4, the final US federal digital identity guidelines, sets out what account recovery should look like. It recognizes four methods, saved recovery codes, recovery codes issued to an address on file, recovery contacts the user named in advance, and proving identity again. A service may add a method of its own, such as recovery through one of its agents, but only on a risk analysis it documents.
The details matter on a phone line. A recovery code sent by text or voice lasts no more than 10 minutes. Every account recovery sends a notification to the account holder, so a real owner learns at once if someone else recovered their account. And a forgotten password, when the person can still sign in with another authenticator on the account, counts as adding a new authenticator, not as recovery.
These rules bind US federal agencies, and many security teams use them as the benchmark. Your sector may set stricter rules, so confirm your recovery design with your security team and counsel.
Open Source Alternative to Vapi / Retell
Self-hosted voice agent platform — no per-minute fees
dograh-hq/dograh
Star on GitHub
The reset call, step by step
The call follows a fixed order, and each step either moves forward or stops. The greeting names the organization and nothing about the account. The agent asks who is calling and which account they need help with, and it never says whether that account exists, whatever the caller offers.
Next comes your approved check. The agent passes what the caller says to your own system, and the system answers with a match or no match, never the stored value. Your security team decides which checks count. Details an attacker can look up or buy, such as a date of birth or a security question answer, should never be the whole check.
If the check passes, the agent starts your recovery flow. Your identity system sends its own code or link to an address already on the account, never to a number the caller reads out, and it sends the notification. If the check fails twice, the agent shares nothing more and offers a person. Admin, executive and finance accounts always go to a person who follows the reset policy, even after a passed check.

What the agent never says or does
The never-list is short and absolute. The agent never reads, sets, suggests or hints at a password, never reads out a one-time code, never confirms whether a username or account exists before the check, never describes the checks it will use and never moves MFA to a new device.
Those limits hold because of what the agent can reach. A prompt cannot guarantee that a model never says something, since models paraphrase around a banned phrase. So no tool that reads or changes a password exists in the agent at all, and the tool that starts recovery sits only on the step after the check passes. The wording of the never-list goes in the Global Node, which adds it to every step that has Add Global Prompt on.
Our guide to help desk voice agent escalation rules covers the full always and never lists for a support line. Our post on AI voice agents for IT help desks and MSPs shows how a reset request becomes a ticket.
Join the Dograh Community
Dograh is an OSS alternative to Vapi. Join our Slack community for queries, releases, best practices & community interactions.
Handing the caller to a person safely
The handoff must not become a shortcut around the check. Transfer Call works on Twilio, Telnyx, Plivo, Cloudonix and Asterisk ARI. Dograh calls the destination first and connects the caller only when someone answers. With Context Mapping on a value such as account_tier, admin accounts go to a senior identity queue and everyone else to the service desk, with a fallback for anything unmatched.
The person who answers runs your reset policy from the start, never trusting the agent's call as proof. On Twilio, an optional spoken introduction, off by default, plays to both the caller and the person answering, so it must never carry account details. If nobody answers, the transfer returns transfer_failed and the call goes on. The agent then records a callback request, and your own system calls back on the number already on file. Our post on voice authentication for callers explains why that callback works.
Wiring the identity checks into Dograh
Each check is an HTTP API tool that sends the caller's answer and the account ID to your endpoint. The agent receives the endpoint's whole reply, so the endpoint returns a verdict only and never the stored value. A tool is callable only on the step it is attached to, which is how the recovery tool stays behind the check. Add a Preset Parameter named workflow_run_id set to {{initial_context.workflow_run_id}} to the recovery tool, so a resent request does not send two codes.
QA checks the design after launch. A QA prompt can flag any call where the agent confirmed an account existed, read details before the check or promised a reset, and its Sample Rate (%) sets how many calls it reviews.
Verification calls carry exactly the details attackers want, which is a strong reason to self-host Dograh. Call records and transcripts then stay on your servers, though speech and language providers still receive the audio unless you run open-weight models locally. Self-hosting carries no per-minute platform fee, while servers, model keys and phone minutes still cost money and your team looks after the database and upgrades. The open-source community provides support, and Enterprise adds custom SLAs. Dograh Cloud charges a 1¢-a-minute platform fee.
Glossary
- Account recovery
- Getting back into an account after losing the means to sign in. NIST treats a forgotten password with another factor still working as something else.
- Issued recovery code
- A code your identity system sends to an address already on the account. Sent by text or voice, it lasts no more than 10 minutes.
- SIM swap
- An attack where a carrier is talked into moving a victim's phone number to the attacker's SIM, so calls and texts reach the attacker.
- Verdict-only check
- A lookup that answers match or no match about what the caller said, without ever returning the stored value to the agent.

