Read 2026-10-28
iflytek/astron-rpa: technical due diligence, read from its repository
What Borehole read in iflytek/astron-rpa's code and history at df46ed8: 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 |
Architecture & Codebase — including AI provenance
strongdocker/volumes/atlas/schema.hcl is 6,523 lines, 112× this codebase's median file
adequateThe median source file here is 58 lines. 17 files exceed 1,000 lines, the largest being 6,523. 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.
docker/volumes/atlas/schema.hcl:1 — 6,523 lines (112× median) |
engine/components/astronverse-excel/src/astronverse/excel/excel.py:1 — 2,486 lines (42× median) |
backend/rpa-auth/src/main/java/com/iflytek/rpa/auth/sp/casdoor/service/impl/CasdoorUserServiceImpl.java:1 — 2,426 lines (41× median) |
backend/rpa-auth/src/main/java/com/iflytek/rpa/auth/sp/uap/service/impl/UserServiceImpl.java:1 — 2,259 lines (38× median) |
backend/rpa-auth/src/main/java/com/iflytek/rpa/auth/idp/iflytekIdentity/IflytekAuthenticationServiceImpl.java:1 — 1,908 lines (32× median) |
Engineering Process & SDLC Maturity
adequateTests cover a thin slice of the codebase
adequate156 test files against 2,499 source files (6.2%). 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.
| 156 test files / 2,499 source files |
7% of recent commits change more than 2,000 lines
adequate31 of 438 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.
| 31 commits over 2,000 lines |
Product & Engineering Maturity
adequate13% of bug fixes add or change a test
adequateOf 183 fixes in the last 24 months, 24 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.
| 24 of 183 |
Security & Reliability Posture
adequate5 Dockerfiles run 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.
backend/ai-service/Dockerfile — runs as root |
backend/openapi-service/Dockerfile — runs as root |
backend/resource-service/Dockerfile — runs as root |
backend/robot-service/Dockerfile — runs as root |
4 environment files are committed
adequatefrontend/packages/components/.env, frontend/packages/web-app/.env.enterprise, frontend/packages/web-app/.env.opensource and more are 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.
frontend/packages/components/.env — committed environment file |
frontend/packages/web-app/.env.enterprise — committed environment file |
frontend/packages/web-app/.env.opensource — committed environment file |
The build runs third-party code it does not pin
adequate11 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.
.github/workflows/build-push-backend.yml:101 — action pinned by tag |
.github/workflows/build-push-backend.yml:104 — action pinned by tag |
15 outbound calls can wait forever
adequate15 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.
engine/components/astronverse-cua/src/astronverse/cua/computer_use.py:305 — outbound call without a timeout |
engine/components/astronverse-cua/src/astronverse/cua/custom_action_screen.py:326 — outbound call without a timeout |
engine/components/astronverse-network/src/astronverse/network/core_network.py:189 — outbound call without a timeout |
16 shell commands built from strings
adequate16 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.
engine/components/astronverse-software/src/astronverse/software/software.py:176 — command run through a shell |
engine/components/astronverse-system/src/astronverse/system/core/printer_core.py:548 — command run through a shell |
engine/components/astronverse-system/src/astronverse/system/core/printer_core.py:574 — command run through a shell |
1 deserialiser that can run code
adequate1 places read data with a deserialiser that executes what it reads (`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.
engine/shared/astronverse-baseline/src/astronverse/baseline/config/config.py:35 — code-executing deserialiser |
73 locked dependencies have published vulnerabilities, 65 high or critical in what ships
adequate73 of 2,667 locked dependencies match 202 published advisories in OSV, 98 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.
engine/components/astronverse-browser/uv.lock — pillow 12.0.0: GHSA-332p-7hrc-92wf (critical), fixed in 13.0.0 |
engine/components/astronverse-cua/uv.lock — pillow 12.1.0: GHSA-332p-7hrc-92wf (critical), fixed in 13.0.0 |
engine/components/astronverse-control/uv.lock — pillow 12.3.0: GHSA-332p-7hrc-92wf (critical), fixed in 13.0.0 |
2 workload settings give a container the host
adequate2 places in the deployment configuration run a container privileged or in the host's network, process or IPC namespace. A compromise of that container is a compromise of the machine, and most acquirers' security reviews block it. Node agents (network, storage, monitoring) are excluded.
docker/docker-compose.yml:87 — privileged or host namespace |
docker/docker-compose.yml:120 — privileged or host namespace |
8 places insert HTML from a variable without sanitising it
adequate8 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.
frontend/packages/components/lib/iconpark.js:1 — HTML from a variable |
frontend/packages/web-app/src/components/MesssageTip/Index.vue:48 — HTML from a variable |
frontend/packages/web-app/src/components/MultiChat/Index.vue:310 — HTML from a variable |
The production build publishes source maps
adequateThe build configuration emits source maps for production, so the original source, with its comments and structure, is downloadable by every visitor. Upload them to an error tracker and keep them off the public server instead.
frontend/packages/components/vite.config.ts:23 — source maps in a production build |
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 2,865 files for 10 structured logging libraries; 0 matched |
An 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 |
7 of 11 deployed images carry no version, or `latest`
adequate7 images in the deployment configuration are named without a version or as `latest`. A redeploy can change the software without a commit, a rollback has nothing to roll back to, and nobody can say from the repository what is running.
docker/docker-compose.yml:70 — image without a version |
docker/docker-compose.yml:83 — image without a version |
docker/docker-compose.yml:227 — image without a version |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on iflytek/astron-rpa: 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.