Read 2026-10-23
agentscope-ai/qwenpaw: technical due diligence, read from its repository
What Borehole read in agentscope-ai/qwenpaw's code and history at 33f04fa: 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 | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
README.md:54: states a policy on AI-generated contributions
Architecture & Codebase — including AI provenance
strongplugins/apps/qwenpaw-creator/backend/services/file_agent_runtime/driver.py is 10,321 lines, 71× this codebase's median file
adequateThe median source file here is 144 lines. 82 files exceed 1,440 lines, the largest being 10,321. 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/apps/qwenpaw-creator/backend/services/file_agent_runtime/driver.py:1 — 10,321 lines (71× median) |
plugins/apps/qwenpaw-creator/backend/services/media_files/r2v_execution.py:1 — 5,700 lines (39× median) |
plugins/apps/qwenpaw-creator/backend/services/media_files/local_execution.py:1 — 5,153 lines (35× median) |
console/src/pages/Chat/index.tsx:1 — 4,901 lines (34× median) |
plugins/apps/qwenpaw-creator/ui/src/components/creator/ModelConfigModal.tsx:1 — 4,897 lines (34× median) |
Engineering Process & SDLC Maturity
adequateTests are retried until they pass
adequateThe suite is configured to retry failing tests (.github/workflows/_e2e-job.yml). A retry turns a flaky test green without saying why it failed, so a green build means the tests passed eventually. Ask how many retries a typical run needs, and which tests need them.
.github/workflows/_e2e-job.yml:231 — test retry |
8% of recent commits change more than 2,000 lines
adequate189 of 2372 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.
| 189 commits over 2,000 lines |
Product & Engineering Maturity
strongNo finding.
Security & Reliability Posture
adequate5 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. 2 other matchs set aside: expired tokens, licence tokens a vendor verifies with a public key, or placeholder text where a key would go. None grants access to anything.
| 5 cited: Slack token, where fakes are usual |
4 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.
deploy/Dockerfile — runs as root |
plugins/apps/qwenpaw-creator/Dockerfile — runs as root |
plugins/apps/qwenpaw-data/docker/context/Dockerfile — runs as root |
plugins/apps/qwenpaw-data/docker/seed/Dockerfile — runs as root |
The build runs third-party code it does not pin
adequate13 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; 3 steps pipe 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/deploy-website.yml:43 — action pinned by tag |
.github/workflows/deploy-website.yml:151 — action pinned by tag |
scripts/install.sh:3 — download piped into a shell |
4 outbound calls can wait forever
adequate4 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.
src/qwenpaw/app/channels/dingtalk/channel.py:133 — outbound call without a timeout |
src/qwenpaw/browser/execution/worker.py:796 — outbound call without a timeout |
src/qwenpaw/browser/execution/worker.py:800 — outbound call without a timeout |
11 SQL statements built from strings
adequate11 places in product code build SQL by formatting or joining strings rather than passing parameters. 2 of them put a value into the string; in the rest, what the code shows going in is a table or column name, a constant, or something the line does not show. Ask whether any value reaches these strings, rather than a parameter.
src/qwenpaw/agents/context/scroll/history.py:1082 — SQL built from a string |
src/qwenpaw/agents/context/scroll/history.py:1217 — SQL built from a string |
src/qwenpaw/agents/context/scroll/history.py:1195 — SQL built from a string |
34 locked dependencies have published vulnerabilities, 38 high or critical in what ships
adequate34 of 1,991 locked dependencies match 163 published advisories in OSV, 39 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. This lockfile pins development tools alongside what ships and does not say which is which, so some of these may never reach a user.
console/package-lock.json — dompurify 3.4.13: GHSA-cg2g-xh64-v4q7 (critical), fixed in 3.4.17 |
website/pnpm-lock.yaml — proxy-addr 2.0.7: GHSA-jqcg-44mw-7w3h (critical), fixed in 2.0.8 |
website/pnpm-lock.yaml — @modelcontextprotocol/sdk 1.27.1: GHSA-22jm-h49p-29qw (high), fixed in 1.32.0 |
4 places insert HTML from a variable without sanitising it
adequate4 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.
console/src/components/MermaidCodeBlock/MermaidCodeBlock.tsx:132 — HTML from a variable |
console/src/components/RenderableCodeBlock/RenderableCodeBlock.tsx:215 — HTML from a variable |
plugins/apps/qwenpaw-data/ui/public/data-console/assets/HighlightedMarkdown-BMvxyhdO.js:1 — 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.
plugins/apps/qwenpaw-creator/ui/vite.config.ts:23 — source maps in a production build |
plugins/apps/qwenpaw-data/ui/vite.config.ts:12 — source maps in a production build |
Observability & Operations
adequateNo telemetry or error reporting is wired in anywhere
adequateNone of 5,714 readable files references an instrumentation, metrics or error-reporting library. If this system is in production, nobody learns that it broke from the system itself — they learn it from a customer. That is a reliability finding before it is an observability one.
| searched 5,714 tracked text files for 16 known instrumentation libraries; manifests for metrics, tracing and error-reporting families; locked dependencies for the packages that emit; 0 matched |
No 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 5,714 files for 10 structured logging libraries; 0 matched |
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 |
1 of 3 deployed images carry no version, or `latest`
adequate1 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-compose.yml:13 — 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 agentscope-ai/qwenpaw: 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.