internal/

directory
v0.0.0-...-a02776c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2026 License: MIT

Directories

Path Synopsis
Package benchmark defines the interfaces and result types for Fendix's internal accuracy + performance benchmark suite (v0.20 — Establish Baselines).
Package benchmark defines the interfaces and result types for Fendix's internal accuracy + performance benchmark suite (v0.20 — Establish Baselines).
targets
Package targets implements the concrete benchmark corpora for the v0.20 baseline suite: OWASP Benchmark (white-box / SAST), DVWA, and OWASP Juice Shop (black-box / DAST).
Package targets implements the concrete benchmark corpora for the v0.20 baseline suite: OWASP Benchmark (white-box / SAST), DVWA, and OWASP Juice Shop (black-box / DAST).
Package budget enforces global scan budgets — total HTTP request count (--max-requests) and wall-clock duration (--max-duration).
Package budget enforces global scan budgets — total HTTP request count (--max-requests) and wall-clock duration (--max-duration).
Package catalog projects executable registries into the public documentation contract.
Package catalog projects executable registries into the public documentation contract.
Package cli holds tiny shared CLI utilities.
Package cli holds tiny shared CLI utilities.
Package confidence is the v0.23 Confidence Engine: a DETERMINISTIC, rule-based, fully explainable scorer that turns an evidence.Evidence into a 0–100 confidence score plus a plain-text reason for every contribution.
Package confidence is the v0.23 Confidence Engine: a DETERMINISTIC, rule-based, fully explainable scorer that turns an evidence.Evidence into a 0–100 confidence score plus a plain-text reason for every contribution.
Package decision is the Decision layer in Fendix's Engine → Evidence → Finding → Decision architecture.
Package decision is the Decision layer in Fendix's Engine → Evidence → Finding → Decision architecture.
Package democmd implements the `fendix demo` subcommand: spin up OWASP Juice Shop locally in Docker, run a stock fendix scan against it, render an HTML report, and (optionally) open the report in the default browser.
Package democmd implements the `fendix demo` subcommand: spin up OWASP Juice Shop locally in Docker, run a stock fendix scan against it, render an HTML report, and (optionally) open the report in the default browser.
Package diagnostic builds a redacted bug-report tarball that captures the runtime state of a single fendix scan: scan config, environment versions, probe audit log, buffered DEBUG slog stream, and resulting findings.
Package diagnostic builds a redacted bug-report tarball that captures the runtime state of a single fendix scan: scan config, environment versions, probe audit log, buffered DEBUG slog stream, and resulting findings.
Package embedded preserves the optional legacy/custom-build path for a Python engine payload compiled into the Go binary.
Package embedded preserves the optional legacy/custom-build path for a Python engine payload compiled into the Go binary.
Package engine contains the scan orchestrator and finding correlator.
Package engine contains the scan orchestrator and finding correlator.
Package evidence is the v0.22 domain layer in Fendix's Engine → Evidence → Finding → Decision architecture.
Package evidence is the v0.22 domain layer in Fendix's Engine → Evidence → Finding → Decision architecture.
Package ghapp implements the Fendix GitHub App: webhook signature verification, App-as-bot authentication (App JWT → installation token), and event routing.
Package ghapp implements the Fendix GitHub App: webhook signature verification, App-as-bot authentication (App JWT → installation token), and event routing.
Package gitdiff resolves the set of files changed in a working tree and exposes a path Allowlist that the whitebox scanners consult to scope a scan to only those files — the engine half of "diff-aware scanning" (`fendix scan --diff[=ref] --staged`), the single most important developer-workflow feature in the 90-day cut.
Package gitdiff resolves the set of files changed in a working tree and exposes a path Allowlist that the whitebox scanners consult to scope a scan to only those files — the engine half of "diff-aware scanning" (`fendix scan --diff[=ref] --staged`), the single most important developer-workflow feature in the 90-day cut.
Package hookcmd implements the `fendix hook …` cobra subcommand tree (90-day cut, item 2).
Package hookcmd implements the `fendix hook …` cobra subcommand tree (90-day cut, item 2).
Package ignorecmd implements the `fendix ignore …` cobra subcommand tree introduced in TASK-135 / Phase 17d.
Package ignorecmd implements the `fendix ignore …` cobra subcommand tree introduced in TASK-135 / Phase 17d.
Package initcmd implements `fendix init` — zero-config workflow generator.
Package initcmd implements `fendix init` — zero-config workflow generator.
integrations
jira
Package jira ships idempotent finding → Jira-issue sync.
Package jira ships idempotent finding → Jira-issue sync.
notify
Package notify ships incoming-webhook alerts for Slack and Teams.
Package notify ships incoming-webhook alerts for Slack and Teams.
Package logagg caps the per-check WARN log volume for a single scan and reports an aggregated summary at scan end.
Package logagg caps the per-check WARN log volume for a single scan and reports an aggregated summary at scan end.
Package managedci exports managed-CI evidence under the canonical contract managed-ci/v2 (contracts/managed-ci/v2).
Package managedci exports managed-CI evidence under the canonical contract managed-ci/v2 (contracts/managed-ci/v2).
Package metrics provides Fendix's internal, opt-in product metrics collection (v0.20 — Establish Baselines).
Package metrics provides Fendix's internal, opt-in product metrics collection (v0.20 — Establish Baselines).
Package models defines the core data types shared across Fendix.
Package models defines the core data types shared across Fendix.
Package netguard provides an SSRF-filtering http transport and dialer.
Package netguard provides an SSRF-filtering http transport and dialer.
Package offline ships an air-gapped CVE database snapshot format and a thin "fendix db" CLI surface around it.
Package offline ships an air-gapped CVE database snapshot format and a thin "fendix db" CLI surface around it.
Package plugin discovers and runs out-of-tree Fendix plugins.
Package plugin discovers and runs out-of-tree Fendix plugins.
Package pluginscmd implements the `fendix plugins …` cobra subcommand tree introduced in TASK-130 / Phase 17c.
Package pluginscmd implements the `fendix plugins …` cobra subcommand tree introduced in TASK-130 / Phase 17c.
Package policy loads `.fendix.yaml` — the repo-committable policy file that lets AppSec teams pin Fendix's scan behavior in source control instead of via a long shell-script of CLI flags.
Package policy loads `.fendix.yaml` — the repo-committable policy file that lets AppSec teams pin Fendix's scan behavior in source control instead of via a long shell-script of CLI flags.
Sprint 11 — PDF executive report.
Sprint 11 — PDF executive report.
i18n
Package i18n holds the localised strings the HTML reporter renders.
Package i18n holds the localised strings the HTML reporter renders.
Package sarifimport ingests SARIF 2.1.0 reports produced by OTHER scanners (CodeQL, semgrep, trivy, …) and normalizes them into evidence.Evidence so the standard fendix finalization chain — fingerprinting, confidence scoring, dedup, baseline/ignore, confidence-gated --fail-on, reporters — treats them as first-class findings.
Package sarifimport ingests SARIF 2.1.0 reports produced by OTHER scanners (CodeQL, semgrep, trivy, …) and normalizes them into evidence.Evidence so the standard fendix finalization chain — fingerprinting, confidence scoring, dedup, baseline/ignore, confidence-gated --fail-on, reporters — treats them as first-class findings.
Package scanner implements HTTP-based black-box security checks.
Package scanner implements HTTP-based black-box security checks.
deps/applicability
Package applicability answers one narrow question about a dependency finding: is the sub-component the advisory is actually scoped to ever imported by the scanned tree?
Package applicability answers one narrow question about a dependency finding: is the sub-component the advisory is actually scoped to ever imported by the scanned tree?
deps/govulncheck
Package govulncheck runs the upstream govulncheck logic in-process and emits fendix Findings for Go-module CVEs that the user's code actually calls.
Package govulncheck runs the upstream govulncheck logic in-process and emits fendix Findings for Go-module CVEs that the user's code actually calls.
deps/neterr
Package neterr types the transport failures the dependency scanners see so the orchestrator can classify them as network_error or timeout without reading error prose.
Package neterr types the transport failures the dependency scanners see so the orchestrator can classify them as network_error or timeout without reading error prose.
deps/npm
Package npm runs an in-process npm dependency CVE scan against package-lock.json v2/v3 manifests and emits fendix Findings for any resolved version that matches an OSV.dev vulnerability record.
Package npm runs an in-process npm dependency CVE scan against package-lock.json v2/v3 manifests and emits fendix Findings for any resolved version that matches an OSV.dev vulnerability record.
deps/pip
Package pip queries the OSV.dev /v1/query API to find vulnerabilities in Python dependencies declared in requirements.txt manifests.
Package pip queries the OSV.dev /v1/query API to find vulnerabilities in Python dependencies declared in requirements.txt manifests.
secrets
Package secrets detects hardcoded secrets in source code via regex pattern matching, ported in-process from python/analyzers/secrets.py (TASK-115).
Package secrets detects hardcoded secrets in source code via regex pattern matching, ported in-process from python/analyzers/secrets.py (TASK-115).
semgrep
Package semgrep shells out to a host-installed semgrep binary, running fendix's bundled rule pack and mapping every match to a fendix Finding (TASK-116).
Package semgrep shells out to a host-installed semgrep binary, running fendix's bundled rule pack and mapping every match to a fendix Finding (TASK-116).
textscan
Package textscan ships a regex-based SAST engine that drives the Sprint-04 (Go), Sprint-05 (JS/TS), and Sprint-06 (Dockerfile + k8s YAML) rulesets in one unified scanner.
Package textscan ships a regex-based SAST engine that drives the Sprint-04 (Go), Sprint-05 (JS/TS), and Sprint-06 (Dockerfile + k8s YAML) rulesets in one unified scanner.
Package verifycmd implements `fendix verify <finding-id>` — re-run a single finding against the current state of the target and report whether it's still present or has been resolved.
Package verifycmd implements `fendix verify <finding-id>` — re-run a single finding against the current state of the target and report whether it's still present or has been resolved.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL