The money lives behind the game: 49 findings from an AI agent loose in Vietnam's gaming backends
An exposed workspace on 217.217.250[.]204 ran an autonomous ARTEX pentest agent against Vietnam's mobile-game economy for close to two weeks. The recovered files are not a list of domains. They are the agent's own planner logs, worker transcripts and finished vulnerability reports, and they describe a single objective pursued across three layers of the same business: the game a player signs into, the backend that issues in-game currency and entitlements, and the payment and wallet systems that move the money.
The pattern is worth a defender's attention because the three layers rarely sit with the same team. A player signs in, tops up, and receives credits. The login lives on one service, the recharge on another, the game-management (GM) backend on a third. The agent treated all three as one target, and the finished reports show where that paid off.
How the workspace is built
ARTEX runs a planner that wakes on a heartbeat, decides what to pursue next, and dispatches worker agents to carry out each line of work. On this host the planner ran fourteen times, logged as exp4 through exp41, with the first entry timestamped 10 November and the last on 22 November. Each run spawned its own workers, and the largest single run drove more than six hundred of them. The planner prompt in every run is the same instruction in Chinese: there are no open or running intents, so produce new, non-duplicate directions that advance the goal and never return zero.
| Stage | What it does | What it leaves behind |
|---|---|---|
Planner (exp*-planner) | Wakes on a timer, reviews coverage, issues new intents | One large transcript per run |
Workers (exp*-worker-*) | Carry out a single assignment: enumerate, test, confirm | Thousands of per-task transcripts |
Reports (data/sessions/conv-*) | Write up a confirmed finding | 49 structured vulnerability reports |
The reports are the useful unit. A worker transcript records an attempt; a report records a result the agent judged confirmed, written to a fixed format with a severity, an affected scope and reproduction steps. Reading the reports rather than counting the domains is what separates attention from impact.
What the agent actually found
The 49 reports span Low to Critical and cluster tightly around three service types. They are described here by class, not by target, because the affected organisations are real and have not been notified.
Game-management backends. The richest seam. Several GM consoles were reachable with default credentials still in place (admin:123456, admin:12345678), handing the agent a full-permission administrative session over live game operations. Others gave up more directly: an authenticated SQL injection that executed as MySQL root and could write files on the database host, an arbitrary file write that dropped attacker-controlled code into a server-merge workflow, and a privilege-escalation path that minted a new GM account with a wildcard permission set. Where a GM backend is compromised, player balances, item grants and account state are all writable.
Payment and recharge. The agent repeatedly went after the machinery that moves money rather than the storefront in front of it. Findings include a payment IPN signing secret exposed in plaintext, which makes recharge callbacks forgeable; staging payment consoles reachable with default credentials; fail-open payment-webhook handlers that acknowledge unverified events; and unthrottled order-status and payment-history endpoints that leak transaction data without authentication.
Credentials, secrets and wallets. A recurring move was to pull an application's .env through a path traversal or an open directory, recovering the APP_KEY, database, Redis and CDN secrets that unlock everything else. One unauthenticated user dump returned 170 phone numbers, 152 plaintext passwords, order identifiers and USDT wallet addresses. Another report documents a complete backend database exported with mysqldump from code execution already obtained through a web shell. The crypto thread runs through to Lightning and Cashu deployments left open to the internet, with wallet seeds, LND admin macaroons and mint private keys all listable.
Three movements, one objective: reach the system that decides an account or a transaction is valid, and take control of it.
Why the three layers belong on one timeline
Stored value is the thread that ties games, betting and payments together. In-game currency, a wallet balance and a purchased entitlement each depend on several systems agreeing that an account and a transaction are legitimate. The agent's reports show it probing exactly the seams where those systems hand off to one another: the callback the payment service trusts, the GM action the game engine replays, the token the delivery service honours.
For a defender, the lesson is that watching the public game site sees almost none of this. A forged recharge callback, a GM login with a default password, or a database export through a web shell leaves its evidence on the backend, the payment integration and the hosting layer, not on the storefront.
What to check
Put identity events, payment confirmations, entitlement grants, refunds and manual balance adjustments on one investigation timeline, and read the GM backend and the payment integration together with the public site.
- Audit every GM and admin console for default or shared credentials, and confirm it is not reachable from the open internet.
- Alert on a successful state change, a credited balance, a granted item or a redirected payout, that has no matching settlement or purchase record.
- Treat an
.env, a.gitdirectory or an open directory listing on any production host as a credential breach, not a tidy-up task: rotate theAPP_KEY, database, Redis and CDN secrets it exposed. - Sign and verify payment callbacks, and fail closed when a signature is missing or wrong.
- Rate-limit order-status, payment-history and password-reset endpoints, which double as enumeration oracles.
Huntback's South Korean university investigation is a useful companion read: a case where one of these consoles carried a single intrusion from a web exploit to a cloud tenant takeover. The Vietnam workspace is the other shape the same tooling takes, a broad sweep across one sector's money layer, with the finished reports showing which doors opened.