Severity Levels#
Every MergeMonkey finding ships with one of four severities. Calibration matters: too many Criticals is noise, too few is a missed incident. This page explains what each tier means and how we pick it.
The four tiers#
Remote exploitability or data loss. If merged, this bug could let an unauthenticated attacker compromise data, escalate privileges, or cause unrecoverable data corruption.
Examples: SQL injection with user-controlled input, hardcoded production secret, authentication bypass, missing authorization check on a destructive endpoint.
Authenticated compromise or significant bug. Requires the attacker to have a valid account or requires an uncommon code path — but the impact is still serious.
Examples: CSRF on a write endpoint, path traversal that leaks files outside the intended directory, race condition that can corrupt state, missing null check in a hot path that will crash.
Defect that degrades reliability or security posture. Rarely production-down on its own, but fixing it meaningfully improves the codebase.
Examples: weak randomness used outside auth, missing error handling in a retry loop, logic bug that surfaces only in edge cases, overly permissive CORS.
Style, hygiene, or hardening suggestion. Not a bug — a recommendation.
Examples: console.log left in production code, missing input length bound, inefficient loop that won't matter at current scale, non-idiomatic API usage.
How severity is chosen#
Three inputs feed the severity decision:
- Category baseline — SQL injection starts at Critical; a missing
altattribute starts at Low. Every detection pattern has a default. - Context adjustment — test files, example code, or clearly-dead branches can downgrade by one tier. A finding in auth code can upgrade.
- Confidence pass — a Critical flagged with low confidence is downgraded to High rather than posted at full severity.
This means a category default isn't destiny. A SQL-injection pattern inside a
demo file in examples/ typically posts as Medium, not Critical.
What to act on#
- Critical — block the merge until resolved.
- High — fix before merge unless you have a specific reason.
- Medium — file as a follow-up if not resolving in the same PR.
- Low — merge-time judgment. Many teams configure their CI to ignore Low.
Severity tuning history, per-category precision, and recall metrics live in our engineering notes. You can also change the minimum severity to surface in your workspace settings.