Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Gambit

certora.com

  • Free plan
  • Windows
  • macOS
  • Linux
7.6 Club score Visit certora.com

What Gambit is

Gambit is an open-source mutation testing tool for Solidity. It creates altered versions of selected contracts, called mutants, to show whether tests or formal specifications detect faults. It finds possible mutation points by examining a Solidity program’s abstract syntax tree, and a declarative configuration language lets users focus mutations on chosen parts of a program. Results can be reviewed in a dashboard that summarizes mutant verification and calculates a score for a specification. Gambit can also work with the Certora Prover to assess formal rules; that workflow creates mutants and submits a verification job for each to Certora’s server. Its command line includes `mutate` for generating mutants and `summary` for presenting them. A compatible `solc` binary is required for the project being mutated. Prebuilt binaries are available for Linux x86-64 and Mac; Windows and Linux ARM users must build from source. Function-call and swap-arguments-function mutations are listed as disabled operators.

Who it suits

Gambit suits Solidity developers who want to assess whether their tests or formal specifications catch generated faults. It is described as usable with any Solidity project.

Good to know, and what to watch

  • Evaluates tests and formal specifications.
  • Lets users target mutations to specific program parts.
  • Provides a results dashboard and specification score.
  • Includes `mutate` and `summary` commands.
  • MIT license identified by its repository.
  • Requires a compatible `solc` binary.
  • Windows users must build from source.
  • Linux ARM users must build from source.
  • Two mutation operators are disabled.

The verdict

Gambit helps assess the fault-detection strength of Solidity tests and formal rules. Check compiler compatibility and build requirements for your platform before using it.

What the maker publishes

Certora Prover integration
Gambit mutations can be used with the Certora Prover to evaluate formal specifications as well as tests. source
Command line
Gambit provides `mutate` to generate mutants and `summary` to summarize generated mutants. source
Commands
Gambit provides mutate for generating mutants and summary for presenting generated mutants in a human-readable format. source
Compiler requirement
Gambit uses the Solidity compiler `solc` and requires a compatible binary for the project being mutated. source
Dashboard
Gambit results can be viewed in a dashboard that summarizes mutant verification results and computes a specification score. source
Formal specifications
Gambit mutants can be used to evaluate both tests and formal specifications. source
How it works
Gambit introduces faults called mutants into selected contracts and measures whether a test suite detects them. source
Installation
Prebuilt binaries are available for Linux x86-64 and Mac; Windows and Linux ARM users must build from source. source
Intended users
The maker describes Gambit as usable on any Solidity project. source
License
The Gambit GitHub repository identifies its license as MIT. source
Maker
Gambit is built and maintained as an open-source project by the Certora team. source
Mutant detection
Gambit measures how well a test suite detects generated mutants, with more detected mutants indicating a stronger suite. source
Mutant generation
Gambit applies predefined syntax transformations to Solidity source code to generate program variants called mutants. source
Mutation generation
Gambit traverses a Solidity program’s abstract syntax tree to identify valid mutation points and generate variable mutants. source
Mutation limits
The README lists function-call mutation and swap-arguments-function mutation as disabled operators. source
Mutation points
Gambit traverses a Solidity program's abstract syntax tree to identify valid mutation points. source
Mutation selection
Users can customize and localize mutations to specific program parts using a declarative configuration language. source
Other tools
The maker describes Gambit as usable with Solidity testing and verification tools generally, and with any Solidity project. source
Platforms
Prebuilt binaries are available for Linux x86-64 and Mac; Windows and Linux ARM users must build from source. source
Prover integration
Gambit is integrated with Certora Prover for evaluating the strength of verification rules. source
Prover workflow
Using the mutation verifier generates mutants and submits a verification job for each mutant to Certora's server. source
Purpose
Gambit is an open source Solidity mutation testing tool that evaluates and strengthens a testing suite. source
Results
The Gambit dashboard summarizes mutant verification results and computes a score to evaluate a specification. source
Support
Certora's documentation says product questions can be directed to its Help Desk channel on Discord. source

Checked against the maker's pages on 7 Oct 2026.