checkId: check.binaryanalysis.ddeb.enabled plugin: stellaops.doctor.binaryanalysis severity: warn tags: [binaryanalysis, ddeb, ubuntu, symbols, security]

Ubuntu Ddeb Repository

This Stella Ops Doctor check verifies that the Ubuntu debug symbol repository (ddebs.ubuntu.com) is configured and reachable so binary analysis can recover symbols for Ubuntu-based images. 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 the Ubuntu debug symbol repository (ddebs.ubuntu.com) is configured and accessible. The check (Linux only):

Why It Matters

The Ubuntu ddeb repository provides debug symbol packages (-dbgsym) needed for binary analysis of Ubuntu-based container images. Without debug symbols, binary matching accuracy is significantly reduced, weakening vulnerability detection for Ubuntu workloads.

Common Causes

How to Fix

Docker Compose

Add the ddeb repository inside the binary analysis container:

docker exec <binaryindex-container> bash -c \
  'echo "deb http://ddebs.ubuntu.com $(lsb_release -cs) main restricted universe multiverse" > /etc/apt/sources.list.d/ddebs.list'
docker exec <binaryindex-container> apt-key adv --keyserver keyserver.ubuntu.com \
  --recv-keys F2EDC64DC5AEE1F6B9C621F0C8CAB6595FDFF622
docker exec <binaryindex-container> apt update

Bare Metal / systemd

echo "deb http://ddebs.ubuntu.com $(lsb_release -cs) main restricted universe multiverse" \
  | sudo tee /etc/apt/sources.list.d/ddebs.list
sudo apt-key adv --keyserver keyserver.ubuntu.com \
  --recv-keys F2EDC64DC5AEE1F6B9C621F0C8CAB6595FDFF622
sudo apt update

Kubernetes / Helm

Include the ddeb repository in your container image’s Dockerfile or use an init container to configure it at startup.

For air-gapped environments, set up a local ddeb mirror or use offline symbol packages.

Verification

stella doctor run --check check.binaryanalysis.ddeb.enabled