vedette

package module
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Vedette

Know early. Know exactly. Know what to do.

Vedette is free, open-source software for a small or mid-size office. It runs on one machine on your network and tells you, within an hour, when software or a device you own is on a list of vulnerabilities being exploited in the wild: which device, where it is exposed, and what to do about it.

CI Releases

The home page, with the made-up sample data of a trial build.

What it does

  • Watches what attackers are using now. The CISA list of known exploited vulnerabilities is checked every hour, with FIRST EPSS, CVE.org and NVD for detail; VulnCheck's list can be added. Each feed is fetched straight from its source.
  • Knows what you have. Devices are found by listening on the network and by scanning it, or added by hand and by import, with vendor, model, version and open services. Nothing is installed on staff computers.
  • Matches the two, and shows how sure it is. A finding says whether the version is confirmed (the device reports it) or only suspected (read from a service banner), and whether the device is reachable from the Internet.
  • Tells you what to do. Each finding starts with the update that fixes it. For a growing set of exploited CVEs it adds a checked workaround, a ready firewall rule to cut off access (FortiGate, MikroTik or generic) and how to tell whether you have already been hit.
  • Tells the right people. Alerts by email, Slack, Telegram, Zalo or webhook, only for devices you have.
  • Sees your outside. Your public IP and the domains you verify are scanned the way an attacker would see them (subdomains, open ports and services, known flaws; with nmap, nuclei, ZAP and, if you turn it on, OpenVAS).
  • In preview (off by default, turn on under Settings › Modules): vulnerability scans of your internal devices; internal traps (a honeypot that raises an alert when touched); a log receiver that flags connections to known-bad addresses and your firewall's intrusion alerts; an AI assistant with your own provider and key; reports.

What it does not do: it does not sit in the network path, block traffic or replace your firewall, and it does not find every vulnerability. It watches and warns; the change is yours to make.

Quick start

You need a fresh machine (a small PC, server or VM) with Ubuntu 26.04 (Ubuntu 24.04 and Debian 13 install too), amd64 or arm64, 4 GB of memory (8 GB recommended), 6 GB free under /var, a wired network port, and free ports 8443, 8444, 8765, 514 and 6514.

1. Install. Take install.sh from the newest release and run it as root:

VERSION=0.1.5    # the newest release on the Releases page
curl -fsSLO https://github.com/KNT048/vedette/releases/download/v$VERSION/install.sh
sudo sh install.sh

2. Open the address it prints, https://<address of the machine>:8443. The certificate is self-signed: accept it once.

3. Follow the setup wizard: terms of use, your administrator account (with the one-time setup code the installer printed), your network range, and the modules to turn on. A few minutes later Vedette is watching.

Check the installer's signature before you run it

Every release file is signed with minisign. Download the signature next to install.sh and check it against the release key (key ID 7B78764E550D48D0, also in docs/RELEASE_KEYS.md):

curl -fsSLO https://github.com/KNT048/vedette/releases/download/v$VERSION/install.sh.minisig
minisign -Vm install.sh -P RWTQSA1VTnZ4e4eM2iBmUKE1/t5l9pmrScK2+wR/EohjSfFEZQ8VwT/m

It must print Trusted comment: file:install.sh version:<VERSION>. The script itself carries the checksum of the package it installs, and the container images are checked against signing keys built into Vedette before anything starts.

What the installer changes, and how to remove it

It checks the machine first and stops, changing nothing, if something is missing. Then it installs only the packages Vedette needs that are not there yet (Podman, chrony, nftables and a few others; nothing already installed is upgraded), installs the signed vedette-host package of that release, pulls the signed container images by digest and starts Vedette. It does not change your network settings.

Keep install.sh. Run it again to repair an install or to finish one that stopped half way. To remove Vedette and put the machine back as it was (this deletes Vedette's data and cannot be undone; --keep-data keeps it):

sudo sh install.sh --uninstall --yes

Every option and the checks after an install: docs/RUNBOOK.md, section 1.

Small machine, or you would rather set it up yourself on Docker or Podman? Install the containers only (some features need the full install).

Status

Vedette is in beta. The 0.1.x releases are test releases for a lab or a spare machine, published on the beta channel; version 1.0 is on its way. A machine installed from a 0.1.x release updates in place from Settings › Updates: every release is signed, and you can roll back to the previous version with one click.

What leaves your machine

Your devices, findings, logs and keys stay on the machine. The only data that goes out is listed in PRIVACY.md, and the app shows the same list under Settings › Privacy, with a switch for each flow that can be turned off. Nothing is sent to the Vedette project: it runs no server that could receive it.

Documentation

Cookbook Step-by-step guides for everyday tasks
Operations runbook Install, update, roll back, back up, troubleshoot
Container-only install Vedette on your own Docker or Podman
Product · Architecture · Deployment How Vedette is designed and built
Contributing Run it from source, tests, pull requests
Security policy Report a vulnerability in Vedette privately
Privacy · Terms of use · Third-party notices What leaves the machine, your responsibilities, the licenses of what Vedette uses

License

Vedette's own code is licensed under Apache-2.0; third-party components keep their own licenses (THIRD_PARTY_NOTICES.md). It is provided as is, without warranty. Vedette is a security testing tool: scan only systems you own or are authorized to test (TERMS.md).

Vedette (French): a mounted sentry posted ahead of an outpost to raise the alarm early. It watches and warns; it does not fight.

Documentation

Overview

Package vedette holds TERMS.md, the terms of use the first-run setup and the first-run restore ask the operator to accept. TERMS.md is the one source: the web interface shows the same file, and this package gives core its version.

Index

Constants

This section is empty.

Variables

View Source
var TermsVersion = sync.OnceValue(func() string {
	sum := sha256.Sum256([]byte(terms))
	date := "undated"
	if m := termsDate.FindStringSubmatch(terms); m != nil {
		date = m[1]
	}
	return date + "." + hex.EncodeToString(sum[:4])
})

TermsVersion is the version of TERMS.md stored with an acceptance: the date of its "Version:" line and the first 8 hex digits of the file's SHA-256 (for example 2026-11-14.3f2a9c1b), so a change to the text is a new version even when the date line was not bumped.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
cmd
vedette command
Command vedette is the box's main process: the core API, the module registry and the job scheduler.
Command vedette is the box's main process: the core API, the module registry and the job scheduler.
vedette-host command
Command vedette-host is the small root helper on the appliance host: OS updates, box network, signed image pulls, container start and rollback, backups.
Command vedette-host is the small root helper on the appliance host: OS updates, box network, signed image pulls, container start and rollback, backups.
vedette-sensor command
Command vedette-sensor is the binary of the sensor and scan containers on the appliance.
Command vedette-sensor is the binary of the sensor and scan containers on the appliance.
content
adminpages
Package adminpages is the one table of admin and VPN pages Vedette recognises on the Internet (S-EXP-1): the network appliances that are attacked first (firewalls, VPN gateways, routers), and the admin pages of storage, servers and tools.
Package adminpages is the one table of admin and VPN pages Vedette recognises on the Internet (S-EXP-1): the network appliances that are attacked first (firewalls, VPN gateways, routers), and the admin pages of storage, servers and tools.
catalog
Package catalogdata embeds the data files of the product catalog, which the web interface imports too: ONE data source for both sides (INV-12: knowledge about products is data, not code).
Package catalogdata embeds the data files of the product catalog, which the web interface imports too: ONE data source for both sides (INV-12: knowledge about products is data, not code).
devicetypes
Package devicetypes is the one list of device types: 14 categories for people and the types under them, each acting as one of the 13 kinds Vedette had before (the kinds behaviour is keyed on: fragile defaults, never-touch gateways, honeypot, SSH candidates, PDPL, response rules).
Package devicetypes is the one list of device types: 14 categories for people and the types under them, each acting as one of the 13 kinds Vedette had before (the kinds behaviour is keyed on: fragile defaults, never-touch gateways, honeypot, SSH candidates, PDPL, response rules).
logs
Package logsdata embeds the data of the logs module that the web interface reads too: the 48 log source kinds, the protocols each can send with (first is the default) and whether Vedette reads it ("parsed") or only stores and searches it ("stored").
Package logsdata embeds the data of the logs module that the web interface reads too: the 48 log source kinds, the protocols each can send with (first is the default) and whether Vedette reads it ("parsed") or only stores and searches it ("stored").
nucleipack
Package nucleipack is the index of the safe nuclei template pack baked into the scan-base image, committed so core plans jobs against the same pack: core picks the templates of a device's CVEs from it and names the pack's version and sha256 in every job, and the worker refuses a job planned for another pack.
Package nucleipack is the index of the safe nuclei template pack baked into the scan-base image, committed so core plans jobs against the same pack: core picks the templates of a device's CVEs from it and names the pack's version and sha256 in every job, and the worker refuses a job planned for another pack.
oui
Package oui maps the first bits of a MAC address to the company the IEEE registered them to.
Package oui maps the first bits of a MAC address to the company the IEEE registered them to.
signals
Package signaldata embeds the release's seed of exploitation claims (seed.json): the claims Vedette's own decoders read from the sources that keep no history (the blogs' feeds hold their last 20 or so posts, Cisco's and Fortinet's advisory feeds about 7 weeks, Android's pages are read for two months), so a box installed later is not blind to claims made before it existed.
Package signaldata embeds the release's seed of exploitation claims (seed.json): the claims Vedette's own decoders read from the sources that keep no history (the blogs' feeds hold their last 20 or so posts, Cisco's and Fortinet's advisory feeds about 7 weeks, Android's pages are read for two months), so a box installed later is not blind to claims made before it existed.
snmp
Package snmpdata embeds what an SNMP agent's sysObjectID says about the device: the vendor of an IANA Private Enterprise Number, the product family of a documented sub-tree, and the device kind where that is clear.
Package snmpdata embeds what an SNMP agent's sysObjectID says about the device: the vendor of an IANA Private Enterprise Number, the product family of a documented sub-tree, and the device kind where that is clear.
wordlist
Package wordlist is the short list of common names a domain scan tries under a verified domain (exposure INV-27): the names attackers try first (vpn, mail, remote, owa…) that a certificate log does not show.
Package wordlist is the short list of common names a domain scan tries under a verified domain (exposure INV-27): the names attackers try first (vpn, mail, remote, owa…) that a certificate log does not show.
zap
Package zapdata embeds Vedette's rule list for ZAP's baseline scan (exposure INV-24): ONE file that the host hands to ZAP with -c and that exposure applies itself when it reads a report, so both agree on what is noise, hardening or "fix this".
Package zapdata embeds Vedette's rule list for ZAP's baseline scan (exposure INV-24): ONE file that the host hands to ZAP with -c and that exposure applies itself when it reads a report, so both agree on what is noise, hardening or "fix this".
core
api
Package api holds the server side generated from api/openapi.json.
Package api holds the server side generated from api/openapi.json.
api/apigen command
Command apigen prepares api/openapi.json for ogen and writes the role table.
Command apigen prepares api/openapi.json for ogen and writes the role table.
api/apijson
Package apijson turns a module's own value into a generated API type through its JSON form, the one way handlers that keep their own structs answer: the generated decoder rejects anything that does not fit the OpenAPI schema, so a drift fails loudly.
Package apijson turns a module's own value into a generated API type through its JSON form, the one way handlers that keep their own structs answer: the generated decoder rejects anything that does not fit the OpenAPI schema, so a drift fails loudly.
api/routes
Package routes maps every operationId of the contract to its method, path, minimum role and module.
Package routes maps every operationId of the contract to its method, path, minimum role and module.
apierr
Package apierr is the one way to build an API error (docs/API_CONVENTIONS.md section 3.1).
Package apierr is the one way to build an API error (docs/API_CONVENTIONS.md section 3.1).
apkver
Package apkver reads and orders Alpine package releases: apk's version format, "10.2_p1-r1" = upstream 10.2p1 (the _p1 suffix), Alpine's package revision 1.
Package apkver reads and orders Alpine package releases: apk's version format, "10.2_p1-r1" = upstream 10.2p1 (the _p1 suffix), Alpine's package revision 1.
audit
Package audit appends to and verifies core_audit, the hash-chained audit log (docs/DATA_MODEL.md section 5.3, core CONTRACT INV-2, POST-3).
Package audit appends to and verifies core_audit, the hash-chained audit log (docs/DATA_MODEL.md section 5.3, core CONTRACT INV-2, POST-3).
auth
Package auth is the sign-in library of the core module: argon2id passwords, cookie sessions with CSRF tokens (implementing server.Authenticator), TOTP and email two-step codes, the login rate limit, the Login flow of core INV-8 and the user and two-step rules of INV-7.
Package auth is the sign-in library of the core module: argon2id passwords, cookie sessions with CSRF tokens (implementing server.Authenticator), TOTP and email two-step codes, the login rate limit, the Login flow of core INV-8 and the user and two-step rules of INV-7.
auth/authtest
Package authtest builds a ready auth.Service for tests: a migrated SQLite database, a fake clock, a fake code mailer and cheap argon2 parameters.
Package authtest builds a ready auth.Service for tests: a migrated SQLite database, a fake clock, a fake code mailer and cheap argon2 parameters.
chain
Package chain implements the tamper-evident hash chains shared by core_audit, ai_activity and resp_log.
Package chain implements the tamper-evident hash chains shared by core_audit, ai_activity and resp_log.
chain/chainhead
Package chainhead reads and moves the recorded head of a hash chain (core_chain_head, issue #17).
Package chainhead reads and moves the recorded head of a hash chain (core_chain_head, issue #17).
conn
Package conn is the store of connections to devices and services: HTTP APIs, SSH, RESTCONF, automation platforms and MCP servers that response actions and, later, the AI reach.
Package conn is the store of connections to devices and services: HTTP APIs, SSH, RESTCONF, automation platforms and MCP servers that response actions and, later, the AI reach.
conn/cliban
Package cliban is the list of command lines that a step which must only read may not hold, and that no template may hold at all (the list is data, cli-ban.json, never Go literals).
Package cliban is the list of command lines that a step which must only read may not hold, and that no template may hold at all (the list is data, cli-ban.json, never Go literals).
conn/conntest
Package conntest holds the fakes that the tests of core/conn, modules/core and cmd/vedette connect to: an HTTPS server, an SSH server and an MCP server, in process, on 127.0.0.1.
Package conntest holds the fakes that the tests of core/conn, modules/core and cmd/vedette connect to: an HTTPS server, an SSH server and an MCP server, in process, on 127.0.0.1.
conn/internal/cred
Package cred is the one place that names the secret purpose of a connection credential, seals it and decrypts it.
Package cred is the one place that names the secret purpose of a connection credential, seals it and decrypts it.
conn/internal/transport
Package transport opens the connections of core/conn to devices and services: HTTPS, SSH and MCP over streamable HTTP.
Package transport opens the connections of core/conn to devices and services: HTTPS, SSH and MCP over streamable HTTP.
conn/read
Package read is the only way the AI reaches a device through a connection (core INV-23, ai INV-14): the read tools of a connection, listed and called.
Package read is the only way the AI reaches a device through a connection (core INV-23, ai INV-14): the read tools of a connection, listed and called.
conn/write
Package write is the only path by which Vedette changes a device through a connection (response FORBID-1): one step of an approved response action, sent over the transport of the connection's kind.
Package write is the only path by which Vedette changes a device through a connection (response FORBID-1): one step of an approved response action, sent over the transport of the connection's kind.
debver
Package debver compares Debian package versions ("1:9.6p1-3ubuntu13.5") the way dpkg does: Debian Policy §5.6.12, https://www.debian.org/doc/debian-policy/ch-controlfields.html#version .
Package debver compares Debian package versions ("1:9.6p1-3ubuntu13.5") the way dpkg does: Debian Policy §5.6.12, https://www.debian.org/doc/debian-policy/ch-controlfields.html#version .
domainfence
Package domainfence is the executors' half of the domain fence: the check the scan container's worker (nmap, nuclei) and vedette-host (ZAP, OpenVAS) make on their own, right before a tool starts on a public address that is not the box's own egress, because a name under a verified domain resolves to it.
Package domainfence is the executors' half of the domain fence: the check the scan container's worker (nmap, nuclei) and vedette-host (ZAP, OpenVAS) make on their own, right before a tool starts on a public address that is not the box's own egress, because a name under a verified domain resolves to it.
domainfence/proofat
Package proofat is the one bound of where a domain's ownership record may sit: on the domain itself or on a parent name of it down to its registered domain, the name one label below the longest public suffix of the Public Suffix List with both its sections (ICANN's com and co.uk, and the private ddns.net, github.io, s3.amazonaws.com).
Package proofat is the one bound of where a domain's ownership record may sit: on the domain itself or on a parent name of it down to its registered domain, the name one label below the longest public suffix of the Public Suffix List with both its sections (ICANN's com and co.uk, and the private ddns.net, github.io, s3.amazonaws.com).
egressip
Package egressip asks three public "what is my IP" services which address the box leaves the Internet through, and says which IPv4 addresses are public.
Package egressip asks three public "what is my IP" services which address the box leaves the Internet through, and says which IPv4 addresses are public.
events
Package events is the in-process event bus modules use to tell each other that something happened (feeds.source.fetched, findings.finding.created, core.module.enabled, ...).
Package events is the in-process event bus modules use to tell each other that something happened (feeds.source.fetched, findings.finding.created, core.module.enabled, ...).
exec
Package exec is the only place Vedette starts external processes (SYS-1, core PRE-4/POST-4).
Package exec is the only place Vedette starts external processes (SYS-1, core PRE-4/POST-4).
exec/exectest
Package exectest helps tests that run fake programs (a fake nmap, apt, systemctl…) through core/exec.
Package exectest helps tests that run fake programs (a fake nmap, apt, systemctl…) through core/exec.
jobs
Package jobs is the in-process job scheduler (docs/ARCHITECTURE.md section 4, core IMPACT "jobs").
Package jobs is the in-process job scheduler (docs/ARCHITECTURE.md section 4, core IMPACT "jobs").
lifecycle
Package lifecycle keeps what other modules hold about a device consistent with the inventory, in the inventory's own write transaction.
Package lifecycle keeps what other modules hold about a device consistent with the inventory, in the inventory's own write transaction.
localnet
Package localnet says which IPv4 addresses can belong to a customer's own network, the networks Vedette may watch and scan (setup, Settings › Scanning › Safety, nmap and nuclei targets, the LAN device of a logged connection): the private ranges of RFC 1918 (10/8, 172.16/12, 192.168/16) and the shared address space of RFC 6598 (100.64.0.0/10: carrier-grade NAT inside an ISP or a company network, Tailscale).
Package localnet says which IPv4 addresses can belong to a customer's own network, the networks Vedette may watch and scan (setup, Settings › Scanning › Safety, nmap and nuclei targets, the LAN device of a logged connection): the private ranges of RFC 1918 (10/8, 172.16/12, 192.168/16) and the shared address space of RFC 6598 (100.64.0.0/10: carrier-grade NAT inside an ISP or a company network, Tailscale).
logexport
Package logexport builds the file of GET /core/logs/export (S-CORE-6, core INV-13): the log categories of the box in one JSON or CSV download.
Package logexport builds the file of GET /core/logs/export (S-CORE-6, core INV-13): the log categories of the box in one JSON or CSV download.
modreg
Package modreg is the module registry: which modules exist (MANIFEST.yaml), which are on (core_module), and the rules for turning them on and off (core CONTRACT INV-1, INV-3, INV-4).
Package modreg is the module registry: which modules exist (MANIFEST.yaml), which are on (core_module), and the rules for turning them on and off (core CONTRACT INV-1, INV-3, INV-4).
netguard
Package netguard holds the address facts every outbound guard of Vedette shares (a webhook, a feed, a SIEM forward, an AI provider): the cloud instance-metadata endpoints that are not link-local, the metadata service's names, and the IPv4 address an IPv6 transition form carries (NAT64, 6to4, IPv4-compatible), so that a guard judges both.
Package netguard holds the address facts every outbound guard of Vedette shares (a webhook, a feed, a SIEM forward, an AI provider): the cloud instance-metadata endpoints that are not link-local, the metadata service's names, and the IPv4 address an IPv6 transition form carries (NAT64, 6to4, IPv4-compatible), so that a guard judges both.
observe
Package observe is the narrow interface through which sensors and agents (sensor-passive, sensor-active, agent-intake, scan) report what they saw about devices to the inventory without importing it (modules talk through interfaces in core/).
Package observe is the narrow interface through which sensors and agents (sensor-passive, sensor-active, agent-intake, scan) report what they saw about devices to the inventory without importing it (modules talk through interfaces in core/).
orgtime
Package orgtime writes times for people: every date and time a page, an alert, an email or an AI fact shows is in the organization's time zone (Settings › General), the zone the web uses too, so one moment reads as the same day everywhere.
Package orgtime writes times for people: every date and time a page, an alert, an email or an AI fact shows is in the organization's time zone (Settings › General), the zone the web uses too, so one moment reads as the same day everywhere.
pdftext
Package pdftext reads the text of a PDF in a child process with limits (issue #324).
Package pdftext reads the text of a PDF in a child process with limits (issue #324).
pdftext/pdftexttest
Package pdftexttest lets the tests of any package that calls pdftext.PDFText (the AI knowledge base, say) run a real PDF child.
Package pdftexttest lets the tests of any package that calls pdftext.PDFText (the AI knowledge base, say) run a real PDF child.
pdftext/pdftexttest/child command
Command child is the PDF reader child for tests (pdftexttest.BuildChild builds it without the race detector, which reserves more address space than RLIMIT_AS allows).
Command child is the PDF reader child for tests (pdftexttest.BuildChild builds it without the race detector, which reserves more address space than RLIMIT_AS allows).
pkgrel
Package pkgrel says whether two readings of a software's release are the same release written with more or less detail: a scan banner's "10.2", an upstream "10.2p1", Alpine's "10.2_p1-r1", Debian's "1:10.2p1-2ubuntu3.8", RPM's "8.7p1-38.el9".
Package pkgrel says whether two readings of a software's release are the same release written with more or less detail: a scan banner's "10.2", an upstream "10.2p1", Alpine's "10.2_p1-r1", Debian's "1:10.2p1-2ubuntu3.8", RPM's "8.7p1-38.el9".
pki
Package pki is the small certificate authority core runs for its own sensors: an ECDSA P-256 CA, the server leaf of the sensor listener, the 7-day client leaves of the two sensor roles, the table of live serials, renewal at a third of the lifetime left, and the writer that hands a role its bundle through a volume.
Package pki is the small certificate authority core runs for its own sensors: an ECDSA P-256 CA, the server leaf of the sensor listener, the 7-day client leaves of the two sensor roles, the table of live serials, renewal at a third of the lifetime left, and the writer that hands a role its bundle through a volume.
productid
Package productid is the one product identity of Vedette.
Package productid is the one product identity of Vedette.
progress
Package progress is the one shape of "how far is it" for the long jobs a customer waits on (#830): a scan of a device, the scan of a public IP, its OpenVAS step.
Package progress is the one shape of "how far is it" for the long jobs a customer waits on (#830): a scan of a device, the scan of a public IP, its OpenVAS step.
run
Package run is the one model of every piece of scanning work a person can see: a LAN sweep, a device check, an SNMP read, the vulnerability checks, an exposure scan and its engine steps.
Package run is the one model of every piece of scanning work a person can see: a LAN sweep, a device check, an SNMP read, the vulnerability checks, an exposure scan and its engine steps.
schedule
Package schedule is the one model of every schedule a person can set: an exposure target's scans, the vulnerability checks, the LAN sweep, a report, a feed source's refresh, public IP detection, the Wazuh pull.
Package schedule is the one model of every schedule a person can set: an exposure target's scans, the vulnerability checks, the LAN sweep, a report, a feed source's refresh, public IP detection, the Wazuh pull.
secrets
Package secrets stores secrets that Vedette must read back (API keys, SMTP passwords, TOTP keys, ...) encrypted with AES-256-GCM in core_secret (docs/DATA_MODEL.md section 5.4).
Package secrets stores secrets that Vedette must read back (API keys, SMTP passwords, TOTP keys, ...) encrypted with AES-256-GCM in core_secret (docs/DATA_MODEL.md section 5.4).
selfcheck
Package selfcheck is the registry of data invariants and the runner behind `vedette selfcheck`.
Package selfcheck is the registry of data invariants and the runner behind `vedette selfcheck`.
sensorlink
Package sensorlink is the wire between core and the sensor containers (docs/specs/sensor-protocol.md): an HTTPS and JSON server for core's second listener (:8444) and the client vedette-sensor uses.
Package sensorlink is the wire between core and the sensor containers (docs/specs/sensor-protocol.md): an HTTPS and JSON server for core's second listener (:8444) and the client vedette-sensor uses.
sensorlink/linktest
Package linktest runs the sensor link the way production does, for tests of the modules on either end: a real core/pki authority with an ephemeral CA, a sensorlink.Server over TLS 1.3 with mutual authentication (httptest), and credentials bundles written to disk for each role so a real sensorlink.Client connects.
Package linktest runs the sensor link the way production does, for tests of the modules on either end: a real core/pki authority with an ephemeral CA, a sensorlink.Server over TLS 1.3 with mutual authentication (httptest), and credentials bundles written to disk for each role so a real sensorlink.Client connects.
server
Package server builds the http.Handler of /api/v1: panic recovery, request id, security headers, Origin check, body cap, then the route table of the contract drives module gating, authentication, role checks and CSRF before the request reaches the generated ogen server.
Package server builds the http.Handler of /api/v1: panic recovery, request id, security headers, Origin check, body cap, then the route table of the contract drives module gating, authentication, role checks and CSRF before the request reaches the generated ogen server.
server/servertest
Package servertest holds fakes for tests of code behind core/server: an Authenticator that needs no database and a module gate backed by a map.
Package servertest holds fakes for tests of code behind core/server: an Authenticator that needs no database and a module gate backed by a map.
store
Package store opens the SQLite database (WAL, one writer plus a reader pool), runs module migrations and provides the transaction helper every write goes through (docs/DATA_MODEL.md section 6 and 7).
Package store opens the SQLite database (WAL, one writer plus a reader pool), runs module migrations and provides the transaction helper every write goes through (docs/DATA_MODEL.md section 6 and 7).
store/storetest
Package storetest holds helpers for module tests: a real SQLite database in a temp dir and the migration rules of docs/DATA_MODEL.md section 6.
Package storetest holds helpers for module tests: a real SQLite database in a temp dir and the migration rules of docs/DATA_MODEL.md section 6.
versionscheme
Package versionscheme reads the notations vendors write their releases in, and compares two versions only where the notation says they can be compared.
Package versionscheme reads the notations vendors write their releases in, and compares two versions only where the notation says they can be compared.
winrel
Package winrel is the table of Windows 10, 11 and Server (2016 and later) releases: the build a machine reports ("10.0.22631"), the name NVD's configurations give the release ("windows_11_23h2", with ranges that end at the patched build, "< 10.0.22631.5189"), its general availability and the releases that take the same monthly update.
Package winrel is the table of Windows 10, 11 and Server (2016 and later) releases: the build a machine reports ("10.0.22631"), the name NVD's configurations give the release ("windows_11_23h2", with ranges that end at the patched build, "< 10.0.22631.5189"), its general availability and the releases that take the same monthly update.
host
api
Package api holds the wire types of the vedette-host socket API (docs/specs/host-api.md), shared by host/server and host/client so the two cannot drift apart.
Package api holds the wire types of the vedette-host socket API (docs/specs/host-api.md), shared by host/server and host/client so the two cannot drift apart.
archive
Package archive is the format of a Vedette backup (docs/specs/host-api.md 6.11): one tar.gz (Go standard library) with fixed member names.
Package archive is the format of a Vedette backup (docs/specs/host-api.md 6.11): one tar.gz (Go standard library) with fixed member names.
client
Package client is how core talks to vedette-host over its unix socket (docs/specs/host-api.md).
Package client is how core talks to vedette-host over its unix socket (docs/specs/host-api.md).
config
Package config parses /etc/vedette/host.conf, the small file the installer writes for vedette-host (docs/specs/host-api.md section 3 and 13).
Package config parses /etc/vedette/host.conf, the small file the installer writes for vedette-host (docs/specs/host-api.md section 3 and 13).
ops
Package ops implements the system commands of vedette-host (docs/specs/host-api.md section 6) that the host delivers: os.check, os.install, os.auto_security.set, os.reboot, os.reboot.cancel, backup.create, backup.restore and logs.export, plus the read-only state endpoints that belong to them, and (part 3) net.apply, net.confirm, net.revert and the NTP sources, (slice 3-5) decoy_ip.add and decoy_ip.remove with the honeypot namespace, and (slice 3-6) the Quadlet units with container.start (the current image) and container.stop, and (slice 3-7) container.pull, which verifies a signed release itself before it pulls an image by digest, and (slice 3-8a) container.start with a version, container.rollback and the retention of images, and (slice 3-8b) the bootstrap that writes the first units (Bootstrap, run by vedette-host -bootstrap, never from the socket) and the way out of core_data_unrecoverable through backup.restore.
Package ops implements the system commands of vedette-host (docs/specs/host-api.md section 6) that the host delivers: os.check, os.install, os.auto_security.set, os.reboot, os.reboot.cancel, backup.create, backup.restore and logs.export, plus the read-only state endpoints that belong to them, and (part 3) net.apply, net.confirm, net.revert and the NTP sources, (slice 3-5) decoy_ip.add and decoy_ip.remove with the honeypot namespace, and (slice 3-6) the Quadlet units with container.start (the current image) and container.stop, and (slice 3-7) container.pull, which verifies a signed release itself before it pulls an image by digest, and (slice 3-8a) container.start with a version, container.rollback and the retention of images, and (slice 3-8b) the bootstrap that writes the first units (Bootstrap, run by vedette-host -bootstrap, never from the socket) and the way out of core_data_unrecoverable through backup.restore.
ops/opstest
Package opstest builds a fake machine for tests of host/ops, host/client and the host contract: a temporary root directory with the files the commands read (os-release, dpkg lock files, boot id, apt.conf.d, core's data directory with a database file and a key), and fake binaries, small shell scripts that record their argv and environment and print fixture files.
Package opstest builds a fake machine for tests of host/ops, host/client and the host contract: a temporary root directory with the files the commands read (os-release, dpkg lock files, boot id, apt.conf.d, core's data directory with a database file and a key), and fake binaries, small shell scripts that record their argv and environment and print fixture files.
peer
Package peer authenticates the process on the other end of the host socket (spec section 3).
Package peer authenticates the process on the other end of the host socket (spec section 3).
server
Package server is the vedette-host socket server: a unix-socket HTTP/1.1 JSON API with a closed command table, durable runs, one global write lock, a hash-chained audit log and per-connection peer authentication (docs/specs/host-api.md).
Package server is the vedette-host socket server: a unix-socket HTTP/1.1 JSON API with a closed command table, durable runs, one global write lock, a hash-chained audit log and per-connection peer authentication (docs/specs/host-api.md).
server/servertest
Package servertest starts a real host server on a temporary unix socket with an injected fake peer check, for tests of host/server, host/client and the host contract.
Package servertest starts a real host server on a temporary unix socket with an injected fake peer check, for tests of host/server, host/client and the host contract.
internal
httpenc
Package httpenc holds the Accept-Encoding parsing shared by the places that compress responses.
Package httpenc holds the Accept-Encoding parsing shared by the places that compress responses.
jsonstrict
Package jsonstrict holds the one strict-JSON rule shared by vedette-host and internal/release: an object may not repeat a key, may not have two keys that differ only by case (encoding/json matches field names case-insensitively, so a reader and the decoder would disagree on what such an object means), unknown fields are errors, and nothing may follow the value.
Package jsonstrict holds the one strict-JSON rule shared by vedette-host and internal/release: an object may not repeat a key, may not have two keys that differ only by case (encoding/json matches field names case-insensitively, so a reader and the decoder would disagree on what such an object means), unknown fields are errors, and nothing may follow the value.
release
Package release verifies what the box downloads before it acts on it: the release index, the release manifest, and the cosign signature of each container image.
Package release verifies what the box downloads before it acts on it: the release index, the release manifest, and the cosign signature of each container image.
release/releasetest
Package releasetest holds the throwaway signers that the tests of internal/release and of the release builder (scripts/release) share: a minisign signer (the prehashed "ED" format, what the minisign tool writes) and a cosign signer (ECDSA P-256 over SHA-256, ASN.1 DER, the legacy simple-signing format).
Package releasetest holds the throwaway signers that the tests of internal/release and of the release builder (scripts/release) share: a minisign signer (the prehashed "ED" format, what the minisign tool writes) and a cosign signer (ECDSA P-256 over SHA-256, ASN.1 DER, the legacy simple-signing format).
webui
Package webui serves the single-page interface from the core binary itself: same origin as /api/v1, no reverse proxy, no CDN.
Package webui serves the single-page interface from the core binary itself: same origin as /api/v1, no reverse proxy, no CDN.
Package modules embeds every module's MANIFEST.yaml so the binary can load them with core/modreg without reading the source tree at run time.
Package modules embeds every module's MANIFEST.yaml so the binary can load them with core/modreg without reading the source tree at run time.
agent-intake
Package agentintake is the agent-intake module: Vedette as the TLS server of osquery.
Package agentintake is the agent-intake module: Vedette as the TLS server of osquery.
ai
Package ai is the library behind the AI assistant module: provider profiles, per-job routing with fallback, the token meter, the hook runner, the read-only tool filter, prompt assembly and the hash-chained activity log.
Package ai is the library behind the AI assistant module: provider profiles, per-job routing with fallback, the token meter, the hook runner, the read-only tool filter, prompt assembly and the hash-chained activity log.
ai/provider
Package provider talks to LLM providers (Anthropic Messages, OpenAI Chat Completions, Google Gemini generateContent) behind one small interface.
Package provider talks to LLM providers (Anthropic Messages, OpenAI Chat Completions, Google Gemini generateContent) behind one small interface.
auth-oidc
Package authoidc is the auth-oidc module (S-CORE-3): sign-in through an OpenID Connect identity provider with the authorization code flow and PKCE.
Package authoidc is the auth-oidc module (S-CORE-3): sign-in through an OpenID Connect identity provider with the authorization code flow and PKCE.
core
Package core is the always-on core module: its migrations and contract tests.
Package core is the always-on core module: its migrations and contract tests.
exposure
Package exposure is the external-exposure module (S-EXP-1, modules/exposure/CONTRACT.md): it proves ownership of a domain (DNS TXT) or of the box's public IPs (found by the box itself through three public services), takes the commitment, and keeps the daily snapshots of what the Internet sees.
Package exposure is the external-exposure module (S-EXP-1, modules/exposure/CONTRACT.md): it proves ownership of a domain (DNS TXT) or of the box's public IPs (found by the box itself through three public services), takes the commitment, and keeps the daily snapshots of what the Internet sees.
feeds
Package feeds is the pure library behind the feeds module: parsing of untrusted feed data, boundary validation, the HTTP fetcher, scheduling rules and the IOC verdict.
Package feeds is the pure library behind the feeds module: parsing of untrusted feed data, boundary validation, the HTTP fetcher, scheduling rules and the IOC verdict.
findings
Package findings holds the pure logic of the findings module: CPE and version handling, matching KEV entries against an asset's software, and the finding lifecycle.
Package findings holds the pure logic of the findings module: CPE and version handling, matching KEV entries against an asset's software, and the finding lifecycle.
findings/findingstest
Package findingstest helps tests that store findings without the inventory module: fnd_finding and fnd_question have real foreign keys to inventory's device and software line tables, and such tests describe devices only through fake ports.
Package findingstest helps tests that store findings without the inventory module: fnd_finding and fnd_question have real foreign keys to inventory's device and software line tables, and such tests describe devices only through fake ports.
honeypot
Package honeypot is the honeypot module: decoy services (SMB, RDP, SSH, MSSQL, HTTP), decoy devices and honey tokens on a secondary IP of the box, and the hits they catch (S-HP-1, S-HP-2).
Package honeypot is the honeypot module: decoy services (SMB, RDP, SSH, MSSQL, HTTP), decoy devices and honey tokens on a secondary IP of the box, and the hits they catch (S-HP-1, S-HP-2).
ids
Package ids is the intrusion detection module: alerts of IPS and IDS events and their link to the vulnerabilities of the attacked device (S-IDS-1).
Package ids is the intrusion detection module: alerts of IPS and IDS events and their link to the vulnerabilities of the attacked device (S-IDS-1).
inventory
Package inventory is the inventory module: the list of devices and software on the network, declared by hand, imported from CSV, or fed by sensors and agents through core/observe, with a source and a confidence on every value (S-INV-1, 2, 3, 5).
Package inventory is the inventory module: the list of devices and software on the network, declared by hand, imported from CSV, or fed by sensors and agents through core/observe, with a source and a confidence on every value (S-INV-1, 2, 3, 5).
logs
Package logs receives, stores and searches the logs of the customer's devices.
Package logs receives, stores and searches the logs of the customer's devices.
logs/listen
Package listen receives syslog from the customer's devices over UDP and TCP and hands it to a Sink in batches.
Package listen receives syslog from the customer's devices over UDP and TCP and hands it to a Sink in batches.
logs/signature
Package signature turns a received log line into the short, stable text that the digest counts ("signature") and, where the device's format is known, the address it was aimed at.
Package signature turns a received log line into the short, stable text that the digest counts ("signature") and, where the device's format is known, the address it was aimed at.
mcp-server
Package mcpserver is the read-only MCP server of the box (S-MCP-1, modules/mcp-server/CONTRACT.md): external agents and SIEMs look up devices, findings and the vulnerability feeds with scoped, revocable tokens, over MCP's Streamable HTTP transport on a loopback address.
Package mcpserver is the read-only MCP server of the box (S-MCP-1, modules/mcp-server/CONTRACT.md): external agents and SIEMs look up devices, findings and the vulnerability feeds with scoped, revocable tokens, over MCP's Streamable HTTP transport on a loopback address.
mitigation
Package mitigation is the "What to do" part of a finding: confirmed packs loaded from a signed update, the "Applied" log, the compromise indicators and the AI explanation.
Package mitigation is the "What to do" part of a finding: confirmed packs loaded from a signed update, the "Applied" log, the compromise indicators and the AI explanation.
notify
Package notify is the library part of the notify module: delivery rules as pure functions (severity filter, quiet hours, grouping), the notice model, the send record and the email approval tokens.
Package notify is the library part of the notify module: delivery rules as pure functions (severity filter, quiet hours, grouping), the notice model, the send record and the email approval tokens.
notify/channel
Package channel holds the notification channel adapters of the notify module (Slack, Telegram, email over SMTP, Zalo OA, generic webhook, Zalo personal).
Package channel holds the notification channel adapters of the notify module (Slack, Telegram, email over SMTP, Zalo OA, generic webhook, Zalo personal).
reports
Package reports is the reports module (S-REP-1, S-REP-2, modules/reports/CONTRACT.md): the one-page weekly report, sent by email on a schedule through notify, and the personal-data-protection self-assessment under Law 91/2025/QH15 and Decree 356/2025/NĐ-CP.
Package reports is the reports module (S-REP-1, S-REP-2, modules/reports/CONTRACT.md): the one-page weekly report, sent by email on a schedule through notify, and the personal-data-protection self-assessment under Law 91/2025/QH15 and Decree 356/2025/NĐ-CP.
response
Package response is the response module: the execution switch, the action catalog, rules and the engine, requests and approvals in the app, the box actions (block list, message, webhook) and the hash-chained log.
Package response is the response module: the execution switch, the action catalog, rules and the engine, requests and approvals in the app, the box actions (block list, message, webhook) and the hash-chained log.
scan
Package scan is the vulnerability-scan module (S-SCAN-1..4, modules/scan/CONTRACT.md): it confirms exploited vulnerabilities with safe nuclei templates on devices inside the confirmed scope, inside the time window, at the rate and with the exclusions the admin set, and keeps the probe log.
Package scan is the vulnerability-scan module (S-SCAN-1..4, modules/scan/CONTRACT.md): it confirms exploited vulnerabilities with safe nuclei templates on devices inside the confirmed scope, inside the time window, at the rate and with the exclusions the admin set, and keeps the probe log.
scan/commonports
Package commonports is the fixed list of TCP ports Vedette always probes on the box's own public IP: the scan module's surface scan connects to each of them (and reads web titles and certificates there), and sensor-active's external nmap shape reads all of them in its first -sV batches, next to nmap's own most common ports its discovery probed (nmapargv.External).
Package commonports is the fixed list of TCP ports Vedette always probes on the box's own public IP: the scan module's surface scan connects to each of them (and reads web titles and certificates there), and sensor-active's external nmap shape reads all of them in its first -sV batches, next to nmap's own most common ports its discovery probed (nmapargv.External).
scan/nucleiargv
Package nucleiargv builds and checks the only nuclei command line Vedette ever runs.
Package nucleiargv builds and checks the only nuclei command line Vedette ever runs.
scan/nucleiout
Package nucleiout reads what the worker's nuclei run printed (-jsonl -ms) into results core can trust ( INV-8, INV-10).
Package nucleiout reads what the worker's nuclei run printed (-jsonl -ms) into results core can trust ( INV-8, INV-10).
scan/pack
Package pack reads the index of the safe nuclei template pack: the list of templates the signed scan image carries, built at release time with the pack.
Package pack reads the index of the safe nuclei template pack: the list of templates the signed scan image carries, built at release time with the pack.
scan/surface
Package surface is the external-surface scan of the scan module, the exposure.Runner behind "Scan now" of External exposure (S-EXP-1).
Package surface is the external-surface scan of the scan module, the exposure.Runner behind "Scan now" of External exposure (S-EXP-1).
sensor-active
Package sensoractive is the sensor-active module: active device discovery with nmap and read-only SNMP, only inside the customer's confirmed LAN scope, time window and speed limit (S-INV-1, S-SCAN-4).
Package sensoractive is the sensor-active module: active device discovery with nmap and read-only SNMP, only inside the customer's confirmed LAN scope, time window and speed limit (S-INV-1, S-SCAN-4).
sensor-active/internal/snmptest
Package snmptest is a fake SNMP agent on loopback for the tests of the worker and of core's SNMP round: no test sends a packet to a real device.
Package snmptest is a fake SNMP agent on loopback for the tests of the worker and of core's SNMP round: no test sends a packet to a real device.
sensor-active/nmapargv
Package nmapargv builds and checks the only eleven nmap command lines Vedette ever runs.
Package nmapargv builds and checks the only eleven nmap command lines Vedette ever runs.
sensor-active/worker
Package worker is the worker of the scan container (`vedette-sensor active`, sensor-protocol.md section 6.4).
Package worker is the worker of the scan container (`vedette-sensor active`, sensor-protocol.md section 6.4).
sensor-active/worker/workertest
Package workertest holds what tests of the worker and of the Dispatcher share for the nuclei job: a template pack on disk with its index, and a fake nuclei (a shell script run through the real core/exec).
Package workertest holds what tests of the worker and of the Dispatcher share for the nuclei job: a template pack on disk with its index, and a fake nuclei (a shell script run through the real core/exec).
sensor-passive
Package sensorpassive is the core half of the passive discovery module (S-INV-1, S-INV-3, S-LOG-4).
Package sensorpassive is the core half of the passive discovery module (S-INV-1, S-INV-3, S-LOG-4).
sensor-passive/capture
Package capture is the capture half of the passive discovery module: the part that runs in the sensor container (vedette-sensor passive).
Package capture is the capture half of the passive discovery module: the part that runs in the sensor container (vedette-sensor passive).
sensor-passive/internal/pktgen
Package pktgen builds small hand-made packets and recordings for the tests of sensor-passive.
Package pktgen builds small hand-made packets and recordings for the tests of sensor-passive.
scripts
ci command
Package main is the CI helper: `ci changes` decides which of the go and web jobs a pull request needs, `ci shard I N` prints the I-th of N stable, disjoint, complete package shards for `go test` (on a pull request only the shard's packages the change reaches).
Package main is the CI helper: `ci changes` decides which of the go and web jobs a pull request needs, `ci shard I N` prints the I-th of N stable, disjoint, complete package shards for `go test` (on a pull request only the shard's packages the change reaches).
dev/syslogpeer command
Command syslogpeer is the helper of `make syslog-ports-check` (scripts/dev/syslog-ports-check.sh): a listener that prints the address every UDP datagram and TCP connection came from, and a sender.
Command syslogpeer is the helper of `make syslog-ports-check` (scripts/dev/syslog-ports-check.sh): a listener that prints the address every UDP datagram and TCP connection came from, and a sender.
hostlicenses command
Command hostlicenses writes the third-party license file that the vedette-host .deb ships as /usr/share/doc/vedette-host/third-party-licenses: the Go license for the standard library and runtime that the static binary contains, then the license files of every module linked into ./cmd/vedette-host (the main module included), found with `go list -deps` in the module cache.
Command hostlicenses writes the third-party license file that the vedette-host .deb ships as /usr/share/doc/vedette-host/third-party-licenses: the Go license for the standard library and runtime that the static binary contains, then the license files of every module linked into ./cmd/vedette-host (the main module included), found with `go list -deps` in the module cache.
noticescheck command
Command noticescheck holds THIRD_PARTY_NOTICES.md to what the project ships.
Command noticescheck holds THIRD_PARTY_NOTICES.md to what the project ships.
oui command
Command oui builds content/oui/oui.tsv.gz, the table that turns the first bits of a MAC address into the name of the company the IEEE registered them to.
Command oui builds content/oui/oui.tsv.gz, the table that turns the first bits of a MAC address into the name of the company the IEEE registered them to.
release command
Command release is the release builder: it turns a release description, the built image digests, the cosign signatures and the previous release into the documents the box verifies (release-manifest.json, index.json), signs them with the pinned minisign tool, and verifies the result with the box-side verifier (internal/release) before anything is published.
Command release is the release builder: it turns a release description, the built image digests, the cosign signatures and the previous release into the documents the box verifies (release-manifest.json, index.json), signs them with the pinned minisign tool, and verifies the result with the box-side verifier (internal/release) before anything is published.
scanpack command
Command scanpack builds the safe nuclei template pack that the signed `scan` image carries: the templates of the KEV sets (tags kev, vkev) that are plain http, tcp or ssl checks for exactly one CVE, copied byte for byte, and the index (modules/scan/pack) that core reads to choose them and the worker reads to check them.
Command scanpack builds the safe nuclei template pack that the signed `scan` image carries: the templates of the KEV sets (tags kev, vkev) that are plain http, tcp or ssl checks for exactly one CVE, copied byte for byte, and the index (modules/scan/pack) that core reads to choose them and the worker reads to check them.
testchannel command
Command testchannel makes the TEST release that `make install-artifacts` hands to `install.sh --test-artifacts` .
Command testchannel makes the TEST release that `make install-artifacts` hands to `install.sh --test-artifacts` .
trivyignore command
Command trivyignore checks the committed exceptions of the vulnerability gate.
Command trivyignore checks the committed exceptions of the vulnerability gate.
weblicenses command
Command weblicenses writes the third-party license file of the web interface that the core image carries (Apache-2.0 4(a), MIT).
Command weblicenses writes the third-party license file of the web interface that the core image carries (Apache-2.0 4(a), MIT).

Jump to

Keyboard shortcuts

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