go

module
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
cmd
fendix command
Subcommand: `fendix engine` — inspect and refresh the Python whitebox engine that backs the AST taint analyzer (injection / SSTI / unsafe-deserialize / path-traversal detectors).
Subcommand: `fendix engine` — inspect and refresh the Python whitebox engine that backs the AST taint analyzer (injection / SSTI / unsafe-deserialize / path-traversal detectors).
fendix-app command
Package main is the entrypoint for fendix-app, the long-running HTTP server that GitHub posts webhooks to.
Package main is the entrypoint for fendix-app, the long-running HTTP server that GitHub posts webhooks to.
internal
benchmark
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).
benchmark/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).
budget
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).
catalog
Package catalog projects executable registries into the public documentation contract.
Package catalog projects executable registries into the public documentation contract.
cli
Package cli holds tiny shared CLI utilities.
Package cli holds tiny shared CLI utilities.
confidence
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.
decision
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.
democmd
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.
diagnostic
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.
embedded
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.
engine
Package engine contains the scan orchestrator and finding correlator.
Package engine contains the scan orchestrator and finding correlator.
evidence
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.
ghapp
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.
gitdiff
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.
hookcmd
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).
ignorecmd
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.
initcmd
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.
integrations/notify
Package notify ships incoming-webhook alerts for Slack and Teams.
Package notify ships incoming-webhook alerts for Slack and Teams.
logagg
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.
managedci
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).
metrics
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).
models
Package models defines the core data types shared across Fendix.
Package models defines the core data types shared across Fendix.
netguard
Package netguard provides an SSRF-filtering http transport and dialer.
Package netguard provides an SSRF-filtering http transport and dialer.
offline
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.
plugin
Package plugin discovers and runs out-of-tree Fendix plugins.
Package plugin discovers and runs out-of-tree Fendix plugins.
pluginscmd
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.
policy
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.
reporters
Sprint 11 — PDF executive report.
Sprint 11 — PDF executive report.
reporters/i18n
Package i18n holds the localised strings the HTML reporter renders.
Package i18n holds the localised strings the HTML reporter renders.
sarifimport
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.
scanner
Package scanner implements HTTP-based black-box security checks.
Package scanner implements HTTP-based black-box security checks.
scanner/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?
scanner/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.
scanner/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.
scanner/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.
scanner/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.
scanner/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).
scanner/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).
scanner/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.
verifycmd
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.
tests
harness
Package harness builds the fendix binary once per test run so that subprocess-based smoke and regression tests invoke the real CLI exactly as a user would.
Package harness builds the fendix binary once per test run so that subprocess-based smoke and regression tests invoke the real CLI exactly as a user would.

Jump to

Keyboard shortcuts

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