Borehole · Project · free tier
emissary-ingress/emissary
Free reading: not for reliance
6ce51ac · 18,695 commits · 1,296 files
Read 2026-10-23

emissary-ingress/emissary: technical due diligence, read from its repository

What Borehole read in emissary-ingress/emissary's code and history at 6ce51ac: its licence, security advisories, releases, review practice, tests, dependencies and operations. Every finding cites the file and line it rests on. The full report also covers the team and asks the questions the code cannot answer.

DimensionRating
Architecture & Codebase — including AI provenanceadequate
Engineering Process & SDLC Maturitystrong
Product & Engineering Maturitystrong
Security & Reliability Postureadequate
Observability & Operationsstrong
Fit with the Acquirernot assessable

What the repository says

  • README.md:28: names CNCF

Architecture & Codebase — including AI provenance

adequate
01.6

python/ambassador-diag/src/ambassador_diag/diagd.py is 2,346 lines, 19× this codebase's median file

adequate

The median source file here is 119 lines. 6 files exceed 1,190 lines, the largest being 2,346. Size is not a defect on its own — some problems genuinely live in one place — but these are where merge conflicts, review fatigue and single-owner knowledge concentrate, and they are the first thing that slows an inheriting engineer down.

Evidence
python/ambassador-diag/src/ambassador_diag/diagd.py:1 — 2,346 lines (19× median)
python/kat/src/kat/harness.py:1 — 1,809 lines (15× median)
python/ambassador/src/ambassador/envoy/v3/v3listener.py:1 — 1,308 lines (10× median)
python/ambassador/src/ambassador/utils.py:1 — 1,273 lines (10× median)
python/ambassador/src/ambassador/ir/ir.py:1 — 1,268 lines (10× median)
01.25

5 base images float: no version, or `latest`

adequate

5 of 7 `FROM` lines in product Dockerfiles name an image without a version, or with `latest`. Each build pulls whatever the registry serves that day, so the image that ships can change without a commit, and last month's build cannot be reproduced. Pin a version, or a digest.

Evidence
docker/apiext/Dockerfile:3 — base image without a version
docker/emissary/Dockerfile:90 — base image without a version
docker/kat-client/Dockerfile:3 — base image without a version

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

strong

No finding.

Security & Reliability Posture

adequate
05.1

9 credential-shaped strings in the tree sit in tests, examples, documentation or local development settings

adequate

Strings shaped like credentials appear only where fakes are usual: test fixtures, examples, documentation, placeholders and local stacks. They are almost always fakes. Ask someone to confirm that none of them works anywhere, because a real key in a development file is still a real key.

Evidence
5 cited: private key block, where fakes are usual
05.2

None of the standard security guard rails are configured

adequate

There is no disclosure policy, no automated dependency updates, no named code owners and no pre-commit configuration. None of these is load-bearing on its own. Their collective absence says that security posture here is whatever the current team happens to remember to do, which is not a posture that survives the team changing.

Evidence
checked 5 kinds of guard rail across 1,296 tracked files; 0 present
05.6

2 Dockerfiles run the application as root

adequate

No USER instruction switches away from root, so the process runs with full privileges inside the container. It is a one-line fix and an ordinary expectation, which is why its absence is worth asking about: it usually says more about whether anyone has reviewed the deployment than about this container specifically.

Evidence
docker/emissary/Dockerfile — runs as root
docker/kat-server/Dockerfile — runs as root
05.27

The build runs third-party code it does not pin

adequate

7 third-party CI actions are referenced by a tag or branch rather than a commit, so they run whatever that tag points to on the day; 2 steps pipe a download straight into a shell. Tags have been moved to malicious commits in real supply-chain attacks, and a piped script is whatever the server returns that minute. Pinning to a commit is the fix, and it is small.

Evidence
.github/workflows/build-images.yaml:113 — action pinned by tag
.github/workflows/build-images.yaml:119 — action pinned by tag
.github/workflows/deprecated/execute-tests-and-promote.yml:164 — download piped into a shell
05.13

5 outbound calls can wait forever

adequate

5 HTTP calls use a client with no timeout (Python `requests` without `timeout=`, or Go's default client). When a dependency slows down, each one holds a worker until the connection gives up, and enough of them take the service down with the dependency.

05.21

9 shell commands built from strings

adequate

9 places run a command through a shell (`shell=True`, `os.system`, `exec` with a template) rather than passing arguments. Where any part comes from outside, it is command injection. Ask where each one's input comes from.

Evidence
python/ambassador-diag/src/ambassador_diag/diagd.py:1764 — command run through a shell
python/kat/src/kat/harness.py:62 — command run through a shell
python/kat/src/kat/harness.py:68 — command run through a shell
05.26

2 locked dependencies have published vulnerabilities

adequate

2 of 175 locked dependencies match 6 published advisories in OSV. A lockfile says which version is installed, not whether the flawed code is reachable from this product, so each needs a look. Most are fixed by an upgrade, and the advisory names the version.

Evidence
go.mod — github.com/gorilla/websocket v1.5.1: GHSA-w67g-5rqw-f597 (moderate), fixed in 1.5.3
go.mod — k8s.io/kubernetes v1.30.3: GHSA-3wgm-2gw2-vh5m (moderate)

Observability & Operations

strong
06.9

No error reporter is wired in

adequate

Nothing in the service initialises an error reporter (Sentry, Rollbar, Bugsnag, Honeybadger or an APM agent). An exception in production reaches a person only if someone is reading the logs, which usually means a customer reports it first.

Evidence
no error reporter initialised
06.18

1 of 2 deployed images carry no version, or `latest`

adequate

1 images in the deployment configuration are named without a version or as `latest`. A redeploy can change the software without a commit, a rollback has nothing to roll back to, and nobody can say from the repository what is running.

Evidence
charts/emissary-ingress/values.yaml:23 — image without a version

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on emissary-ingress/emissary: every dimension, the questions for the room, and the audit log.

Survey a repository: free on public repositories. Private code is read on your own machine by a collector whose source you can read first.