# Detect game exploits and economy bugs with event data

> Log every currency source and sink as an event, find players far above the median, alert on spikes, and learn how New World and Diablo III handled dupes.

By Yos Riady. Updated 2026-11-18. Published 2026-11-18. Canonical URL: https://manalens.dev/blog/detect-game-exploits-analytics

Log every currency and item source and sink as an event, then look for players far outside the normal range. After a New World duplication exploit in 2021, Amazon said its telemetry tracks all transactions. It banned over 1,200 players and removed 98% of the remaining duped items and coin, PC Gamer reported.

## Key points

- Log every currency and item change as a resource event with flow, currency, amount and reason, and send it from your server when you can.
- Compare each player's gain with the median player, because a real top player is a few times the median and an exploiter is often hundreds of times.
- Dino Storm's duplication bug was live for 6 to 7 hours and still forced a rollback of two days, so alert on large single gains.

## 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*

| Game | Exploit | Response |
| --- | --- | --- |
| New World (2021) | Packet manipulation to duplicate coin and resources | Over 1,200 bans; 98% of remaining duped items and coin removed |
| Diablo III (2013) | Gold overflow on cancelled auctions after a patch | Auction houses offline, full audit, over 85% of excess gold recaptured |
| Last Epoch (2024) | Item duplication through the bazaar, then a gold exploit | Gold fix in under 24 hours; gold reviewed at account level |
| Dino Storm (2021) | Item duplication in an update, live for 6 to 7 hours | Rollback 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.

- [SQL explorer](https://manalens.dev/features/sql-explorer)

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

- [PC Gamer: New World permabans over 1200 accounts for duping exploits (Rich Stanton, 17 November 2021)](https://www.pcgamer.com/new-world-permabans-over-1200-accounts-for-duping-exploits/)
- [PureDiablo: Blizzard's official statement on Diablo 3 auction house duping (12 May 2013)](https://www.purediablo.com/blizzards-official-statement-on-diablo-3-auction-house-duping)
- [Last Epoch Forums: RMT and Exploit Statement (Developer Blog, 2 April 2024)](https://forum.lastepoch.com/t/rmt-and-exploit-statement/70338)
- [Dino Storm: Item Duplication Exploit, The Good, The Bad and The Ugly (30 September 2021)](https://dinostorm.com/en/item-duplication-exploit-the-good-the-bad-and-the-ugly/)
- [Polygon: Arc Raiders devs explain why it has taken so long to ban cheaters (Ford James, 17 February 2026)](https://www.polygon.com/embark-studios-arc-raiders-duplication-glitch-cheaters-banned/)
- [Steamworks documentation: Microtransactions (In-Game Purchases) (Valve, read 18 November 2026)](https://partner.steamgames.com/doc/features/microtransactions)

## Related guides

- [Game marketing measurement guide](https://manalens.dev/blog/game-marketing-measurement-guide)
- [Event taxonomy for premium PC games](https://manalens.dev/blog/premium-pc-game-event-taxonomy)
- [What events to track first in your game](https://manalens.dev/blog/game-tracking-plan-first-events)
- [Player segmentation for small studios](https://manalens.dev/blog/player-segmentation-small-studios)
- [Game tracking plan generator](https://manalens.dev/tools/game-tracking-plan-generator)
- [Player analytics guides](https://manalens.dev/blog/topic/player-analytics)
- [In-game feedback surveys: join survey answers to player data](https://manalens.dev/blog/in-game-feedback-survey-player-data)
- [How to move from GameAnalytics to Manalens](https://manalens.dev/blog/migrate-from-gameanalytics)
- [How to move from Unity Analytics to Manalens](https://manalens.dev/blog/migrate-from-unity-analytics)
- [First session funnel and FTUE analysis](https://manalens.dev/blog/first-session-funnel-ftue)
