internal/

directory
v4.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package agent implements the coding-agent surface: the hook engine that answers a tool call, and the installer that wires a host up to it.
Package agent implements the coding-agent surface: the hook engine that answers a tool call, and the installer that wires a host up to it.
Package aibom discovers evidence of AI coding agents and AI-SDK usage in a codebase and maps it to a CycloneDX AI Bill of Materials.
Package aibom discovers evidence of AI coding agents and AI-SDK usage in a codebase and maps it to a CycloneDX AI Bill of Materials.
aibomgen command
Command aibomgen renders the AIBOM detection documentation from the single source of truth: the embedded catalog (internal/aibom/catalog/*.json).
Command aibomgen renders the AIBOM detection documentation from the single source of truth: the embedded catalog (internal/aibom/catalog/*.json).
Package analytics provides Google Analytics 4 (GA4) Measurement Protocol integration for server-side event tracking from the Vulnetix CLI.
Package analytics provides Google Analytics 4 (GA4) Measurement Protocol integration for server-side event tracking from the Vulnetix CLI.
Package analyze produces the `vulnetix analyze` report: a repository's tech-stack graph, the cross-repo join keys other repositories match against, and the metrics for that repository — each metric carrying the evidence that produced it.
Package analyze produces the `vulnetix analyze` report: a repository's tech-stack graph, the cross-repo join keys other repositories match against, and the metrics for that repository — each metric carrying the evidence that produced it.
forge
Package forge talks to the code-hosting platform — today, GitHub.
Package forge talks to the code-hosting platform — today, GitHub.
Package apispecs finds an organisation's OpenAPI and Swagger descriptions in a working tree and reads them through the one shared module (github.com/Vulnetix/vdb-openapi), so the CLI, the backend and the console all agree on what a document says whatever version it is written in.
Package apispecs finds an organisation's OpenAPI and Swagger descriptions in a working tree and reads them through the one shared module (github.com/Vulnetix/vdb-openapi), so the CLI, the backend and the console all agree on what a document says whatever version it is written in.
Package artifacts records every file the CLI writes in an artifact manifest, so a CI step can upload, attest or attach exactly those files without guessing at paths.
Package artifacts records every file the CLI writes in an artifact manifest, so a CI step can upload, attest or attach exactly those files without guessing at paths.
Package attest verifies signatures and provenance on artefacts this CLI consumes.
Package attest verifies signatures and provenance on artefacts this CLI consumes.
Package binpkg discovers packages from compiled artefacts — the case where a dependency exists in a container image or release archive but no manifest, lockfile or package database mentions it.
Package binpkg discovers packages from compiled artefacts — the case where a dependency exists in a container image or release archive but no manifest, lockfile or package database mentions it.
Package bom is the read side of the SBOM story: it parses SBOM documents the CLI did not write.
Package bom is the read side of the SBOM story: it parses SBOM documents the CLI did not write.
Package buildinfo carries the build-time identity of this binary to packages that cannot import cmd.
Package buildinfo carries the build-time identity of this binary to packages that cannot import cmd.
Package campaigns reads Vulnetix remediation campaigns from the console's site API (GET /api/site/v1/campaigns), the source of the GitHub security campaigns that `vulnetix gha publish campaigns` creates.
Package campaigns reads Vulnetix remediation campaigns from the console's site API (GET /api/site/v1/campaigns), the source of the GitHub security campaigns that `vulnetix gha publish campaigns` creates.
Package cbom discovers cryptographic usage in a codebase — in source, config, certificates/keys on disk and declared crypto libraries — and maps it to a CycloneDX Cryptography Bill of Materials, classifying each algorithm for post-quantum posture (quantum-safe | quantum-vulnerable | deprecated | hybrid).
Package cbom discovers cryptographic usage in a codebase — in source, config, certificates/keys on disk and declared crypto libraries — and maps it to a CycloneDX Cryptography Bill of Materials, classifying each algorithm for post-quantum posture (quantum-safe | quantum-vulnerable | deprecated | hybrid).
cbomgen command
Command cbomgen renders the CBOM detection documentation from the single source of truth: the embedded catalog (internal/cbom/catalog/*.json).
Command cbomgen renders the CBOM detection documentation from the single source of truth: the embedded catalog (internal/cbom/catalog/*.json).
Package cdxsign signs a CycloneDX document with the identity the machine running the scan already has.
Package cdxsign signs a CycloneDX document with the identity the machine running the scan already has.
Package defences describes what Vulnetix has built to protect a vulnerability that has no fix: virtual patches, which block a request at the edge, and countermeasures, which detect the exploit on a host.
Package defences describes what Vulnetix has built to protect a vulnerability that has no fix: virtual patches, which block a request at the edge, and countermeasures, which detect the exploit on a host.
Package dockerfrom reads the structure of a Dockerfile that container curation needs: each stage's FROM (as written and with ARG defaults applied), which stage is the final one, and the package-manager install lines in each stage's RUN instructions, with their line numbers.
Package dockerfrom reads the structure of a Dockerfile that container curation needs: each stage's FROM (as written and with ARG defaults applied), which stage is the final one, and the package-manager install lines in each stage's RUN instructions, with their line numbers.
Package ecosystems resolves the on-disk locations where a project's dependencies are installed/cached, per programming-language / package-manager ecosystem.
Package ecosystems resolves the on-disk locations where a project's dependencies are installed/cached, per programming-language / package-manager ecosystem.
Package filecache holds the on-disk caches that let a scan skip work on files whose text has not changed: the SAST result cache and the graph facts cache.
Package filecache holds the on-disk caches that let a scan skip work on files whose text has not changed: the SAST result cache and the graph facts cache.
Package ghactx collects the CI identity of a GitHub Actions run.
Package ghactx collects the CI identity of a GitHub Actions run.
Package ghasetup wires third-party security scanners into a repository's GitHub Actions workflows.
Package ghasetup wires third-party security scanners into a repository's GitHub Actions workflows.
ghasetupgen command
Command ghasetupgen renders the third-party scanner documentation from the single source of truth: the embedded catalog (internal/ghasetup/catalog).
Command ghasetupgen renders the third-party scanner documentation from the single source of truth: the embedded catalog (internal/ghasetup/catalog).
Package ghtasks runs the Vulnetix GitHub posture engine (vdb-sca-match ghaudit) for the `vulnetix gha` analysis tasks: workflows, actions, settings, org and audit.
Package ghtasks runs the Vulnetix GitHub posture engine (vdb-sca-match ghaudit) for the `vulnetix gha` analysis tasks: workflows, actions, settings, org and audit.
Package gitopen opens a git repository the way every history-reading feature needs it opened.
Package gitopen opens a git repository the way every history-reading feature needs it opened.
Package ignore implements .gitignore-style path matching shared by the scan and sast filesystem walkers.
Package ignore implements .gitignore-style path matching shared by the scan and sast filesystem walkers.
Package imagesrc reads a container image for `vulnetix scan image`: from a registry, from a local docker or podman image store, or from an archive, and unpacks its filesystem so the image's own package databases can be read.
Package imagesrc reads a container image for `vulnetix scan image`: from a registry, from a local docker or podman image store, or from an archive, and unpacks its filesystem so the image's own package databases can be read.
lsp
anchor
Package anchor resolves which line of a dependency manifest declares a given package.
Package anchor resolves which line of a dependency manifest declares a given package.
protocol
Package protocol is the Language Server Protocol subset the Vulnetix server speaks, plus the vulnetix/* extension methods.
Package protocol is the Language Server Protocol subset the Vulnetix server speaks, plus the vulnetix/* extension methods.
rangefix
Package rangefix turns a line-only finding into an editor range.
Package rangefix turns a line-only finding into an editor range.
Package managedfile writes and reverts Vulnetix-owned regions of a user's config files without disturbing the rest of the file.
Package managedfile writes and reverts Vulnetix-owned regions of a user's config files without disturbing the rest of the file.
Package memory manages the .vulnetix/memory.yaml file that persists scan state between runs — last scan summary, history, and cached findings.
Package memory manages the .vulnetix/memory.yaml file that persists scan state between runs — last scan summary, history, and cached findings.
Package pipeline is the owner of "run an analysis".
Package pipeline is the owner of "run an analysis".
Package platformiac decides what is a Platform IaC document and finds them.
Package platformiac decides what is a Platform IaC document and finds them.
Package reachability runs tree-sitter S-expression queries supplied by vdb-manager against source files to determine whether a known- vulnerable code pattern is present (direct mode) or reachable from first-party code (transitive mode).
Package reachability runs tree-sitter S-expression queries supplied by vdb-manager against source files to determine whether a known- vulnerable code pattern is present (direct mode) or reachable from first-party code (transitive mode).
Package regexlit decides cheaply that a regular expression cannot match a text, so the expression is not run.
Package regexlit decides cheaply that a regular expression cannot match a text, so the expression is not run.
Package report turns scan findings into what a person reads and what a pipeline greps.
Package report turns scan findings into what a person reads and what a pipeline greps.
cwssgen command
Command cwssgen rewrites the "cwss" metadata line of every rule in internal/sast/rules from the rule's own severity, CWEs and tags, using the shared derivation in vdb-sca-match/cwss.
Command cwssgen rewrites the "cwss" metadata line of every rule in internal/sast/rules from the rule's own severity, CWEs and tags, using the shared derivation in vdb-sca-match/cwss.
efficacy
Package efficacy measures whether a SAST rule does what it says: it reports the defect it was written for, in the shapes that defect takes, and stays quiet on the code that merely resembles it.
Package efficacy measures whether a SAST rule does what it says: it reports the defect it was written for, in the shapes that defect takes, and stays quiet on the code that merely resembles it.
secretsgen command
Command secretsgen renders the high-fidelity secret-detection rule set from a single source of truth: catalog.json.
Command secretsgen renders the high-fidelity secret-detection rule set from a single source of truth: catalog.json.
Package scanopts builds a pipeline.Options from a cobra command's flags.
Package scanopts builds a pipeline.Options from a cobra command's flags.
Package scaview renders one dependency's security picture as text.
Package scaview renders one dependency's security picture as text.
Package secretscan provides binary file inspection and git history scanning helpers used by the secrets detection stage.
Package secretscan provides binary file inspection and git history scanning helpers used by the secrets detection stage.
sensor
addongate
Package addongate recognises the platform saying "this needs a paid add-on".
Package addongate recognises the platform saying "this needs a paid add-on".
agent
Package agent runs the sensor: it loads rules from the feeds, registers with what compiled, serves the proxies, ships events and applies decisions.
Package agent runs the sensor: it loads rules from the feeds, registers with what compiled, serves the proxies, ships events and applies decisions.
decide
Package decide is the runtime sensor's verdict engine: given a rule match, what does the sensor do about it, right now, on this host.
Package decide is the runtime sensor's verdict engine: given a rule match, what does the sensor do about it, right now, on this host.
dnsguard
Package dnsguard is a DNS forwarder that checks every name a workload looks up against the feeds' domain indicators.
Package dnsguard is a DNS forwarder that checks every name a workload looks up against the feeds' domain indicators.
engine
Package engine compiles a feed's rules into what the sensor can run, and reports, per rule, whether it compiled.
Package engine compiles a feed's rules into what the sensor can run, and reports, per rule, whether it compiled.
execguard
Package execguard runs a workload under the sensor and decides about every program it starts, before the program runs.
Package execguard runs a workload under the sensor and decides about every program it starts, before the program runs.
execwatch
Package execwatch reads process starts from Tetragon and checks each new executable against the feeds' file-hash indicators.
Package execwatch reads process starts from Tetragon and checks each new executable against the feeds' file-hash indicators.
feed
Package feed loads the runtime sensor's rules from an organisation's published detection rule feed (vdb-site detection_rule_feeds_sensor.go).
Package feed loads the runtime sensor's rules from an organisation's published detection rule feed (vdb-site detection_rule_feeds_sensor.go).
host
Package host answers what the sensor is running on: the compute kind, the ARN of the resource when one can be read, the kernel, and a stable sensor key kept on disk so a restart re-registers the same sensor.
Package host answers what the sensor is running on: the compute kind, the ARN of the resource when one can be read, the kernel, and a stable sensor key kept on disk so a restart re-registers the same sensor.
hostcheck
Package hostcheck reads a host's configuration and reports what fails the hardening guidance in the CIS Linux and Kubernetes benchmarks.
Package hostcheck reads a host's configuration and reports what fails the hardening guidance in the CIS Linux and Kubernetes benchmarks.
inventory
Package inventory answers which installed packages are actually in use on a host, from what running processes have mapped into memory.
Package inventory answers which installed packages are actually in use on a host, from what running processes have mapped into memory.
lambdaext
Package lambdaext runs the sensor inside AWS Lambda as an external extension.
Package lambdaext runs the sensor inside AWS Lambda as an external extension.
lsmguard
Package lsmguard refuses execs in the kernel with a BPF LSM program on bprm_check_security, for hosts whose kernel runs the bpf LSM (lsm=...,bpf) and where the sensor runs with CAP_BPF and CAP_SYS_ADMIN.
Package lsmguard refuses execs in the kernel with a BPF LSM program on bprm_check_security, for hosts whose kernel runs the bpf LSM (lsm=...,bpf) and where the sensor runs with CAP_BPF and CAP_SYS_ADMIN.
provision
Package provision is the sensor side of sensor provisioning (vdb-site docs/sensor-provisioning-api.md): enrolling a device, as a person or with an MDM key, keeping the credential and the profile's configuration on disk, pulling configuration changes, and rendering the systemd units for the profile's protection level.
Package provision is the sensor side of sensor provisioning (vdb-site docs/sensor-provisioning-api.md): enrolling a device, as a person or with an MDM key, keeping the credential and the profile's configuration on disk, pulling configuration changes, and rendering the systemd units for the profile's protection level.
proxy
Package proxy puts the sensor in the request path.
Package proxy puts the sensor in the request path.
sdnotify
Package sdnotify is a minimal sd_notify(3): it tells systemd the sensor is ready and pings the watchdog, over the datagram socket systemd names in NOTIFY_SOCKET.
Package sdnotify is a minimal sd_notify(3): it tells systemd the sensor is ready and pings the watchdog, over the datagram socket systemd names in NOTIFY_SOCKET.
siem
Package siem forwards every DNS and egress decision the sensor makes to Guardian, the Vulnetix SIEM, as dns_events and net_events rows.
Package siem forwards every DNS and egress decision the sensor makes to Guardian, the Vulnetix SIEM, as dns_events and net_events rows.
tetragon
Package tetragon renders the feeds' block-mode process rules as a Tetragon TracingPolicy, so the kernel refuses a matching exec before it runs.
Package tetragon renders the feeds' block-mode process rules as a Tetragon TracingPolicy, so the kernel refuses a matching exec before it runs.
uplink
Package uplink is the runtime sensor's client for the vdb-site runtime routes (docs/runtime-sensor-api.md there): register with the rules it compiled, post rule matches and holds, and long-poll decisions.
Package uplink is the runtime sensor's client for the vdb-site runtime routes (docs/runtime-sensor-api.md there): register with the rules it compiled, post rule matches and holds, and long-poll decisions.
Package suppress holds the shared "ignore rule" matching logic used by every scanner pipeline (SAST family, SCA, license, malscan) to drop findings that an org-level or local Suppression covers, before report output is generated.
Package suppress holds the shared "ignore rule" matching logic used by every scanner pipeline (SAST family, SCA, license, malscan) to drop findings that an org-level or local Suppression covers, before report output is generated.
Package suppressdrift relocates code-anchored suppressions (nosec directives and file/line ignore rules) as the code they pin to moves through git history.
Package suppressdrift relocates code-anchored suppressions (nosec directives and file/line ignore rules) as the code they pin to moves through git history.
Package sysinv reads the operating system's own record of what is installed under a root filesystem: the dpkg, apk, pacman and rpm package databases and /etc/os-release.
Package sysinv reads the operating system's own record of what is installed under a root filesystem: the dpkg, apk, pacman and rpm package databases and /etc/os-release.
Package testsuite detects whether a source-code finding lives in a project's test suite, and identifies the testing framework responsible.
Package testsuite detects whether a source-code finding lives in a project's test suite, and identifies the testing framework responsible.
Package treesitter wires the vdb-manager language identifiers used in x_treeSitterQueries.language to concrete tree-sitter grammars bundled via github.com/smacker/go-tree-sitter.
Package treesitter wires the vdb-manager language identifiers used in x_treeSitterQueries.language to concrete tree-sitter grammars bundled via github.com/smacker/go-tree-sitter.
Package triage provides a provider abstraction for fetching vulnerability alerts from external sources (GitHub Dependabot, Snyk, etc.) and enriching them with VDB remediation data.
Package triage provides a provider abstraction for fetching vulnerability alerts from external sources (GitHub Dependabot, Snyk, etc.) and enriching them with VDB remediation data.
Package versions provides SemVer-aware version parsing, comparison, range evaluation, and CVE 5.1 affected/unaffected status determination.
Package versions provides SemVer-aware version parsing, comparison, range evaluation, and CVE 5.1 affected/unaffected status determination.
Package vex is the read side of VEX: consuming statements this CLI did not write.
Package vex is the read side of VEX: consuming statements this CLI did not write.

Jump to

Keyboard shortcuts

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