Skip to content
All case studies
Application security decision platform10 min read

Fendix: release decisions backed by security evidence

An open-source Go CLI and a hosted platform that turn SAST, DAST, SCA and imported SARIF results into confidence-scored findings and a coverage-aware release decision. I created it and maintain it on my own.

fendix.dev Source (MIT)Creator and sole maintainer · independent · Mar 2026 – present
Checks in the v3.6.3 catalog
85
Finding categories
18
Releases since Apr 2026
53
Open-source engine
MIT

The problem

What needed solving

Most CI security gates fail a build on severity alone. Unproven findings block releases, teams learn to override the gate, and real issues get lost in the noise.

The opposite failure is quieter: a scanner that didn't run — missing tool, wrong configuration, unreachable target — produces no findings and looks exactly like a clean pass. A team needs to know whether a release meets its security bar, why, and whether the evidence is complete.

Constraints

What the design had to respect

  • Run inside CI in minutes, with no dependency on a hosted service for the open-source path.
  • Deterministic and explainable: no machine-learning model in detection, scoring or decisions.
  • Never hide findings — every observation stays in the report; only whether it blocks can change.
  • Work with tools teams already run, through SARIF 2.1.0 import and export.
  • Trustworthy distribution: signed artifacts, published SBOMs, and no telemetry from the CLI.

Architecture

How the system fits together

A Go orchestrator runs native analyzers, orchestrates Semgrep and a Python taint-analysis sidecar, imports SARIF, then scores each finding and decides whether it blocks. The hosted workspace adds coverage rules and a single release decision per scan.

  1. Evidence inputs

    • Running API (DAST)

      15 native HTTP checks: passive, authenticated, two-user IDOR, and opt-in active probes.

    • Source and specs (SAST)

      Secrets (18 rules), textscan (29 rules), Semgrep (23 Python rules), Python AST taint analysis, OpenAPI checks.

    • Dependencies (SCA)

      OSV lookups for pip and npm manifests, govulncheck for Go modules.

    • Imported SARIF

      Results from CodeQL, Semgrep, Trivy or any SARIF 2.1.0 tool.

  2. Evidence engine

    • Correlation

      Static and runtime findings merge when categories relate and locations match: route pattern, endpoint, path suffix, then shared segment.

    • Confidence score

      Deterministic 0–100 score with one published reason per rule that fired; HIGH ≥ 70, MEDIUM ≥ 40.

    • Coverage

      Each analyzer records ok, skipped or failed with a reason code.

  3. Decisions

    • CLI gate

      Each finding is BLOCK, WARN or INFO; exit code 0, 1 (blocking), or 2 (error or enforced coverage gap).

    • Hosted release decision

      One decision per scan: BLOCK, INCOMPLETE (required evidence missing), WARN, or PASS — with reasons.

  4. Delivery

    • GitHub Action

      Verifies the signed release before running, uploads SARIF to code scanning, gates on the exit code.

    • Hosted workspace

      Django, Celery and PostgreSQL backend; Next.js frontend in English and Arabic.

    • Integrations

      Jira issues, Slack and Teams notifications, GitHub checks.

Engineering decisions

What was chosen, and why

  1. Gate on confidence, not severity (v2.0)

    A finding at or above the --fail-on threshold blocks only when its confidence band and supporting evidence justify it; otherwise it is reported as WARN. This was a breaking change, so --enforce-confidence=false restores the old severity-only behaviour exactly, locked by a test across 54 severity and threshold combinations.

  2. Correlation is a signal, not the gate

    When a static finding and a runtime finding describe the same issue at the same route, they merge into one correlated finding and gain confidence. It is one of seven independent signals. Strong single-source evidence — a live response that shows the issue, or a real credential in production source — can block on its own, and correlation never removes findings.

  3. Every point of the score has a reason

    Confidence starts from a base and each rule adds or subtracts a fixed amount with a plain-language reason. Tests enforce that the reasons sum to the score, so anyone can see why a finding blocked.

  4. Coverage is a first-class outcome

    A scanner that didn't run is recorded as skipped or failed, never silently absent. In the hosted workspace, missing required evidence produces INCOMPLETE rather than PASS; on the CLI, opt-in flags turn coverage gaps into a failing exit code.

  5. Imported results can't vouch for themselves

    SARIF from other tools is kept out of native correlation. It can corroborate a native finding only when an independent tool reports the same CWE at the same normalised location.

  6. A verifiable supply chain

    Binaries, Linux packages, SBOMs and container images are signed with cosign keyless signing; each binary ships CycloneDX and SPDX SBOMs and an SLSA v1.0 provenance statement (Level 2). The GitHub Action checks the signed build record before running.

Trade-offs

What those choices cost

Confidence-gated failures

Builds that used to fail can now pass; teams that want the old behaviour must opt out explicitly, and those decisions are flagged as policy overrides.

Go binary plus a Python sidecar

The deepest analysis (Python taint) needs the Python engine tree or the official container; the standalone binary records it as unavailable.

Uneven language depth

Python has interprocedural, sanitizer-aware taint analysis; Go, JavaScript/TypeScript and Java rely on line-local pattern rules.

Deterministic rules over learned models

Fully explainable decisions, but detection is bounded by the rules that exist.

Linux and macOS only

Releases target linux and darwin on amd64 and arm64 plus a multi-arch container; there is no Windows build.

Outcomes

What it delivered

Evidence-based gate shipped

Confidence-gated decisions since v2.0 (August 2026), with stable finding fingerprints since v3.0 and per-occurrence suppression since v3.6.

Verifiable releases

53 releases since April 2026; current releases are signed and ship SBOMs and provenance. I verified the v3.6.3 binary and container signatures with cosign.

Published, caveated benchmarks

CI-gated corpora (for example a 56-case synthetic SAST corpus) with their limits stated: they measure the rules on curated cases, not a real-world detection rate.

Open source plus hosted

The MIT engine runs anywhere in CI; the hosted workspace adds organisations, roles, MFA, an audit log and release decisions.

My role

  • Created Fendix and remain its only maintainer: the Go engine and Python analyzers, the hosted backend and frontend, the release pipeline, and the documentation.
  • Designed the evidence model: correlation rules, confidence scoring, coverage tracking, and both decision layers.
  • Built the signed release and packaging pipeline (binaries, .deb/.rpm, container images, SBOMs, provenance, Homebrew tap).

Scope notes

  • The effect of correlation on false positives has not been measured; it is described as a mechanism. An earlier version of this site claimed a measured reduction and described a stricter gate than the one that shipped; both claims have been removed.
  • Managed CI and tamper-evident decision records are in limited availability; the public demo workspace uses sample data.
  • Fendix holds no third-party security certification, and I don't claim customer or adoption numbers.
  • --offline is not yet fully hermetic when the Python dependency check runs; the README documents the workaround.
GoPythonSemgrepSARIFSigstore cosignDjangoNext.js

Next case study

Qatf

An open-source tool (Apache-2.0) that turns a long video into 9:16 clips with word-by-word captions. A language model picks the moments; transcription, cut placement and rendering stay deterministic, and right-to-left Arabic captions are a first-class path. I created it and maintain it; it is a working prototype.

Read it