Read 2026-11-03
aimhubio/aim: technical due diligence, read from its repository
What Borehole read in aimhubio/aim's code and history at 6e098e3: 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 | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
- Releases are cut from another branch than the one surveyed
Architecture & Codebase — including AI provenance
strongaim/ext/pynvml.py is 4,560 lines, 114× this codebase's median file
adequateThe median source file here is 40 lines. 10 files exceed 1,000 lines, the largest being 4,560. 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.
aim/ext/pynvml.py:1 — 4,560 lines (114× median) |
aim/web/ui/src/services/models/imagesExplore/imagesExploreAppModel.ts:1 — 2,381 lines (59× median) |
aim/web/ui/src/services/models/explorer/metricsModelMethods.ts:1 — 1,799 lines (44× median) |
aim/web/ui/src/services/models/explorer/paramsModelMethods.ts:1 — 1,691 lines (42× median) |
aim/web/ui/src/services/models/explorer/scattersModelMethods.ts:1 — 1,607 lines (40× median) |
Engineering Process & SDLC Maturity
adequateTests cover a thin slice of the codebase
adequate101 test files against 1,676 source files (6.0%). This does not measure whether the tests are good, only whether enough of them exist for the codebase to be changed safely by someone who did not write it — which is exactly the situation after an acquisition.
| 101 test files / 1,676 source files |
Product & Engineering Maturity
adequatePython 3.9 is past end of life
adequateThe code is pinned to Python 3.9 (end of life 2025-10-31). None of these receives security fixes any more; the first stopped on 2025-10-31. 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 — Python 3.9, end of life 2025-10-31 |
5% of bug fixes add or change a test
adequateOf 60 fixes in the last 24 months, 3 touched a test. A fix without the test that would have caught the bug can quietly come back, and the suite never learns from what went wrong.
| 3 of 60 |
2 jobs are each done by more than one library
adequateWithin a single package: CSS-in-JS: stitches, styled-components; UI component kits: antd, material-ui. Each duplicate is bundle size, two ways of doing the same thing in one codebase, and two upgrade paths to maintain. It is usually the residue of a migration that stopped halfway.
aim/web/ui/package.json — several libraries per job |
Releases are cut from another branch than the one surveyed
adequateThe newest release, v4.0.3, is not on the branch this survey read; the newest release on it is v3.29.1. The shipped product may differ from what this report describes. Survey the release branch too.
| tag v4.0.3 |
Security & Reliability Posture
adequate1 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.
docker/Dockerfile — runs as root |
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.
aim/cli/manager/manager.py:43 — outbound call without a timeout |
aim/ext/notifier/slack_notifier.py:18 — outbound call without a timeout |
aim/ext/notifier/workplace_notifier.py:20 — outbound call without a timeout |
1 SQL statement built from strings
adequate1 places in product code build SQL by formatting or joining strings rather than passing parameters. In each, what the code shows going in is a table or column name, a constant, or something the line does not show, not a request's value. Ask whether any value reaches these strings, rather than a parameter.
aim/storage/structured/sql_engine/utils.py:49 — SQL built from a string |
6 shell commands built from strings
adequate6 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.
aim/web/ui/tasks/cli/commands/createComponent.js:77 — command run through a shell |
setup.py:115 — command run through a shell |
setup.py:118 — command run through a shell |
90 locked dependencies have published vulnerabilities, 84 high or critical in what ships
adequate90 of 2,541 locked dependencies match 159 published advisories in OSV, 94 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.
aim/web/ui/package-lock.json — @babel/traverse 7.20.1: GHSA-67hx-6x53-jw92 (critical), fixed in 7.23.2 |
aim/web/ui/package-lock.json — cipher-base 1.0.4: GHSA-cpq7-6gpm-g9rc (critical), fixed in 1.0.5 |
aim/web/ui/package-lock.json — immer 8.0.1: GHSA-33f9-j839-rf8h (critical), fixed in 9.0.6 |
5 places insert HTML from a variable without sanitising it
adequate5 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.
aim/web/ui/src/modules/BaseExplorer/components/TextBox/TextBox.tsx:39 — HTML from a variable |
aim/web/ui/src/pages/Board/components/dataVizElementsMap.tsx:91 — HTML from a variable |
aim/web/ui/src/pages/Dashboard/components/DashboardRight/ReleaseNotes/useReleaseNotes.ts:85 — HTML from a variable |
6 advisories against this project in the last 24 months, 4 high or critical
adequateThe newest was published on 2026-09-04. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. Whether 6 of them are fixed in the code you ship could not be told from this history: its version is only known to be at least 3.29.1. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 38 records name aim with nothing tying them to this repository (CVE-2004-0279, CVE-2007-4901, CVE-2010-1374, …).
| 2026-09-04: CVE-2026-85663 (critical): Aim 3.29.1 remote tracking server fails to authenticate requests and dispatches arbitrary methods through getattr without allowlist validation. Unauthenticated |
| 2025-07-22: CVE-2025-51463 (high): Path Traversal in restore_run_backup() in AIM 3.28.0 allows remote attackers to write arbitrary files to the server's filesystem via a crafted backup tar file s |
| 2025-07-22: CVE-2025-51464 (high): Cross-site Scripting (XSS) in aimhubio Aim 3.28.0 allows remote attackers to execute arbitrary JavaScript in victims browsers via malicious Python code submitte |
| 2025-05-29: CVE-2025-5321 (moderate): A vulnerability classified as critical was found in aimhubio aim up to 3.29.1. This vulnerability affects the function RestrictedPythonQuery of the file /aim/st |
| 2024-09-14: CVE-2024-8863 (moderate): A vulnerability, which was classified as problematic, was found in aimhubio aim up to 3.24. Affected is the function dangerouslySetInnerHTML of the file textbox |
Observability & Operations
adequateNo structured logging library is in use
adequateNothing references a structured logging library. Logs that are written to be read by a person are not searchable by a machine, which means incident response here is proportional to how well someone remembers the codebase rather than to what the tooling can find.
| searched 1,793 files for 10 structured logging libraries; 0 matched |
One request cannot be followed through the logs
adequateNothing in the service carries a request or correlation id, and there is no tracing. When a customer reports a failure, the log lines that belong to their request cannot be picked out from everyone else's.
| no request id, correlation id or tracing found |
No error reporter is wired in
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 aimhubio/aim: 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.