Protect your Unity WebGL game against reverse engineering
TrustSig Protect obfuscates and virtualizes the WebAssembly in your Unity WebGL build, and ends the session when someone tampers with it.
- Memory editor attached
- Score function patched
- Browser code swapped
Session ends
Build.wasmBuild.framework.jsBuild.data
Players download the whole build
Unity WebGL builds can be downloaded and patched
A WebGL player downloads the files your build produced.
The browser fetches your WebAssembly, your JavaScript and your data, and it all sits in the cache.
Anyone can open those files and work out where your game rules live.
From there a patched copy runs on their machine, or on a site that is not yours.
Protect your game code against static analysis with obfuscation
Names are removed and the structure of your code is hidden.
Function, import and export names are stripped or randomised.
Control-flow flattening hides the order your code runs in.
Opaque predicates add fake decision points that mislead analysis tools.
- Memory editor attached
- Score function patched
- Browser code swapped
Session ends
Detect tampering while your game runs
Protect detects memory editors, attached debuggers and swapped browser functions.
Protect checks its own code while your game is open.
A patched function or an attached debugger ends the session.
The player gets no error and no reason.
What TrustSig Protect adds to your build
- Virtualization
- The game logic you pick runs as bytecode in a virtual machine unique to your build.
- Control-flow flattening
- Hides the order your code runs in.
- Symbol scrubbing
- Function, import and export names are stripped or randomised.
- Polymorphic builds
- Each build comes out different, so a cheat written against one does not fit the next.
- Anti-tampering
- Detects patched code, hooked browser functions and swapped runtimes while the game runs.
- Honeytokens
- Bait values no real player touches. Using one identifies an attacker.
Unity WebGL, answered
No. A server check is still the strongest control you have. Protect covers the part of your game that can only run on the player's machine.
A Unity WebGL build ships WebAssembly, and that is what Protect works on.
Only the code you choose runs inside the engine, so the rest of your build runs at the speed Unity gave it.
Protect works on code, not on asset bundles.
Talk to us
Tell us what your game ships and what needs protecting. We will get back to you by email.