Borehole · Project · free tier
hapelee/legado-with-md3
Free reading: not for reliance
d2c1024 · 8,738 commits · 3,122 files
Read 2026-11-07

hapelee/legado-with-md3: technical due diligence, read from its repository

What Borehole read in hapelee/legado-with-md3's code and history at d2c1024: 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 Maturityadequate
Product & Engineering Maturitystrong
Security & Reliability Postureadequate
Observability & Operationsnot assessable
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

strong
01.3

Commit messages are templated rather than written

adequate

59% of commit subjects are exact repeats of another subject, and subject length varies by only 21.7 characters. A log written by someone explaining their reasoning to a future reader does not look like this. The log is therefore weak evidence of intent, whatever the code is like.

Evidence
3427× '优化'
42× '更新界面'
24× 'Update updateLog.md'
01.6

app/src/main/java/io/legado/app/feature/reader/ReaderCanvasSurface.kt is 3,756 lines, 40× this codebase's median file

adequate

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

Engineering Process & SDLC Maturity

adequate
02.5

58% of commit subjects say nothing about the change

adequate

4,398 of 7,620 subjects are either under twelve characters or one of the standard placeholders — wip, fix, update. The history is therefore not usable for reconstructing why a decision was taken, which is the main thing an inheriting engineer needs it for. It says nothing about code quality and a great deal about how much context transfers with the asset.

Evidence
4,398/7,620 low-content subjects (57.7%)
'优化'
'优化'
'优化'
'修复书源调试显示错误'
02.6

Almost no process scaffolding exists in the repository

adequate

Of five ordinary markers — CI workflows, CODEOWNERS, a pull-request template, pre-commit hooks, contribution guidance — 1 is present: CI workflows. Branch protection itself is a GitHub setting rather than a file, so this is a reading of proxies and not of the rules themselves. What it does establish is that the process is not written down anywhere a new engineer would find it.

Evidence
1 of 5 markers present across 3,122 tracked files

Product & Engineering Maturity

strong
04.38

7 files still carry code deprecated more than two years ago

adequate

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

Security & Reliability Posture

adequate
05.1

2 credential-shaped strings committed to the tree

adequate

Matches for Google API 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. Only Google API keys matched. Those are often public by design, in a browser app's Firebase or Maps configuration; the question is whether each is restricted to the app's domains and APIs.

Evidence
2 cited: Google API key pattern matched
05.5

1 credential-shaped string exists in the history

adequate

Matches for Google API key were committed at some point across 7,593 commits examined. 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. Only Google API keys matched. Those are often public by design, in a browser app's Firebase or Maps configuration; the question is whether each is restricted to the app's domains and APIs.

Evidence
Google API key pattern added here
05.27

The build runs third-party code it does not pin

adequate

6 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/auto-release.yml:175 — action pinned by tag
.github/workflows/auto-release.yml:375 — action pinned by tag
05.48

9 places insert HTML from a variable without sanitising it

adequate

9 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.51

The app allows plain HTTP to any server

adequate

The app's manifest allows unencrypted HTTP app-wide (NSAllowsArbitraryLoads, or cleartext traffic permitted), rather than for named domains. Anything sent over plain HTTP can be read on the network, and enterprise security reviews ask about it. Some apps need it by nature (a podcast or feed reader fetches whatever URL a feed gives), so ask which case this is.

Evidence
app/src/main/res/xml/network_security_config.xml:3 — cleartext allowed app-wide

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 hapelee/legado-with-md3: 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.