HomeCyber SecurityDOGE Denizen Marko Elez Leaked API Key for xAI – Krebs on...

DOGE Denizen Marko Elez Leaked API Key for xAI – Krebs on Safety


Marko Elez, a 25-year-old worker at Elon Musk’s Division of Authorities Effectivity (DOGE), has been granted entry to delicate databases on the U.S. Social Safety Administration, the Treasury and Justice departments, and the Division of Homeland Safety. So it ought to fill all People with a deep sense of confidence to be taught that Mr. Elez over the weekend inadvertently revealed a non-public key that allowed anybody to work together instantly with greater than 4 dozen giant language fashions (LLMs) developed by Musk’s synthetic intelligence firm xAI.

DOGE Denizen Marko Elez Leaked API Key for xAI – Krebs on Safety

Picture: Shutterstock, @sdx15.

On July 13, Mr. Elez dedicated a code script to GitHub known as “agent.py” that included a non-public software programming interface (API) key for xAI. The inclusion of the personal key was first flagged by GitGuardian, an organization that focuses on detecting and remediating uncovered secrets and techniques in public and proprietary environments. GitGuardian’s techniques continuously scan GitHub and different code repositories for uncovered API keys, and hearth off automated alerts to affected customers.

Philippe Caturegli, “chief hacking officer” on the safety consultancy Seralys, mentioned the uncovered API key allowed entry to a minimum of 52 totally different LLMs utilized by xAI. The newest LLM within the checklist was known as “grok-4-0709” and was created on July 9, 2025.

Grok, the generative AI chatbot developed by xAI and built-in into Twitter/X, depends on these and different LLMs (a question to Grok earlier than publication exhibits Grok at the moment makes use of Grok-3, which was launched in Feburary 2025). Earlier as we speak, xAI introduced that the Division of Protection will start utilizing Grok as a part of a contract value as much as $200 million. The contract award got here lower than per week after Grok started spewing antisemitic rants and invoking Adolf Hitler.

Mr. Elez didn’t reply to a request for remark. The code repository containing the personal xAI key was eliminated shortly after Caturegli notified Elez through e mail. Nevertheless, Caturegli mentioned the uncovered API key nonetheless works and has not but been revoked.

“If a developer can’t maintain an API key personal, it raises questions on how they’re dealing with much more delicate authorities data behind closed doorways,” Caturegli advised KrebsOnSecurity.

Previous to becoming a member of DOGE, Marko Elez labored for a lot of Musk’s corporations. His DOGE profession started on the Division of the Treasury, and a authorized battle over DOGE’s entry to Treasury databases confirmed Elez was sending unencrypted private data in violation of the company’s insurance policies.

Whereas nonetheless at Treasury, Elez resigned after The Wall Avenue Journal linked him to social media posts that advocated racism and eugenics. When Vice President J.D. Vance lobbied for Elez to be rehired, President Trump agreed and Musk reinstated him.

Since his re-hiring as a DOGE worker, Elez has been granted entry to databases at one federal company after one other. TechCrunch reported in February 2025 that he was working on the Social Safety Administration. In March, Enterprise Insider discovered Elez was a part of a DOGE detachment assigned to the Division of Labor.

Marko Elez, in a photograph from a social media profile.

In April, The New York Occasions reported that Elez held positions on the U.S. Customs and Border Safety and the Immigration and Customs Enforcement (ICE) bureaus, in addition to the Division of Homeland Safety. The Washington Submit later reported that Elez, whereas serving as a DOGE advisor on the Division of Justice, had gained entry to the Government Workplace for Immigration Assessment’s Courts and Appeals System (EACS).

Elez will not be the primary DOGE employee to publish inside API keys for xAI: In Might, KrebsOnSecurity detailed how one other DOGE worker leaked a non-public xAI key on GitHub for 2 months, exposing LLMs that have been customized made for working with inside information from Musk’s corporations, together with SpaceX, Tesla and Twitter/X.

Caturegli mentioned it’s tough to belief somebody with entry to confidential authorities techniques once they can’t even handle the fundamentals of operational safety.

“One leak is a mistake,” he mentioned. “However when the identical sort of delicate key will get uncovered repeatedly, it’s not simply dangerous luck, it’s an indication of deeper negligence and a damaged safety tradition.”

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments