SlackBuilds Repository

15.0 > Development > trivy (0.76.2)

Trivy is a security scanner that finds vulnerabilities,
misconfigurations, secret leaks, and license problems in container
images, filesystems, Git repositories, and dependency manifests.

Building requires google-go-lang (Go 1.27 or newer). The supplied vendor
archive allows offline compilation without downloading dependencies.
The built binary is static and needs no external library at runtime.

Trivy stores its downloaded data in the cache directory, ~/.cache/trivy
by default. The vulnerability and Java databases are OCI artifacts taken
from mirror.gcr.io and ghcr.io. Downloading them needs network access.
For offline use, run "trivy --download-db-only" on a connected machine
and copy the cache, or host the databases in your own registry.

The misconfiguration checks are embedded in the binary and are used
when the external checks bundle is unavailable, so configuration
scanning works without network access.

Scanning container images needs a running container engine. Trivy talks
to the Docker or Podman API through their sockets, so the socket path
can be set with the DOCKER_HOST environment variable.

Documentation: https://trivy.dev/latest/docs/

This requires: google-go-lang

Maintained by: Moletastic
Keywords: security,vulnerability,scanner,containers,sbom
ChangeLog: trivy

Homepage:
https://trivy.dev

Source Downloads:
trivy-0.76.2.tar.gz (152971e00b6d4d718afe2cd402b7305a)
trivy-0.76.2-vendor.tar.gz (375b1de56b5d905b9d834e349ea628e2)

Download SlackBuild:
trivy.tar.gz
trivy.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Individual Files:
• README
• slack-desc
• trivy.SlackBuild
• trivy.info

Validated for Slackware 15.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2026 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds