Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

fermut

Latest version: v0.9.0

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
PyPI package Publisher: kovant
4 Stars
0 Forks
6 Versions
15.5K Downloads
Rust Repo language

Scan summary

fermut was last scanned on 26 Nov 2026 at version 0.9.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 6 versions; the latest was published on 26 Nov 2026.
  • Findings: No rules fired in version 0.9.0.
  • Downloads: 15,502 downloads.

Versions

6 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.9.0 LATEST 26 Nov 2026 No rules fired
0.8.1 18 Nov 2026 No rules fired
0.8.0 17 Nov 2026 No rules fired
0.7.0 6 Nov 2026 Not shown
0.6.1 21 Oct 2026 Not shown

No rules fired in 0.9.0

Findings

Findings for v0.9.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.9.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

fermut

Agent-first mutation testing for Python — Rust-fast, ty-aware.

Line coverage tells you which lines run. fermut tells you which lines your tests actually check.

CI Mutation (pytest plugin) PyPI Python License: MIT OR Apache-2.0 Rust 1.83+

$ fermut run src/ --tests tests/

SURVIVED  src/auth.py:42@1187 [boundary-shift] `age >= 18` → `age > 18`
TIMEOUT   src/slow.py:88@2304 [arith-op-swap] `n * 2` → `n / 2`

152 mutants — killed: 140, survived: 8, timeout: 1, skipped: 3 (coverage 3), equivalent: 0, errored: 0  | score: 94.6%

Each SURVIVED line is a real gap: a change to your source that your tests didn't notice. fermut makes thousands of these small edits (<= → <, + → -), re-runs your suite against each, and reports the ones that slipped through. In short — it answers "are my tests any good?"

  • ⚡ Fast — native-Rust hot loop, ty pre-filter drops type-invalid mutants before they ever reach pytest, per-test coverage selection runs only the tests that touch each mutant, and mutants run in forks of one pytest that already imported your suite (schemata).
  • 🤖 Agent-first — machine-readable JSON reports, deterministic mutant IDs, next/explain/score subcommands built for a coding agent in the loop.
  • 🔁 Incremental — an unchanged re-run is answered from the cache (pyjwt: ~38s cold, ~0.3s warm, measured together after the benchmark table), and --diff-only scopes mutation to lines changed vs main.
  • 🚦 CI-ready — non-zero exit when any mutant survives (or, with --fail-under, when the score drops below a threshold), wire it straight into a pull-request gate.

Hot loop is native Rust; the test runner stays Python (pytest, the pytest-compatible rstest, or unittest). Built on Astral's ruff_python_parser for mutant generation and ty for type-awareness. Humans welcome too.

Quickstart

# install — pick the path that matches you
uv tool install fermut                                             # prebuilt wheel from PyPI, no Rust needed
cargo install --git https://github.com/KovantAI/fermut --locked    # from source: needs Rust + ~2 min first compile

# in your project (needs pytest, coverage, pytest-cov on the same PATH; ty is embedded — see Installation)
fermut init                     # detect source/tests/runner, write fermut.toml
fermut baseline                 # where you stand: checks the env, builds .coverage,
                                # line coverage vs a sampled mutation score + worst files
fermut run src/ --tests tests/  # full mutation report (add -q to silence progress logs)
fermut next                     # the survivor worth a test first

For a CI gate, generate the opinionated profile instead — diff-only + coverage + a narrow operator set, tuned to fail fast on pull requests:

fermut init --profile pr-gate   # writes a CI-shaped fermut.toml (needs git + .coverage)

It scopes mutation to lines changed vs main, so run it inside a git checkout with that base available — see CI quickstart.

Install paths. Prebuilt wheels ship to PyPI, so uv tool install fermut (or pipx/pip install fermut) is the no-Rust path. The cargo install --git path (Rust required) builds from source — for hacking on fermut or platforms without a prebuilt wheel. Full prerequisites in Installation.

Why fermut

On typer (cold run, same machine, 2026-11-03):

Tool Time Mutation score
fermut 211s 69.2%
mutmut 289s 70.4%

fermut is faster at a similar score here: per-test coverage selection and a fork server that collects the suite once (schemata) cut wall-clock without dropping rigor. The win is suite-shaped: on more-itertools the two tie (~123s vs ~119s), and on a tiny suite like markupsafe mutmut's simpler model still wins (~9s vs ~15s). On the larger suites fermut finishes werkzeug (41k generated mutants, 8k run) in under 3 minutes. Full numbers and methodology: benchmarks.

Documentation

Full documentation lives at https://fermut.readthedocs.io/, sourced from the docs/ directory in this repo.

Start here:

  • Coding agents — agent-driven inner loop, cache strategy, JSON parsing recipes.
  • Agent skill — fermut install-skills, or the Claude Code plugin (/plugin marketplace add KovantAI/fermut).
  • First steps — fermut init then fermut run, first report in under five minutes.
  • Installation — prerequisites and build paths.
  • Rolling out to a team — gradual rollout, profile choice, CI integration.
  • CLI reference — every subcommand, every flag.
  • Configuration reference — every fermut.toml key.
  • Operators — the full mutation operator catalogue.
  • Landscape — vs mutmut and cosmic-ray.
  • Migrating? from mutmut / from cosmic-ray — or run fermut migrate {mutmut,cosmic-ray} for one-shot translation.
  • Internals + Adding an operator — contributor onboarding.

Status

fermut is pre-1.0. The CLI, config schema, and JSON report shape may change between 0.MINOR releases. See VERSIONING.md for the full contract.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases fermut

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229