What does an economy exploit look like in data?

A small group of players gains far more of something than everyone else, very fast. The cases below come from developer statements. In each one, the team used logs or an audit of transactions to find who gained what.

Diablo III shows how a normal change can cause one. Blizzard raised the gold stack size from 1 million to 10 million, and an overflow on cancelled auctions returned more gold than it should. Only 415 players chose to use it.

Published duplication exploits and how each studio responded
GameExploitResponse
New World (2021)Packet manipulation to duplicate coin and resourcesOver 1,200 bans; 98% of remaining duped items and coin removed
Diablo III (2013)Gold overflow on cancelled auctions after a patchAuction houses offline, full audit, over 85% of excess gold recaptured
Last Epoch (2024)Item duplication through the bazaar, then a gold exploitGold fix in under 24 hours; gold reviewed at account level
Dino Storm (2021)Item duplication in an update, live for 6 to 7 hoursRollback of two days of progress

Sources: PC Gamer (17 November 2021); PureDiablo (12 May 2013); Last Epoch Forums (2 April 2024); Dino Storm (30 September 2021).

Which events should I log to catch exploits?

Log every change to a currency or a valuable item, with the direction, the amount and the cause. The Godot and Unity SDKs show this pattern in their own examples: a resource event with flow (source or sink), currency, amount and item.

Send the events that matter from your server when you can. Server events use a secret key that only your backend holds, so they are harder to forge than events from a game build. A cheater can change what the client sends; the server records what it actually granted.

  • resource: flow, currency, amount, item and reason (quest, drop, trade, shop).
  • trade_completed: both player IDs, the items and the currency amounts.
  • item_crafted and item_sold: item ID and the amounts in and out.
  • balance_snapshot: the server balance once a day, to catch gains that your other events miss.

Sources: Manalens Godot and Unity SDK documentation; Manalens server events documentation.

Which queries find exploiters?

Start with the gain per player compared with the median player. The query below lists the 50 players who gained the most gold in the date range, with their gain as a multiple of the median. A real top player is often a few times the median. An exploiter is often hundreds of times.

Then check the patterns that a single total misses. Last Epoch said it reviewed gold activity at account level, and kept its method private so that bad actors cannot avoid it. You should keep your own checks private too.

  • Gain per minute of play, from resource events and session_end durations.
  • Sinks with no matching source, such as selling an item the player never got.
  • Total currency in the economy per day, to see inflation after a build.
  • Many accounts that send currency to the same account.

SQL (Explorer)

-- Gold gained and spent per player, compared with the median player
WITH per_player AS (
  SELECT
    if(user_id != '', user_id, anonymous_id) AS player,
    sumIf(JSONExtractFloat(properties, 'amount'), JSONExtractString(properties, 'flow') = 'source') AS gained,
    sumIf(JSONExtractFloat(properties, 'amount'), JSONExtractString(properties, 'flow') = 'sink') AS spent
  FROM raw_events
  WHERE event = 'resource'
    AND JSONExtractString(properties, 'currency') = 'gold'
    AND toDate(original_timestamp) BETWEEN {{date_from}} AND {{date_to}}
  GROUP BY player
)
SELECT
  player,
  gained,
  spent,
  round(gained / greatest((SELECT median(gained) FROM per_player), 1), 1) AS times_median
FROM per_player
ORDER BY gained DESC
LIMIT 50

Sources: Manalens Explorer documentation; Last Epoch Forums (2 April 2024).

How do I get an alert when an exploit starts?

Alert on the event, with a filter on its size. An alert counts one named event in each five-minute window, with up to 10 filters, including event properties with greater than or less than. It sends a Slack message or a signed webhook. For example: event resource, filter amount greater than a value no normal action can give, condition at least 1.

An alert counts events; it does not add up amounts. For a check on totals, run the check on your server, and send an economy_anomaly event when it fails. Then alert on at least 1 economy_anomaly.

Speed matters. The Dino Storm team wrote that if it had known sooner, it could maybe have avoided a rollback, because the damage would have been smaller.

Sources: Manalens alerts documentation; Dino Storm (30 September 2021).

How do I protect real-money purchases on Steam?

Follow the fraud steps in Valve's microtransaction documentation. Valve says Steam catches most fraudulent transactions within 48 hours of purchase. It tells you to call GetReport at least once a day, and to block trading or gifting of newly bought items for at least 72 hours.

Valve also suggests limiting high-value purchases for new players, and comparing each purchase with a player's normal amounts and counts. GetUserInfo returns the player's country, wallet currency and a status. Valve says a Trusted account has a transaction over 90 days old with no chargebacks, but that status alone should not decide a purchase.

Sources: Steamworks Microtransactions documentation.

What do I do after I find an exploit?

Stop the damage, fix it, audit, then act in proportion. The published cases follow the same order. They differ on rollback: Blizzard chose targeted audits so that honest players kept their progress, while Dino Storm rolled back two days.

Separate accidental from intentional use. New World did not ban players who stumbled on the dupe without exploiting it. Dino Storm later restored a bonus it had wrongly taken from players who found the bug by picking up loot. Embark said it would validate reports against data and separate accidental behavior from intentional abuse before it acted in Arc Raiders.

  1. Turn off the system that leaks value, such as trading or the auction house.
  2. Ship the fix, and test it against the exploit steps.
  3. Audit every transaction since the bug went live, and trace where the value went.
  4. Sort accounts into intentional, accidental and unaffected.
  5. Remove the value, ban where it is clear, and tell players what you did.

Sources: PureDiablo (12 May 2013); Dino Storm (30 September 2021); PC Gamer (17 November 2021); Polygon (17 February 2026).

Where do I run economy outlier queries?

Manalens is the analytics and growth engine built for games. Send resource and trade events from the Godot or Unity SDK, or from your backend with the secret key, query them with SQL in the Explorer, and get a Slack or webhook alert when a named event spikes.

Sources: Manalens product documentation.

Frequently asked questions

Should economy events come from the client or the server?

From the server when the server decides the outcome. Manalens server events use a secret key that only your backend holds, so they are harder to forge than events from a game build. Client events are still useful for context, such as the level or the screen where a gain happened.

How fast do exploits spread?

Fast. Dino Storm says its duplication bug was live for only six to seven hours, and the damage still forced a rollback of two days. Last Epoch says it shipped a gold exploit fix within 24 hours. An alert on large single gains gives you the earliest warning.

Should I roll back the server after a dupe?

Only if a targeted fix is not possible. Blizzard chose targeted audits for Diablo III, so honest players kept their progress, and it recaptured over 85% of the excess gold. Dino Storm rolled back two days, and players lost progress. A full transaction log is what makes the targeted path possible.

Can Steam detect fraud for my in-game store?

In part. Valve says Steam runs fraud checks and catches most fraudulent transactions within 48 hours, but only your game knows the context of a purchase. Valve tells you to reconcile with GetReport daily, block trading of new items for at least 72 hours, and limit high-value purchases for new players.

Sources and implementation