
US Treasury chief information officer Sam Corcos has been vibe-coding Legatum, an AI-generated Civilization clone on GitHub, while the Treasury's Financial Crimes Enforcement Network investigates a cybersecurity breach.
- Corcos pitches Legatum as a hex-map historical 4X aimed squarely at Civilization fans.
- AI coding agents wrote most of the code behind Legatum, and every piece of its art comes from AI.
- FinCEN has shut down several of its e-filing systems as a precaution during the investigation.
- GitHub users posted critical issues and vandalised the README of the Legatum repository.
The Legatum Civilization clone comes from an unusual developer. Sam Corcos is the chief information officer of the US Treasury Department and was appointed through DOGE, and so it is no surprise that his side project has drawn scrutiny. It is confirmed that Legatum is built largely with AI coding agents and that all of its art is AI-generated.
Describing the project, Corcos had the following to say:
A historical 4X on a hex map, built for people who love Civilization.
— Sam Corcos
Civilization 6 model, nine eras and browser play
According to GamesRadar+, Civilization 6 is the specific model for Legatum, and a campaign stretches across nine eras. ChatGPT, drawing on OpenAI's image models, supplies the bulk of the artwork, while the heraldry and icons are SVG files generated by scripts kept in the repository.
As Destructoid points out, Legatum runs in the browser. Its working files are public on GitHub, and the most recent updates brought these changes:
- A new theme song for the Aztecs
- Balance updates
- Map generation adjustments
- AI art tweaks
- UI changes
FinCEN breach puts Legatum in the spotlight
The timing is what put Legatum in the spotlight. FinCEN, the Treasury bureau that gathers and analyses transaction data to fight financial crimes, has disclosed an investigation into a cybersecurity incident in which a limited part of its systems was accessed without authorisation, and as a precaution it has shut down several of its e-filing systems.
According to PC Gamer, FinCEN has given no estimate for when the investigation and the disruptions will be resolved. Bulwark economics editor Catherine Rampell noted on X that Corcos appeared to have spent three days vibe-coding a Civilization clone rather than working on the Treasury database breach.
PC Gamer, citing The New York Times, adds that FinCEN was not the only one hit, as a flaw in an open source intelligence system exposed unclassified information and the agencies affected by it include the CIA, the Department of Defense's National Geospatial-Intelligence Agency and the Office of the Director of National Security.
Corcos's IRS record and praise for AI tools
PC Gamer also looks back at Corcos's time at the IRS, where his API hackathon sparked cybersecurity worries and he tried to cancel engineering work meant to modernise its systems. On the AI tools behind projects like Legatum, Corcos had the following to say:
These tools are getting so good it's blowing my mind. A brief voice note on my phone can kick off an amount of work that would have taken dozens of people weeks to deliver.
— Sam Corcos, according to PC Gamer
GitHub users file critical issues and vandalise README
The repository itself has turned into a battleground, with GitHub users posting critical issues and vandalising the README. GamesRadar+ notes that Corcos, who joined the Treasury Department as a special advisor in 2025 before becoming chief information officer, closed one issue complaining about his vibe-coding as off-topic using a response generated by Claude.
So there you have it, the Legatum Civilization clone is a historical 4X built largely with AI coding agents by the US Treasury's chief information officer, and it remains to be seen when FinCEN will have its breach resolved, according to PC Gamer.

Our take
A 4X built almost entirely with AI coding agents and AI-generated art, with every working file public, is an interesting test case for anyone curious how far these tools can take a game. But the critical issues and the vandalised README show that people are judging Legatum on who made it and when, not on how it plays. Would you give a project like this a go, or does the context put you off?
— Anžej Žunko