Borehole · Project · free tier
cloudera/hue
Free reading: not for reliance
7ad92b1 · 21,435 commits · 10,157 files
Read 2026-11-03

cloudera/hue: technical due diligence, read from its repository

What Borehole read in cloudera/hue's code and history at 7ad92b1: 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 provenancestrong
Engineering Process & SDLC Maturitystrong
Product & Engineering Maturitystrong
Security & Reliability Postureadequate
Observability & Operationsnot assessable
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

strong
01.6

desktop/core/src/desktop/js/ext/ace/ace.js is 18,687 lines, 230× this codebase's median file

adequate

The median source file here is 81 lines. 219 files exceed 1,000 lines, the largest being 18,687. 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
desktop/core/src/desktop/js/ext/ace/ace.js:1 — 18,687 lines (230× median)
desktop/core/src/desktop/js/ext/nv.d3.1.1.15b.custom.js:1 — 14,374 lines (177× median)
apps/beeswax/gen-py/hive_metastore/ttypes.py:1 — 13,262 lines (163× median)
desktop/core/src/desktop/js/ext/ace/worker-javascript.js:1 — 12,531 lines (154× median)
desktop/core/src/desktop/js/ext/ace/worker-html.js:1 — 11,608 lines (143× median)
01.7

8% of code blocks appear verbatim in more than one file

adequate

47,456 distinct 8-line blocks appear in two or more files. Copy-paste is the cheapest thing a generator does and among the more expensive things to inherit: a fix has to be applied everywhere the block landed, and nothing in the repository records where that is. Tests, fixtures and documentation examples are excluded — those repeat by design — so this is duplication in code that ships. Blocks are matched after normalising whitespace and only across different files.

Evidence
identical 8-line block in 96 files: Gruntfile.js, apps/oozie/src/oozie/static/oozie/js/workflow.idgen.js, desktop/core/src/desktop/js/apps/editor/components/ClearQueryHistoryModal.vue
identical 8-line block in 96 files: Gruntfile.js, apps/oozie/src/oozie/static/oozie/js/workflow.idgen.js, desktop/core/src/desktop/js/apps/editor/components/ClearQueryHistoryModal.vue
identical 8-line block in 95 files: Gruntfile.js, apps/oozie/src/oozie/static/oozie/js/workflow.idgen.js, desktop/core/src/desktop/js/apps/editor/components/ClearQueryHistoryModal.vue
identical 8-line block in 95 files: Gruntfile.js, apps/oozie/src/oozie/static/oozie/js/workflow.idgen.js, desktop/core/src/desktop/js/apps/editor/components/ClearQueryHistoryModal.vue
identical 8-line block in 95 files: Gruntfile.js, apps/oozie/src/oozie/static/oozie/js/workflow.idgen.js, desktop/core/src/desktop/js/apps/editor/components/ClearQueryHistoryModal.vue

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

strong

No finding.

Security & Reliability Posture

adequate
05.1

2 credential-shaped strings committed to the tree

adequate

Matches for AWS access key appear in tracked files outside test and fixture paths. They stay in the history even after they leave the tree, so what matters is whether each was rotated. The code cannot tell whether any of them is live, and that decides whether this matters: none sits in production configuration, and none is in a format its provider keeps for live keys. Is any of these live? Show that each was rotated after it was committed, and when.

Evidence
2 cited: AWS access key pattern matched
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 10,157 tracked files; 0 present
05.5

14 credential-shaped strings exist in the history

adequate

Matches for AWS access key, JWT, private key block were committed at some point across 20,000 commits examined (the scan stopped at its limit, so older history was not read). Some are still in the working tree. What matters is whether each was rotated after it was committed. The code cannot tell whether any of them is live, and that decides whether this matters: none sits in production configuration, and none is in a format its provider keeps for live keys. Is any of these live? Show that each was rotated after it was committed, and when. 13 other matchs set aside: expired tokens, licence tokens a vendor verifies with a public key, or placeholder text where a key would go. None grants access to anything.

Evidence
2 cited: AWS access key pattern added here
2 cited: private key block pattern added here
JWT pattern added here
05.27

The build runs third-party code it does not pin

adequate

5 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; 3 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/docs_lint.yml:31 — action pinned by tag
.github/workflows/pr-comments.yml:53 — action pinned by tag
tools/container/base/hue/Dockerfile:62 — download piped into a shell
05.21

12 shell commands built from strings

adequate

12 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.

05.22

3 deserialisers that can run code

adequate

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

05.48

70 places insert HTML from a variable without sanitising it

adequate

70 places set HTML from a value that is neither a literal nor passed through a sanitiser. Where the value can come from a user, that is stored cross-site scripting, and it is the first thing a buyer's security review looks for in a frontend.

05.9

1 vendored component with no licence

adequate

Third-party code is committed into this repository without any statement of the terms it arrived under. Unknown terms are harder to deal with than inconvenient ones: an awkward licence can be complied with, an absent one cannot. Each of these needs its origin established before the code changes hands.

Evidence
ext/thirdparty/README.md — 1 tracked files, no licence file

Observability & Operations

not assessable

Not rated: only 5 of 16 checks could reach a conclusion here; the rest do not apply to this repository or could not read it.

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on cloudera/hue: 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.