A 25-year-old affiliate of Elon Musk and former Treasury Division worker was “mistakenly” given the power to make adjustments to a delicate federal cost system, officers with the Bureau of the Fiscal Service disclosed in a sequence of court docket filings late Tuesday.
Treasury Division officers stated the “error” was shortly corrected, and a forensic investigation into the actions of Marko Elez — who resigned from his place final week after The Wall Road Journal unearthed a sequence of racist social media posts — stays ongoing.
“To the most effective of our information, Mr. Elez by no means knew of the truth that he briefly had learn/write permissions for the [Secure Payment System] database, and by no means took any motion to train the ‘write’ privileges so as to modify something throughout the SPS database — certainly, he by no means logged in in the course of the time that he had learn/write privileges, aside from in the course of the digital walk-through — and forensic evaluation is at the moment underway to substantiate this,” wrote Joseph Gioeli III, a deputy commissioner at Bureau of the Fiscal Service.
The high-profile mistake at BFS — which successfully serves because the federal authorities’s checkbook by disbursing greater than $5 trillion yearly — comes as a federal choose in New York is weighing whether or not to proceed to dam people related to Musk’s Division of Authorities Effectivity from accessing Treasury Division data.

Elon Musk speaks as President Donald Trump seems to be on within the Oval Workplace of the White Home in Washington, DC, on Feb. 11, 2025.
Jim Watson/AFP by way of Getty Pictures
Attorneys with the Division of Justice initially insisted that Elez was strictly given “read-only” entry to delicate data, however the affidavits submitted by BFS staff on Tuesday famous that the 25-year-old was inadvertently given the power to “learn/write” the delicate system that companies use to ship “massive greenback quantity transactions” to the Treasury Division.
In accordance with Gioeli, Treasury Division officers additionally offered Elez with copies of the “supply code” for a number of cost techniques that he might edit in a digital “sandbox.”
“Mr. Elez might assessment and make adjustments domestically to copies of the supply code within the cordoned-off code repository; nonetheless, he didn’t have the authority or functionality to publish any code adjustments to the manufacturing system or underlying check environments,” the submitting stated.
Elez resigned from his function on Feb. 6, and Gioielli claimed that the 25-year-old former SpaceX and X worker was the “solely particular person on the Treasury DOGE Staff” who was given direct entry to cost techniques or supply code. A “preliminary assessment” of his digital exercise means that Elez stayed throughout the permitted bounds of his function when accessing the cost techniques.
“Whereas forensic evaluation remains to be ongoing, Bureau personnel have performed preliminary critiques of logs of his exercise each on his laptop computer and throughout the techniques and presently have discovered no indication of any unauthorized use, of any use outdoors the scope that was directed by Treasury management, or that Mr. Elez used his BFS laptop computer to share any BFS cost techniques information outdoors the U.S. Authorities,” the submitting stated.

Elon Musk speaks as President Donald Trump seems to be on within the Oval Workplace of the White Home in Washington, DC, on Feb. 11, 2025.
Jim Watson/AFP by way of Getty Pictures
The filings additionally offered new insights into DOGE’s ongoing mission with the Treasury Division, together with to establish fraud, higher perceive how the funds are fulfilled and to implement Trump’s day-one government order that considerably minimize overseas help.
In accordance with Thomas Krause — a tech CEO and DOGE volunteer who’s main the cost-cutting effort on the Treasury Division — DOGE is engaged in 4-to-6-week evaluation of the Treasury Division’s cost techniques. He was positioned at Treasury not solely to establish potential fraud but additionally perceive easy methods to use the Division’s cost techniques to probably minimize funding to different elements of the federal government, the submitting stated.
“BFS is nicely positioned to assist companies and the federal authorities holistically perceive and take inventory of the issues [Government Accountability Office] has reported on,” Krause wrote.