checkId: check.binaryanalysis.buildinfo.cache plugin: stellaops.doctor.binaryanalysis severity: warn tags: [binaryanalysis, buildinfo, debian, cache, security]

Debian Buildinfo Cache

This Stella Ops Doctor check verifies that the binary-analysis subsystem can reach Debian buildinfo services and has a writable local cache for reproducible-build verification. It is part of the binary-analysis diagnostics surfaced by stella doctor; see the Doctor overview for how checks are run and reported.

What It Checks

Verifies Debian buildinfo service accessibility and local cache directory configuration. The check:

Why It Matters

Buildinfo files from Debian are used for reproducible-build verification. Without access to buildinfo services or a local cache, binary analysis cannot verify whether packages were built reproducibly, degrading supply-chain assurance for Debian-based container images.

Common Causes

How to Fix

Docker Compose

environment:
  BinaryAnalysis__BuildinfoCache__Directory: "/var/cache/stella/buildinfo"
volumes:
  - buildinfo-cache:/var/cache/stella/buildinfo

Test connectivity:

docker exec <binaryindex-container> curl -I https://buildinfos.debian.net

Bare Metal / systemd

# Create cache directory
sudo mkdir -p /var/cache/stella/buildinfo
sudo chmod 755 /var/cache/stella/buildinfo

# Test connectivity
curl -I https://buildinfos.debian.net

# If behind a proxy
export HTTPS_PROXY=http://proxy.example.com:8080

Kubernetes / Helm

binaryAnalysis:
  buildinfo:
    cacheDirectory: "/var/cache/stella/buildinfo"
    persistence:
      enabled: true
      size: 5Gi

For air-gapped environments, pre-populate the buildinfo cache with required files or disable this check.

Verification

stella doctor run --check check.binaryanalysis.buildinfo.cache