Skip to content
Soroban DevKit

Open source · Built for Soroban

Build safer smart contracts, before they ship.

Fuzz, mutate, and verify your Soroban contracts on a real execution VM. Get minimal, reproducible findings built for developers who care about security.

Open Source Testnet Ready Developer Focused

Illustrative layout · real campaign output

Fuzzing Campaign Completed

Executed

4

Passed

2

Findings

2

Minimized

2

Generate→Mutate→Execute→Detect→Minimize→Replay
$ sdkt fuzz campaign us_new.wasm --seed 42 --cases 4 --expect-error hello:Auth:6
executed=4 passed=2 expected_errors=0 findings=2 skipped=0
evidence: completed=true minimized=2 deterministic=true

Findings — declaration mismatches, not vulnerability claims

case0000 RETURN_MISMATCH hello REPRODUCED
case0002 RETURN_MISMATCH hello MINIMIZED×10

Values from a real offline run against this repository's us_new.wasm fixture.

Fuzz Testing

Find edge cases and unexpected behavior with deterministic campaigns in an isolated host.

Artifact Security

Graded findings from the compiled WASM — spec surface, build provenance, upgrade compatibility.

Upgrade Safety

Offline WASM-to-WASM diff with a breaking-change verdict and operator-supplied size policies.

Release Assurance

Artifact, audit, upgrade, deployed verification, and health in one read-only verdict.

The workflow

From fuzz to confidence.

Six stages, zero network. Runs entirely inside an in-memory Soroban host — your compiled WASM never leaves your machine.

  1. 01

    Generate

    Typed vectors from the contract spec

  2. 02

    Mutate

    Deterministic semantic mutation

  3. 03

    Execute

    Real host, live budget counters

  4. 04

    Detect

    Oracle vs declared expectations

  5. 05

    Minimize

    Smallest reproducing sequence

  6. 06

    Replay

    Byte-identical, separate process

us_new.wasmSoroban
#[contract]
pub struct Counter;

#[contractimpl]
impl Counter {
    pub fn increment(env: Env, id: u32) -> u32 {
        // a real export in the repo fixture
    }
}
Fuzzing resultdeterministic=true

4 cases · 2 passed · 2 findings · 0 crashes

  • RETURN_MISMATCHwarning
  • REPRODUCEDok
Reproduceoffline
$ sdkt fuzz replay \
    artifacts/finding-case0000-return_mismatch.json \
    --wasm us_new.wasm

REPRODUCED reason=RETURN_MISMATCH
canonical=819a2af1…37541

A finding is evidence of a declaration mismatch, not a vulnerability claim. Full method: fuzz-real-contract-evidence.md.

Evidence

Verifiable claims only.

Every number and version on this page has a source you can check. Nothing here is estimated, projected, or illustrative unless it says so.

CLI commands

32

decode → deploy → verify

Audit rules

7

AUTH-001…004 · MOVE · MATH · CEI

Fuzz replay

68/68

REPRODUCED · zero mismatches

Host engine

28.0.2

soroban-env-host · protocol 28

Quickstart

First check in under five minutes.

All four steps run offline. No RPC, no account, no network.

install · inspect · audit · fuzzoffline
# 1. install (pick one)
curl -fsSL https://raw.githubusercontent.com/SaboLabs/soroban-devkit/main/install.sh | bash
# or: cargo install sdkt-cli

# 2. inspect a contract WASM
sdkt wasm inspect crates/sdkt-cli/tests/fixtures/us_old.wasm

# 3. audit contract source
sdkt audit examples/sample_token/src/lib.rs
# -> [critical] AUTH-001 [SampleToken::admin_action]

# 4. first fuzz campaign
sdkt fuzz campaign crates/sdkt-cli/tests/fixtures/us_new.wasm --seed 42 --cases 4

Need the full reference?

Installation paths, CLI tree, exit codes, audit rules, and CI/CD integration are all documented.

Run your first check.

Install the binary, inspect a fixture, run an audit — all offline, all under five minutes.