Borehole · Project · free tier
elastic/logstash
Free reading: not for reliance
60c4ae7 · 11,544 commits · 2,284 files
Read 2026-10-23

elastic/logstash: technical due diligence, read from its repository

What Borehole read in elastic/logstash's code and history at 60c4ae7: 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 Posturestrong
Observability & Operationsadequate
Fit with the Acquirernot assessable

What the repository says

  • Releases are cut from another branch than the one surveyed
  • LICENSE.txt:1: The licence is Elastic-2.0: source available, not open source

Architecture & Codebase — including AI provenance

adequate
01.6

logstash-core/lib/logstash/config/grammar.rb is 3,646 lines, 47× this codebase's median file

adequate

The median source file here is 76 lines. 3 files exceed 1,000 lines, the largest being 3,646. 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.

01.25

1 base image floats: no version, or `latest`

adequate

1 of 1 `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
x-pack/distributions/internal/observabilitySRE/docker/Dockerfile:2 — base image without a version

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

strong
04.38

11 files still carry code deprecated more than two years ago

adequate

11 files were marked deprecated over two years ago and still are, the oldest since Aug 2016. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.

04.62

Releases are cut from another branch than the one surveyed

adequate

The newest release, v9.5.5, is not on the branch this survey read; the newest release on it is v1.4.1. The shipped product may differ from what this report describes. Survey the release branch too.

Evidence
tag v9.5.5

Security & Reliability Posture

strong
05.27

The build runs third-party code it does not pin

adequate

21 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. 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/backport-active.yml:26 — action pinned by tag
.github/workflows/bump-java-version.yml:23 — action pinned by tag
05.22

2 deserialisers that can run code

adequate

2 places read data with a deserialiser that executes what it reads (Ruby `Marshal.load`). That is safe on data the system wrote itself and remote code execution on anything else. Ask where each one's input comes from.

Evidence
lib/pluginmanager/gemfile.rb:166 — code-executing deserialiser
logstash-core/lib/logstash/util.rb:230 — code-executing deserialiser
05.66

The licence is Elastic-2.0: source available, not open source

adequate

LICENSE.txt grants Elastic-2.0: source available, not open source; offering it as a managed service is not allowed. The reading comes from the licence's own title and clauses. Whether the terms fit the buyer's intended use, and whether any paid licence transfers with the code, is a question for counsel and the licensor.

Evidence
LICENSE.txt:1 — 13 lines, Elastic-2.0
05.65

2 advisories against this project in the last 24 months, 1 high or critical

adequate

The newest was published on 2026-04-08. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. Whether 2 of them are fixed in the code you ship could not be told from this history: its version is only known to be at least 1.4.1. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 5 records name logstash with nothing tying them to this repository (CVE-2020-2143, CVE-2026-107335, CVE-2026-19671, …).

Evidence
2026-04-08: CVE-2026-33466 (high): Improper Limitation of a Pathname to a Restricted Directory (CWE-22) in Logstash can lead to arbitrary file write and potentially remote code execution via Rela
2025-05-06: CVE-2025-37730 (moderate): Improper certificate validation in Logstash's TCP output could lead to a man-in-the-middle (MitM) attack in “client” mode, as hostname verification in TCP outpu

Observability & Operations

adequate
06.2

No structured logging library is in use

adequate

Nothing references a structured logging library. Logs that are written to be read by a person are not searchable by a machine, which means incident response here is proportional to how well someone remembers the codebase rather than to what the tooling can find.

Evidence
searched 2,085 files for 10 structured logging libraries; 0 matched
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 3 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.

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on elastic/logstash: 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.