Bug reports and patches are welcome. For a suspected vulnerability in mustbreak, use the security policy, not a public issue.
Getting set up
Section titled “Getting set up”Go 1.26+ is the only prerequisite for the unit tests. make e2e also needs docker on Linux (or a local dex binary, see e2e/run.sh).
git clone https://github.com/dyokto/mustbreakcd mustbreakmake testBefore you open a pull request
Section titled “Before you open a pull request”make lint # must report 0 issuesmake test # must passmake vuln # must be cleanCI runs the same three, plus the e2e run against two dex builds.
What gets merged
Section titled “What gets merged”- One commit per logical change. Commit messages in English, conventional-commits style.
- A case is one file,
internal/cases/mbNN.go, holding onecheck.Case, and is listed ininternal/cases/all.go. ItsSpecnames the sections it checks, and the check does what those sections say at the level they say. Where the text names no error code, any refusal passes. - Every case comes with a test against the fixtures in
internal/fixture: the compliant fixture passes, and each refusal the case checks has a knob that turns it off and makes the case fail. A case that no knob can fail does not test what it claims. - No evidence is never a pass. If the target never fetched, never answered, or the control attempt failed, the result is
error(orskipwhen the target lacks the feature or the profile lacks what the case needs). --json(mustbreak.results/v1) and the--fail-onexit code are an API.
© 2026 The mustbreak Authors. Licensed under Apache-2.0. Part of dyokto.