Protect the WebAssembly you ship to the browser.

TrustSig Protect obfuscates and virtualizes your WebAssembly modules to protect them against reverse engineering and tampering.

01The problem

WebAssembly modules can be downloaded and decompiled

WebAssembly reaches the browser as a file like any other.

  1. Anyone can save your module and open it in free tools.

  2. Function names, imports and strings show what each part of it does.

  3. From there, an attacker can change how your app behaves.

02Obfuscation

Protect your module against static analysis with obfuscation

Names are removed and the structure of your code is hidden.

  1. Function, import and export names are stripped or randomised.

  2. Control-flow flattening hides the order your code runs in.

  3. Opaque predicates add fake decision points that mislead analysis tools.

03Virtualization

Protect your most sensitive functions with virtualization

The functions you pick run in a virtual machine instead of as plain WebAssembly.

  1. You mark the functions to protect. With the Rust toolchain that is a single annotation.

  2. Protect compiles them into bytecode that is unique to your build.

  3. A virtual machine ships with your app and runs that bytecode.

04Protections

What TrustSig Protect adds to your build

Virtualization
The functions you pick run 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, down to the layout of the bytecode.
String encryption
Sensitive values stay encrypted and are decrypted only when they are used.
Anti-debugging
Detects breakpoints and single-stepping while your app runs.
Anti-tampering
Detects patched code, hooked browser functions and swapped runtimes.
Honeytokens
Bait values no real user touches. Using one identifies an attacker.
05 Questions

WebAssembly protection, answered

Obfuscation makes your code hard to read while it stays WebAssembly. Virtualization replaces it with bytecode for an instruction set that is unique to your build, so the original function is no longer in the file as WebAssembly.

Yes. Protect ships an engine for each, so the JavaScript you choose gets the same treatment as your WebAssembly.

Only the functions you choose run inside the engine, so the rest of your bundle runs as it did before.

Given enough time and skill, anything running on a visitor's machine can be taken apart. That work does not carry over to your next build, because each build is laid out differently.

06Contact

Talk to us

Tell us what your module does and what needs protecting. We will get back to you by email.