← Lab /Security & privacy

Mutation testing uncovered a high-severity Arkis protocol bug missed by code coverage

MuTON and mewt provide fast, multi-language mutation testing for blockchain contracts and that their configuration optimization skill can dramatically reduce campaign runtimes.

Security & privacy Trail of Bits 1 Apr 2026 Tooling Prototype evidence

Published as “Mutation testing for the agentic era”

Why it matters

If the tools live up to their claims, developers can catch critical smart-contract bugs that code coverage overlooks while reducing manual effort.

Summary

The blog introduces MuTON and its language-agnostic core mewt, which use Tree-sitter to support TON languages, Solidity, Rust, Go and more. They store mutants and results in a SQLite database, enabling pause-resume and flexible filtering. A new configuration-optimization skill helps AI agents pick campaign settings that cut runtime, and a triage skill aims to reduce manual analysis. The authors cite a case where mutation testing found a high-severity Arkis protocol vulnerability that code-coverage missed, but they also acknowledge remaining performance and triage challenges.

What they found 2

  1. Mutation testing uncovered a high-severity Arkis protocol vulnerability that coverage metrics missed

    “Mutation testing uncovered a high-severity Arkis protocol vulnerability, overlooked by coverage metrics, that would have allowed attackers to drain funds.”

  2. MuTON stores all mutants and test results in a SQLite database, improving usability over stdout dumping

    “MuTON stores all mutants and test results in a SQLite database, a quality-of-life improvement that became evident while using slither-mutate but wasn’t feasible to retrofit.”

Caveats 5

  • Performance remains the biggest obstacle to mutation testing.
  • Significant friction remains, including configuring campaigns for reasonable runtimes and triaging results.
  • The biggest obstacle is performance; campaigns can take many hours without smart configuration.
  • Triaging results still requires manual effort; not all uncaught mutants are meaningful.
  • AI agents may generate tests that encode bugs rather than correct requirements.

What’s new here 4

  • MuTON adds first-class support for TON languages (FunC, Tolk, Tact) via Tree-sitter parsing.
  • mewt provides a language-agnostic mutation testing core supporting Solidity, Rust, Go, etc.
  • Persistent SQLite database stores mutants and test outcomes, allowing campaign pause/resume and advanced filtering.
  • Configuration optimization skill guides AI agents to choose campaign parameters that reduce runtime.