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.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | adequate |
| Engineering Process & SDLC Maturity | strong |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | strong |
| Fit with the Acquirer | not assessable |
What the repository says
README.md:28: names CNCF
Architecture & Codebase — including AI provenance
adequatepython/ambassador-diag/src/ambassador_diag/diagd.py is 2,346 lines, 19× this codebase's median file
adequateThe 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.
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) |
5 base images float: no version, or `latest`
adequate5 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.
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
strongNo finding.
Product & Engineering Maturity
strongNo finding.
Security & Reliability Posture
adequate9 credential-shaped strings in the tree sit in tests, examples, documentation or local development settings
adequateStrings 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.
| 5 cited: private key block, where fakes are usual |
None of the standard security guard rails are configured
adequateThere 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.
| checked 5 kinds of guard rail across 1,296 tracked files; 0 present |
2 Dockerfiles run the application as root
adequateNo 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.
docker/emissary/Dockerfile — runs as root |
docker/kat-server/Dockerfile — runs as root |
The build runs third-party code it does not pin
adequate7 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.
.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 |
5 outbound calls can wait forever
adequate5 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.
python/ambassador-diag/src/ambassador_diag/diagd.py:1032 — outbound call without a timeout |
python/ambassador/src/ambassador/diagnostics/envoy_stats.py:179 — outbound call without a timeout |
python/ambassador/src/ambassador/diagnostics/envoy_stats.py:193 — outbound call without a timeout |
9 shell commands built from strings
adequate9 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.
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 |
2 locked dependencies have published vulnerabilities
adequate2 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.
Observability & Operations
strongNo error reporter is wired in
adequateNothing 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.
| no error reporter initialised |
1 of 2 deployed images carry no version, or `latest`
adequate1 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.
charts/emissary-ingress/values.yaml:23 — image without a version |
Fit with the Acquirer
not assessableNot 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.