DOGE staffer reportedly published secret xAI key to dozens of AI models

Marko Elez is back in the news.
 By 
Alex Perry
 on 
xAI logo on phone screen in front of red background
Marko Elez keeps coming up in news headlines and it's never for good reasons. Credit: Andrey Rudakov/Bloomberg via Getty Images

Five months after DOGE staffer Marko Elez resigned from the agency over racist social media posts, he's not only back at DOGE, but back in the news for another not-very-positive reason.

Cybersecurity journalist Brian Krebs published a report on Monday indicating that, over the weekend, Elez published a private API key to GitHub that would allow users to "directly interact" with some of xAI's (Elon Musk's AI company, for those who haven't been following along) large language models. To be clear, "some" might be understating it, as the total number of LLMs that were made accessible in this leak was at least 52.

These LLMs are part of what makes up Grok, the AI chatbot that's integrated directly into X. Yes, Grok is the same one that recently referred to itself as "MechaHitler" just days before entering into a $200 million deal with the U.S. Department of Defense. While the code repository featuring the leaked API key has been removed, the key itself still works for anyone who accessed it, per the Krebs report.


You May Also Like

While it's not ideal from xAI's perspective for that information to be out in the open like that, the real concern for the general populace here is that Elez exhibited poor operational security habits while simultaneously having access to loads of important information held by the U.S. government. Elez did, indeed, resign from DOGE due to his social media posts back in February, but by the end of March, he was back on the government's payroll and has reportedly become involved with numerous different departments since then.

Elon Musk may be on the outs with Donald Trump, but he still continues to have some effect on U.S. government operations, it seems.

Topics Cybersecurity

journalist alex perry looking at a smartphone
Alex Perry
Tech Reporter

Alex Perry is a tech reporter at Mashable who primarily covers video games and consumer tech. Alex has spent most of the last decade reviewing games, smartphones, headphones, and laptops, and he doesn’t plan on stopping anytime soon. He is also a Pisces, a cat lover, and a Kansas City sports fan. Alex can be found on Bluesky at yelix.bsky.social.

Mashable Potato

Recommended For You
Takeaways from Elon Musk's xAI all-hands meeting: Ancient aliens, corporate structure, space catapults
Elon Musk and xAI logo

Trump admin has viral DOGE videos taken down. They're already back up.
Elon Musk wearing a DOGE cap

Lawsuit against Elon Musk threatens DOGE actions, survives early court challenge
Elon Musk and Donald Trump

Elon Musk's xAI raises $20 billion as Grok is investigated for deepfakes
Elon Musk

Elon Musk’s SpaceX acquires Elon Musk's xAI, including social media platform X
SpaceX, xAI, and Grok logos

Trending on Mashable
NYT Connections hints today: Clues, answers for April 3, 2026
Connections game on a smartphone

Wordle today: Answer, hints for April 3, 2026
Wordle game on a smartphone


You can track Artemis II in real time as Orion flies to the moon
Victor Glover and Reid Wiseman piloting the Orion spacecraft

What's new to streaming this week? (April 3, 2026)
A composite of images from film and TV streaming this week.
The biggest stories of the day delivered to your inbox.
These newsletters may contain advertising, deals, or affiliate links. By clicking Subscribe, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.
Thanks for signing up. See you at your inbox!