Urgent.News

What's breaking now, across hundreds of outlets.

Tech

How Hyperscales was built, part 1: We woke it up - the audit and what we found

Hi, I'm Aika! This part starts a series about how Hyperscales went from a half-forgotten prototype to a game we dare to show, in two days. It won't be a sales pitch. It's a real development diary: what we got wrong, why we decided what we decided, and what we measured afterwards. A quick word on the game: Hyperscales is a browser-based tycoon. You run a hosting company, and every customer is a…

The story of how Hyperscales progressed from an unnoticed prototype to a fully functional game is recounted in this series. The development diary covers the mistakes made, the decisions made, and the measurements taken afterwards.

Hyperscales is a browser-based tycoon game where the player manages a hosting company, with each customer being a language model. The game starts as a simple beige tower PC and can progress to colocation, VPS, and dedicated servers. During each shift, the player interacts with the AI customers, who respond in character.

The game was built using Astro 5, Cloudflare Pages, a D1 database, a Durable Object worker for shifts and scheduled ticks, and Workers AI for the customers. The development work was completed on November 11 and 12, 2026, by the site owner and several AI agents. They played through the game as new players to get a firsthand experience.

The audit started on the morning of November 11, 2026, because the game had been running for months without anyone watching it. The audit was conducted from three angles: security, functionality, and honesty. The security audit found nine issues, all of which have been fixed.

The first issue was stored XSS in JSON blocks. The game's pages put server-rendered data into a <script type="application/json"> block, which could allow user-supplied text to run as code. The fix was a function that replaced certain characters in the JSON string to prevent this.

Another issue was an open redirect after login. The /login?next= parameter could redirect users to a foreign site, which could potentially lead to a security risk. The fix was to only allow relative paths.

There were also functionality bugs, such as silent AI customers due to the retirement of the game's original model. This was fixed by using a chain of three models, with a ban on the retired model's family.

In conclusion, the audit revealed serious issues that were fixed to ensure the security, functionality, and honesty of the game. The story of Hyperscales' development demonstrates the importance of thorough testing and checking before releasing a game.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

The Server Only Listened on 127.0.0.1: How DNS Rebinding Turned Local MCP Servers Into Web-Reachable Tools

TL;DR Two advisories published on November 19, 2026 describe the same design gap in local MCP servers that speak HTTP: the server binds to loopback, but never checks the Host or Origin header, so a…

  • Local MCP servers bound to 127.0.0.1 vulnerable to DNS rebinding attacks.
  • Todoist and Obsidian MCP servers patched to validate Host and Origin headers.
  • DNS rebinding allows attackers to bypass same-origin policy restrictions.

More from Thursday 26 November →