[Paper Review] MuSe: a Mutation Testing Plugin for the Remix IDE
MuSe is a Remix-IDE plugin that provides 50 mutation operators (including six security-oriented ones) to inject vulnerabilities into Solidity contracts and evaluate test suites, using AST-level mutations and integration with common frameworks. It also assesses detection with Slither.
Mutation testing is a technique to assess the effectiveness of test suites by introducing artificial faults into programs. Although mutation testing plugins are available for many platforms and languages, none is currently available for Remix-IDE, the most widely used Integrated Development Environment for the entire contract development journey, used by users of all knowledge levels, and serves as a learning lab for teaching and experimenting with Ethereum. The quality and security of smart contracts are crucial in blockchain systems, as even minor issues can result in substantial financial losses. This paper proposes MuSe, a mutation testing plugin for the Remix-IDE. MuSe includes traditional, Solidity-specific, and security-oriented mutation operators. Its integration into the Remix-IDE eliminates the need for additional setup and lowers the entry barrier. As a result, developers and researchers can immediately leverage mutation testing to assess the effectiveness of their test suites and identify potential issues in smart contracts. We provide a demo video showing MuSe: https://www.youtube.com/watch?v=MIFk9exTDu0 and its repository: https://github.com/GerardoIuliano/MuSe-Remix-Plugin.
Motivation & Objective
- Advance mutation testing for Solidity by integrating directly into Remix-IDE.
- Provide a comprehensive set of mutation operators, including security-oriented ones.
- Enable end-to-end mutation testing workflow within Remix, from mutation to test execution and reporting.
- Enable benchmarking and generation of vulnerable datasets for vulnerability detectors.
Proposed method
- Built on SuMo and Solidity-parser-antlr to mutate Solidity ASTs via the Visitor pattern.
- Added six new security-oriented operators to reach 50 total mutations.
- Applied Operator Optimizations and Trivial Compiler Equivalence to reduce redundant mutants.
- Integrated with Truffle, Hardhat, Brownie, and Foundry via configuration files and CLI.
- Provided a Docker-based installation and a Remix-local plugin workflow for immediate use in IDE.
- Generated and logged mutants in real time and produced HTML mutation reports.

Experimental results
Research questions
- RQ1Can MuSe inject security-oriented vulnerabilities effectively across a wide range of Solidity contracts?
- RQ2What is the injection rate and distribution of the six security-oriented operators across real-world contracts?
- RQ3How well does Slither detect the injected vulnerabilities in MuSe-generated mutants, and what does that imply for test-suite effectiveness?
- RQ4How does IDE integration affect usability, adoption, and rapid feedback in smart contract testing?
Key findings
- MuSe expands the vulnerable dataset by about 840% across generated mutants.
- The six security-oriented operators exhibit varying injection rates, with UR (Unused return), TX (tx.origin), and CL (multiple calls in a loop) being among the most injectable.
- Slither recalls injected vulnerabilities with varying success: UC and US reach 1.000 recall, CL 0.810, UR 0.605, TX 0.336, DTU 0.100, averaging 0.597 recall.
- The most common injection is UR at 71.50% over 213,912 mutants from 33,910 mutated contracts.
- MuSe supports direct integration with Remix-IDE and four test frameworks, enabling end-to-end mutation, testing, and HTML reporting.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.