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.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | strong |
| Engineering Process & SDLC Maturity | strong |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | not assessable |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
strongdesktop/core/src/desktop/js/ext/ace/ace.js is 18,687 lines, 230× this codebase's median file
adequateThe 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.
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) |
8% of code blocks appear verbatim in more than one file
adequate47,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.
| 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
strongNo finding.
Product & Engineering Maturity
strongNo finding.
Security & Reliability Posture
adequate2 credential-shaped strings committed to the tree
adequateMatches 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.
| 2 cited: AWS access key pattern matched |
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 10,157 tracked files; 0 present |
14 credential-shaped strings exist in the history
adequateMatches 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.
| 2 cited: AWS access key pattern added here |
| 2 cited: private key block pattern added here |
| JWT pattern added here |
The build runs third-party code it does not pin
adequate5 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.
.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 |
12 shell commands built from strings
adequate12 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.
desktop/core/ext-py3/boto-2.49.0/boto/manage/cmdshell.py:335 — command run through a shell |
desktop/core/ext-py3/boto-2.49.0/boto/manage/task.py:105 — command run through a shell |
desktop/core/ext-py3/boto-2.49.0/boto/utils.py:558 — command run through a shell |
3 deserialisers that can run code
adequate3 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.
desktop/core/src/desktop/js/ext/ace/snippets/ruby.js:504 — code-executing deserialiser |
desktop/core/src/desktop/js/ext/ace/snippets/ruby.js:507 — code-executing deserialiser |
desktop/core/src/desktop/lib/gunicorn_log_utils.py:66 — code-executing deserialiser |
70 places insert HTML from a variable without sanitising it
adequate70 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.
desktop/core/src/desktop/js/apps/editor/components/aceEditor/autocomplete/MatchedText.vue:21 — HTML from a variable |
desktop/core/src/desktop/js/components/HueTable.vue:54 — HTML from a variable |
desktop/core/src/desktop/js/components/sidebar/AccordionItem.vue:51 — HTML from a variable |
1 vendored component with no licence
adequateThird-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.
ext/thirdparty/README.md — 1 tracked files, no licence file |
Observability & Operations
not assessableNot 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 assessableNot 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.