← Back to Product Feed

Hacker News Show HN: Hormuz Havoc, a satirical game that got overrun by AI bots in 24 hours

A case study in game security and AI-driven exploitation.

37
Traction Score
11
Discussions
Apr 11, 2026
Launch Date
View Origin Link

Product Positioning & Context

AI Executive Synthesis
A case study in game security and AI-driven exploitation.
This submission serves as a stark reminder of the 'dumb terminal' requirement for any application where game state or scoring logic is sensitive. The developer's initial mistake—exposing scoring formulas and thresholds in client-side JavaScript—is a common vulnerability in early-stage SaaS products that rely on client-side validation. The subsequent exploitation via token replay attacks underscores the necessity of atomic operations and server-side state management. For developers, the lesson is clear: never trust the client. The transition to a server-side engine and the implementation of nonces for state integrity are standard security practices that are often overlooked in rapid prototyping. The emergence of AI-assisted exploitation suggests that developers must now design for 'adversarial users' by default, even in non-commercial projects, as automated agents can identify and exploit logic flaws at scale.
I built a satirical browser game to share with friends (Hormuz Havoc: you play an American president managing a crisis in the Middle East, only "loosely" inspired by current events). I had good fun making this, but that's not necessarily the interesting part.The interesting part was that within a few hours of sharing it with my friends, some of them set about trying to overrun the leaderboard by launching a swarm of AI bots to learn the game and figure out how to get the highest score. This set off a game of cat-and-mouse as they found vulnerabilities and I tried patching them.Within hours of sharing, someone used the Claude browser extension to read game.js directly. Large parts of the scoring formula, action effect values, and bonus thresholds were sitting in client-side JavaScript - this was a trivial thing even a human could've found, but a human would've still had to play the game, whereas the AI bot just optimised directly against the scoring formula. It meant that the first AI already scored 2.5x higher than the best human player by optimising directly against the source code rather than playing the game.Straightforward fix: moved the entire game engine server-side. The client is now a dumb terminal, it sends an action ID, receives a rendered state. No scoring logic, no bonus thresholds, no action effects exist in the browser. The live score display uses a deliberately different formula as misdirection.This increased the difficulty in finding bot-enabled hacks, so the subsequent bots tried brute-forcing the game, trying to game the RNG functions, and other methods.But the next winning bot found a vulnerability where the same signed session token could be replayed. It would play turn N, observe a bad random event, replay the same token for turn N, get a different RNG outcome, keep the best one. Effectively branching from a single game state to cherry-pick lucky outcomes across 30 turns. Managed to 1.5x the previous bot's high score.The bot's own description: "The key optimisation was token replay. Because the backend let the same signed state be replayed, I could branch from one exact game state repeatedly and continue from the luckiest high-value outcome each turn."Fix here: consume a turn nonce atomically before any randomness is generated.The current state is that the leaderboard is now split into human and AI-assisted. I think the capability of AI bots has flatlined a bit now. Perhaps Claude Mythos might be able to discover the next hackable exploit ¯\_(ツ)_/¯Happy to go deeper on any of the above - or just enjoy the game! Feel free to try your own AI-powered leaderboard attempt too!
client-side JavaScript server-side game engine turn nonce atomic consumption

Related Ecosystem & Alternatives

Discover adjacent products, open-source repositories, and developer tools sharing similar technical architecture.

Deep-Dive FAQs

What is Hormuz Havoc, a satirical game that got overrun by AI bots in 24 hours?
Hormuz Havoc, a satirical game that got overrun by AI bots in 24 hours is analyzed by our AI as: A case study in game security and AI-driven exploitation.. It focuses on This submission serves as a stark reminder of the 'dumb terminal' requirement for any application where game state or scoring logic is sensitive. T...
Where did Hormuz Havoc, a satirical game that got overrun by AI bots in 24 hours originate?
Data for Hormuz Havoc, a satirical game that got overrun by AI bots in 24 hours was aggregated directly from the Hacker News community ecosystem, representing raw developer and early-adopter sentiment.
When was Hormuz Havoc, a satirical game that got overrun by AI bots in 24 hours publicly launched?
The initial public indexing or launch date for Hormuz Havoc, a satirical game that got overrun by AI bots in 24 hours within our tracked developer communities was recorded on April 11, 2026.
How popular is Hormuz Havoc, a satirical game that got overrun by AI bots in 24 hours?
Hormuz Havoc, a satirical game that got overrun by AI bots in 24 hours has achieved measurable traction, logging over 37 traction score and facilitating 11 recorded discussions or engagements.
Which technical categories define Hormuz Havoc, a satirical game that got overrun by AI bots in 24 hours?
Based on metadata extraction, Hormuz Havoc, a satirical game that got overrun by AI bots in 24 hours is categorized under topics such as: client-side JavaScript, server-side game engine, turn nonce, atomic consumption.
How does the creator describe Hormuz Havoc, a satirical game that got overrun by AI bots in 24 hours?
The original author or development team describes the product as follows: "I built a satirical browser game to share with friends (Hormuz Havoc: you play an American president managing a crisis in the Middle East, only "loosely" inspired by current events). I had good fun..."

Community Voice & Feedback

unyttigfjelltol • Apr 11, 2026
Weak gameplay. It’s a turn-by-turn war strategy game where all the levers are “Go on FOX and friends”. What’s particularly strange is how backward the critique is. How about this— for your encore, write the same game from the IRGC perspective. It goes— the US seeks peace; fund foreign militias, try to assassinate a former President. Said former president is reelected and after being unable to close a peace deal, attacks you. You— demonstrate your strategic deterrence by bombing a half-dozen neutral nations and mining an international waterway. Etc.
madamelic • Apr 11, 2026
Can you explain how I can invade Kharg Island more than once? It seems to indicate that it is possible but the card says it is a one-time thing.Also, the press shield + Fox News boosts don't seem to do anything with regards to subsequent events. Are they supposed to do something or are they just for show / humor?
xg15 • Apr 11, 2026
> If your approval rating gets too low, your party will impeach you.I like how in this game, the approval rating actually means something.
keyes343 • Apr 11, 2026
Will you be releasing more such funny scenario based games. I laughed a lot reaching the end.
BahaaKhateeb123 • Apr 11, 2026
The fact that it got overrun in 24 hours is almost more interesting than the game itself. Says a lot about how cheap and easy it is to deploy agents at scale now — the interesting question is what happens when that hits products that actually matter.

Discovery Source

Hacker News Hacker News

Aggregated via automated community intelligence tracking.

Tech Stack Dependencies

No direct open-source NPM package mentions detected in the product documentation.

Media Tractions & Mentions

No mainstream media stories specifically mentioning this product name have been intercepted yet.

Deep Research & Science

No direct peer-reviewed scientific literature matched with this product's architecture.