Borehole · Project · free tier
cocoindex-io/cocoindex
Free reading: not for reliance
7d311e6 · 2,205 commits · 1,223 files
Read 2026-10-23

cocoindex-io/cocoindex: technical due diligence, read from its repository

What Borehole read in cocoindex-io/cocoindex's code and history at 7d311e6: 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 Posturestrong
Observability & Operationsnot assessable
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

strong
01.6

rust/core/src/engine/component.rs is 3,071 lines, 16× this codebase's median file

adequate

The median source file here is 182 lines. 8 files exceed 1,820 lines, the largest being 3,071. 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
rust/core/src/engine/component.rs:1 — 3,071 lines (16× median)
rust/sdk/cocoindex/src/cypher_graph.rs:1 — 2,585 lines (14× median)
rust/sdk/cocoindex/src/connectors/lancedb.rs:1 — 2,480 lines (13× median)
python/cocoindex/_internal/function.py:1 — 2,308 lines (12× median)
rust/core/src/engine/execution.rs:1 — 2,204 lines (12× median)

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

strong

No finding.

Security & Reliability Posture

strong
05.25

1 environment file is committed

adequate

.env.lib_debug is tracked in git. Environment files are where credentials usually live, and committing one usually means nobody decided how secrets reach the running application. Whatever is in it is in the history for good. Check 05.1 says whether it holds anything credential-shaped.

Evidence
.env.lib_debug — committed environment file
05.27

The build runs third-party code it does not pin

adequate

9 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/CI.yml:60 — action pinned by tag
.github/workflows/_docs_release.yml:23 — action pinned by tag
05.22

6 deserialisers that can run code

adequate

6 places read data with a deserialiser that executes what it reads (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.

Evidence
python/cocoindex/_internal/function.py:1206 — code-executing deserialiser
python/cocoindex/_internal/runner.py:176 — code-executing deserialiser
python/cocoindex/_internal/runner.py:202 — code-executing deserialiser
05.26

22 locked dependencies have published vulnerabilities

adequate

22 of 1,348 locked dependencies match 29 published advisories in OSV. 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. This lockfile pins development tools alongside what ships and does not say which is which, so some of these may never reach a user.

Evidence
uv.lock — accelerate 1.14.0: GHSA-4j2p-28q2-5m79 (moderate); an optional extra
uv.lock — setuptools 81.0.0: GHSA-h35f-9h28-mq5c (moderate), fixed in 83.0.0; an optional extra
Cargo.lock — rsa 0.9.10: RUSTSEC-2023-0071 (moderate)
05.65

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

adequate

The newest was published on 2026-02-28. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. None of them affects the surveyed version.

Evidence
2026-02-28: GHSA-59g6-v3vg-f7wc (high), fixed in 0.3.34: CocoIndex Doris target connector didn't verify table name when constructing ALTER TABLE statements

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 cocoindex-io/cocoindex: 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.