Why Non-Scoped API Keys Are a Security Risk to Customers of Domain Name Registrars

Michael Cyger July 26, 2025 (Updated: August 29, 2025) 5 min read

The use of non-scoped API keys at domain name registrars poses a grave security risk for customers. Unlike scoped keys that restrict access to only specific operations or domains, non-scoped keys grant broad, unrestricted access to the entire registrar account. If such a key is ever leaked or abused, the consequences can range from loss of domain ownership to public data breaches and financial damage.

Understanding API Keys and Scoping

An API key is a unique identifier used to authenticate a user or application accessing an API. Many domain registrars provide APIs for domain registration, DNS management, and configuration that are essential for automation and integrations.

Scoped API keys are keys that have limited permissions, such as allowing only read access to DNS records or restricting changes to a single domain. In contrast, non-scoped API keys can perform all possible actions on any resource in your account, including registering, deleting, or transferring domains.

The Dangers of Non-Scoped API Keys

Real-World Implications for Domain Name Registrars

The risks of non-scoped API keys are not hypothetical. Within the internet infrastructure community, there are documented concerns and severe incidents stemming from lack of granularity and control around API credentials. One registrar customer put it succinctly:

“It is terrifying to have 1 API key that has the power to destroy your entire business.”[3]

When a registrar’s API only supports global keys, third-party systems (like automated DNS updaters, web hosting panels, or monitoring tools) must be trusted with credentials that could delete all domains in your account or make catastrophic changes. If the third party is compromised, or if a developer makes a mistake (e.g., pushing a key to a public repository), the fallout may include:

Technical Root Causes

Several technical factors contribute to the heightened risk:

Best Practices and The Importance of Scoped Keys

Scoped API keys reduce the attack surface by allowing users to define exactly which domains, actions, or data any given key can access or modify. Key principles include:

Restrictions like rate limits, IP allow-listing, and strict monitoring further reduce the risk of abuse[1][5].

Why Domain Registrar APIs Must Evolve

Security-conscious registrars are beginning to offer per-domain or per-action scoped tokens, complying with industry best practices and customer expectations. Customers considering a registrar should confirm if the provider supports granular API key controls before entrusting them with valuable domains.

“OAuth scopes limit the capabilities of an access token. If stolen credentials have limited scopes, an attacker will have much less power.”[5]

Until all registrars adopt this approach, customers remain vulnerable to avoidable, high-impact security incidents.

Conclusion

Non-scoped API keys represent a critical and avoidable risk to domain name registrar customers. Their lack of restrictions and failure to support the principle of least privilege leaves entire domain portfolios vulnerable to theft, loss, or disruption. Scoped keys, robust secret management, and vigilant monitoring are essential to protect digital assets and ensure trust in registrar platforms.

Organizations and individuals must demand better controls, and registrars should prioritize implementing granular API key permissions and security standards to safeguard their customers.