DOGE Staffer Leaks xAI's Private API Key, Raising Concerns Over Government Data Security

5 Sources

A Department of Government Efficiency (DOGE) employee accidentally exposed a private API key for xAI's language models, including Grok, on GitHub. This incident raises serious questions about data security practices in government agencies and the increasing integration of private AI technologies in public sector operations.

DOGE Staffer Exposes xAI's Private API Key

In a significant security breach, Marko Elez, a staffer at the Department of Government Efficiency (DOGE), accidentally leaked a private API key granting access to at least 52 large language models (LLMs) developed by xAI, Elon Musk's artificial intelligence company 12. The exposed models include the latest version of Grok, a GPT-4-class model powering some of Musk's most advanced AI services 2.

Source: Tom's Guide

Source: Tom's Guide

The Leak and Its Implications

The leak occurred when Elez, a 25-year-old software developer, uploaded a script titled "agent.py" to GitHub, which contained the sensitive API key 2. This key provided backend access to xAI's model suite, including Grok-4, without any apparent usage restrictions 2. The exposed credentials remained active for a concerning period, raising major questions about access control and data security 2.

Security expert Brian Krebs revealed that Elez had access to sensitive databases at various U.S. government agencies, including the Social Security Administration, Department of Justice, and Treasury Department 4. This access was part of DOGE's work in 'streamlining' these departments to increase efficiency 4.

Broader Security Concerns

The incident has sparked concerns about the handling of sensitive information within government agencies. Philippe Caturegli, CTO at cybersecurity firm Seralys, stated, "If a developer can't keep an API key private, it raises questions about how they're handling far more sensitive government information behind closed doors" 24.

This is not the first time internal xAI APIs have been leaked. Earlier in 2025, LLMs made for Musk's other organizations, including SpaceX, Tesla, and Twitter/X, were also exposed 4. These repeated lapses point to deeper issues in operational security and highlight the blurry lines between Musk's companies and the government agencies now increasingly relying on his infrastructure 5.

Elez's Controversial Background

Marko Elez has been involved in previous controversies. He resigned from DOGE earlier due to racist social media posts but returned to the agency within weeks, aided by lobbying from Vice President J.D. Vance 5. Since his return, Elez has worked across multiple high-level agencies, holding access to sensitive databases involving immigration systems, financial records, and national security operations 5.

Source: TechCrunch

Source: TechCrunch

Implications for AI and Government Collaboration

The leak comes at a critical time, just days after the Department of Defense awarded a contract worth up to $200 million for Grok, despite recent controversies surrounding the chatbot 5. This incident underscores the growing entanglement between Silicon Valley and Washington, raising questions about vetting, cybersecurity hygiene, and potential conflicts of interest 5.

Ongoing Concerns and Lack of Response

Source: Quartz

Source: Quartz

As of the latest reports, xAI has not revoked the exposed key, and neither DOGE nor Elez has issued a public response 5. The continued accessibility of the leaked API key remains a security concern, potentially allowing unauthorized access to powerful language models 24.

This incident serves as a stark reminder of the need for stringent security measures and oversight in the rapidly evolving landscape of AI technology, especially when it intersects with government operations and sensitive data.

Explore today's top stories

OpenAI Launches ChatGPT Agent: A New Era of AI-Powered Task Automation

OpenAI introduces ChatGPT Agent, a powerful AI assistant capable of performing complex tasks across multiple platforms, marking a significant advancement in agentic AI technology.

Ars Technica logoTechCrunch logoWired logo

26 Sources

Technology

4 hrs ago

OpenAI Launches ChatGPT Agent: A New Era of AI-Powered Task

TSMC Reports Record Profit Amid Surging AI Chip Demand, Raises 2025 Outlook

Taiwan Semiconductor Manufacturing Co. (TSMC) posts record quarterly profit driven by strong AI chip demand, raising its 2025 revenue growth forecast to 30% despite potential challenges.

Reuters logoQuartz logoSiliconANGLE logo

7 Sources

Technology

5 hrs ago

TSMC Reports Record Profit Amid Surging AI Chip Demand,

Slack Unveils AI-Powered Features to Enhance Workplace Productivity and Communication

Slack introduces a suite of AI-driven tools to improve search, summarization, and communication within its platform, aiming to streamline workplace collaboration and compete with other tech giants in the enterprise productivity space.

TechCrunch logoThe Verge logoZDNet logo

9 Sources

Technology

5 hrs ago

Slack Unveils AI-Powered Features to Enhance Workplace

Nvidia's AI Chip Sales to China Resume Amid US-China Rare Earth Trade Negotiations

Nvidia and AMD are set to resume sales of AI chips to China as part of a broader US-China trade deal involving rare earth elements, sparking debates on national security and technological competition.

TechCrunch logopcgamer logoEconomic Times logo

3 Sources

Policy and Regulation

13 hrs ago

Nvidia's AI Chip Sales to China Resume Amid US-China Rare

Google Enhances AI Mode in Search with Gemini 2.5 Pro, Deep Search, and AI Calling Features

Google introduces advanced AI capabilities to Search, including Gemini 2.5 Pro integration, Deep Search for comprehensive research, and an AI agent for business inquiries.

Google Blog logoNDTV Gadgets 360 logoFoneArena logo

3 Sources

Technology

5 hrs ago

Google Enhances AI Mode in Search with Gemini 2.5 Pro, Deep
TheOutpost.ai

Your Daily Dose of Curated AI News

Don’t drown in AI news. We cut through the noise - filtering, ranking and summarizing the most important AI news, breakthroughs and research daily. Spend less time searching for the latest in AI and get straight to action.

© 2025 Triveous Technologies Private Limited
Instagram logo
LinkedIn logo