
Collects local host evidence on Linux and Windows — OS, packages, kernel, services, ports, users and security settings — into a single integrity-hashed .openness file for offline vulnerability analysis.
openness-collector is the local endpoint evidence collector of OpenNess Vulnerability
Scanner. It reads the machine it runs on and writes one JSON evidence file (.openness)
with the operating system, packages, applications, updates, services, processes, listening
ports, users, security settings and the links between them.
OpenNess Vulnerability Scanner: github.com/s4e-io/openness
This repo: github.com/s4e-io/openness-collector
Website and desktop app: getopenness.com
Version: 0.10.1
Schema: 1.7.0
License: Apache License 2.0 (open source, developed and maintained by S4E)
The collector does not decide if something is vulnerable, does not match CVEs or OVAL,
and does not scan remote hosts. A separate tool,
openness-resolver, reads the .openness
file and finds the missing updates.
Development note: we use AI coding assistants while coding; the collector does not use AI at runtime. Project purpose and technical context for contributors: docs/PROMPTS.md.
openness-collector modules lists them)./proc, package databases or OS APIs..openness file.The goal is deterministic evidence: a later resolver should not need to guess missing
hops. If something is unknown, the field is null, missing, or marked with an explicit gap.
pip, npm, python -c, node -v, go version, ...). Windows language_deps is file/PE metadata only.Honest about what it does run: the collector uses the host's own OS tools for
inventory. Package managers are used only for read-only queries (dpkg-query,
rpm -qa / -qf), never apt-get / apt-cache. On Windows, almost all modules shell out
to powershell.exe.
| OS | Commands (read-only inventory) |
|---|---|
| Linux | dpkg-query, rpm, systemctl, uname, ip / ifconfig, ssh -V, sudo --version, ufw, firewall-cmd, nft, iptables, ctr / container runtime ps/inspect, sshd -T, readlink |
| Windows | powershell.exe (CIM, registry, WUA, services, PE metadata) |
APT candidate-style fields on packages come from parsing /var/lib/apt/lists (file mtime
update-success-stamp), never from apt-cache policy.Root / Administrator is recommended for full evidence. Go is only needed to build from source.
osqueryi is optional and not required; native modules are primary.
Each release has
openness-collector_<version>_<os>_<arch> binaries, SHA256SUMS and a keyless cosign
signature of it (SHA256SUMS.sig, SHA256SUMS.pem).
| OS / arch | Release asset |
|---|---|
| Linux amd64 | openness-collector_<version>_linux_amd64 |
| Linux arm64 | openness-collector_<version>_linux_arm64 |
| Windows amd64 | openness-collector_<version>_windows_amd64.exe |
| macOS Apple Silicon | openness-collector_<version>_darwin_arm64 (CLI helpers only, no native modules) |
gh release download -R s4e-io/openness-collector -p 'openness-collector_*_linux_amd64' -p 'SHA256SUMS*'
# check the binary against the published checksums
sha256sum -c --ignore-missing SHA256SUMS # macOS: shasum -a 256 -c --ignore-missing SHA256SUMS
# optional: prove the checksums come from this repo's release workflow
cosign verify-blob --certificate SHA256SUMS.pem --signature SHA256SUMS.sig \
--certificate-identity-regexp 'https://github.com/s4e-io/openness-collector/\.github/workflows/release\.yml@refs/tags/v.*' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com SHA256SUMS
install -m 0755 openness-collector_*_linux_amd64 /usr/local/bin/openness-collector
Every release also carries the same binaries without the version in the name, so a script
can always fetch the newest one (the SHA256SUMS of the release lists both names):
curl -fLO https://github.com/s4e-io/openness-collector/releases/latest/download/openness-collector_linux_amd64
curl -fLO https://github.com/s4e-io/openness-collector/releases/latest/download/SHA256SUMS
sha256sum -c --ignore-missing SHA256SUMS
On Windows (PowerShell), compare the hash by hand:
(Get-FileHash .\openness-collector_<version>_windows_amd64.exe -Algorithm SHA256).Hash.ToLower()
Select-String windows_amd64 .\SHA256SUMS
Needs Go (see go.mod for the version).
go install github.com/s4e-io/openness-collector/cmd/openness-collector@latest
git clone https://github.com/s4e-io/openness-collector
cd openness-collector
./scripts/build.sh # writes dist/openness-collector_<version>_<os>_<arch>
# or one target:
CGO_ENABLED=0 go build -o openness-collector ./cmd/openness-collector
More build, test and release notes: docs/DEVELOPMENT.md.
The examples assume the binary is on PATH as openness-collector.
sudo openness-collector collect --output ./host.openness
sudo openness-collector validate ./host.openness
sudo openness-collector inspect ./host.openness
sudo collect writes a root-owned file (mode 0640). Run validate and inspect with
the same user, or collect into your home directory without sudo (less evidence):
openness-collector collect --output "$HOME/host.openness"
openness-collector validate "$HOME/host.openness"
From an Administrator PowerShell:
.\openness-collector.exe collect --output .\host.openness
.\openness-collector.exe validate .\host.openness
mkdir -p out
# Apple Silicon -> linux_arm64; Intel/amd64 Docker host -> linux_amd64
docker run --rm \
-v "$(pwd)/openness-collector_<version>_linux_arm64:/openness-collector:ro" \
-v "$(pwd)/out:/out" \
ubuntu:22.04 \
/openness-collector collect --output /out/host.openness --module-timeout 180
To scan a container that is already running (here web), copy the binary in and the
evidence out:

Open-source XDR and SIEM platform for threat detection, log analysis, file integrity monitoring, vulnerability assessment, and compliance management across endpoints and cloud workloads.

Open-source network IDS/IPS/NSM engine for real-time traffic inspection, intrusion detection and prevention, protocol analysis, and rule-based threat hunting.

Zeek is a powerful network analysis framework that is much different from the typical IDS you may know.