Read 2026-11-03
repowise-dev/repowise: technical due diligence, read from its repository
What Borehole read in repowise-dev/repowise's code and history at 7ccd63f: 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 | adequate |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | strong |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
strongplugins/claude-code/hooks/lens/lens.js is 5,016 lines, 34× this codebase's median file
adequateThe median source file here is 146 lines. 15 files exceed 1,460 lines, the largest being 5,016. 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.
plugins/claude-code/hooks/lens/lens.js:1 — 5,016 lines (34× median) |
packages/core/src/repowise/core/persistence/models.py:1 — 3,008 lines (20× median) |
packages/core/src/repowise/core/ingestion/call_resolver.py:1 — 2,616 lines (17× median) |
packages/cli/src/repowise/cli/commands/update_cmd/command.py:1 — 2,391 lines (16× median) |
packages/core/src/repowise/core/ingestion/traverser.py:1 — 2,085 lines (14× median) |
Engineering Process & SDLC Maturity
adequate2 committed .only switches other tests off
adequate2 test files commit a focused `.only`, which runs that test and silently skips the rest of its suite. 16 skip markers across 3 of 3230 test files. Each is a failure somebody chose to stop seeing; the question is whether anyone is tracking them.
tests/unit/change_health/test_diff_risk.py:167 — committed .only: other tests do not run |
tests/unit/change_health/test_diff_risk.py:192 — committed .only: other tests do not run |
packages/core/src/repowise/core/analysis/health/complexity/test_case.py:96 — skipped test |
tests/unit/change_health/test_diff_risk.py:162 — skipped test |
tests/unit/change_health/test_diff_risk.py:165 — skipped test |
8% of recent commits change more than 2,000 lines
adequate266 of 3430 commits in the last 24 months changed over 2,000 lines of code, not counting reformatting, renames, vendored or generated code. A change that size is rarely reviewed line by line. Ask how they were reviewed, and what made them that large.
| 266 commits over 2,000 lines |
Product & Engineering Maturity
strongNode.js 20 is past end of life
adequateThe code is pinned to Node.js 20 (end of life 2026-04-30). None of these receives security fixes any more; the first stopped on 2026-04-30. Moving off an unsupported runtime is rarely a one-line change, so a buyer should ask whether the upgrade is planned and what it touches.
docker/Dockerfile — Node.js 20, end of life 2026-04-30 |
Security & Reliability Posture
adequate13 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: AWS access key, where fakes are usual |
1 Dockerfile runs 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.
packages/core/src/repowise/core/workspace/service_names/dockerfile.py — runs as root |
The build runs third-party code it does not pin
adequate4 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; 1 step pipes 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/ci.yml:37 — action pinned by tag |
.github/workflows/ci.yml:334 — action pinned by tag |
docker/Dockerfile:50 — 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.
packages/core/src/repowise/core/workspace/extractors/http/go_clients.py:40 — outbound call without a timeout |
packages/core/src/repowise/core/workspace/extractors/http/go_clients.py:40 — outbound call without a timeout |
packages/core/src/repowise/core/workspace/extractors/http/go_clients.py:40 — outbound call without a timeout |
22 SQL statements built from strings
adequate22 places in product code build SQL by formatting or joining strings rather than passing parameters, and in 10 of them a value, not a table or column name, goes into the string. Where any of those values comes from a request, it is an injection point. Each site needs a look; the fix, parameters, is small.
packages/cli/src/repowise/cli/commands/augment_cmd/decision_inject.py:296 — SQL built from a string |
packages/core/src/repowise/core/distill/store.py:78 — SQL built from a string |
packages/core/src/repowise/core/persistence/search.py:129 — SQL built from a string |
3 shell commands built from strings
adequate3 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.
packages/core/src/repowise/core/analysis/conftest_routes.py:120 — command run through a shell |
packages/core/src/repowise/core/analysis/security/patterns.py:220 — command run through a shell |
packages/core/src/repowise/core/ingestion/always_run.py:82 — command run through a shell |
8 deserialisers that can run code
adequate8 places read data with a deserialiser that executes what it reads (pickle, `yaml.load` without a safe loader). That is safe on data the system wrote itself and remote code execution on anything else. Ask where each one's input comes from.
packages/core/src/repowise/core/analysis/change_health/child.py:95 — code-executing deserialiser |
packages/core/src/repowise/core/analysis/change_health/child.py:111 — code-executing deserialiser |
packages/core/src/repowise/core/analysis/health/walk_cache.py:128 — code-executing deserialiser |
2 locked dependencies have published vulnerabilities, 1 high or critical in what ships
adequate2 of 664 locked dependencies match 2 published advisories in OSV, 1 of them rated high or critical. 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
strongAn error reporter is installed but never initialised
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 |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on repowise-dev/repowise: 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.