Read 2026-10-28
juspay/hyperswitch-prism: technical due diligence, read from its repository
What Borehole read in juspay/hyperswitch-prism's code and history at 246bc1e: 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 | strong |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
strongsdk/legacy/node-grpc-client/src/payment.ts is 9,687 lines, 31× this codebase's median file
adequateThe median source file here is 310 lines. 23 files exceed 3,100 lines, the largest being 9,687. 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.
sdk/legacy/node-grpc-client/src/payment.ts:1 — 9,687 lines (31× median) |
crates/integrations/connector-integration/src/connectors/adyen/transformers.rs:1 — 8,826 lines (28× median) |
crates/integrations/connector-integration/src/connectors/stripe/transformers.rs:1 — 7,641 lines (24× median) |
crates/integrations/connector-integration/src/connectors/cybersource/transformers.rs:1 — 7,435 lines (23× median) |
crates/types-traits/domain_types/src/connector_types.rs:1 — 6,663 lines (21× median) |
Engineering Process & SDLC Maturity
adequateTests are retried until they pass
adequateThe suite is configured to retry failing tests (plugins/medusa/playwright.config.ts). 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.
plugins/medusa/playwright.config.ts:17 — test retry |
16% of recent commits change more than 2,000 lines
adequate196 of 1262 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.
| 196 commits over 2,000 lines |
Product & Engineering Maturity
adequateNode.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.
grace/grace-workspace/Dockerfile — Node.js 20, end of life 2026-04-30 |
13% of bug fixes add or change a test
adequateOf 439 fixes in the last 24 months, 59 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.
| 59 of 439 |
Security & Reliability Posture
adequate7 credential-shaped strings committed to the tree
adequateMatches for JWT appear in tracked files outside test and fixture paths. They stay in the history even after they leave the tree, so what matters is whether each was rotated. The code cannot tell whether any of them is live, and that decides whether this matters: none sits in production configuration, and none is in a format its provider keeps for live keys. Is any of these live? Show that each was rotated after it was committed, and when.
| 5 cited: JWT pattern matched |
The build runs third-party code it does not pin
adequate12 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:78 — action pinned by tag |
.github/workflows/ci.yml:360 — action pinned by tag |
grace/grace-workspace/scripts/grace-docker-entrypoint.sh:61 — download piped into a shell |
2 SQL statements built from strings
adequate2 places in product code build SQL by formatting or joining strings rather than passing parameters. 1 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.
grace/grace-workspace/packages/core/src/state.ts:318 — SQL built from a string |
grace/grace-workspace/packages/core/src/state.ts:351 — SQL built from a string |
5 shell commands built from strings
adequate5 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.
grace/grace-workspace/packages/core/src/checkpoints/preflight.ts:63 — command run through a shell |
grace/grace-workspace/packages/core/src/session-manager.ts:228 — command run through a shell |
grace/grace-workspace/packages/core/src/session-manager.ts:268 — command run through a shell |
45 locked dependencies have published vulnerabilities, 2 high or critical in what ships
adequate45 of 871 locked dependencies match 92 published advisories in OSV, 12 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.
sdk/legacy/python-grpc-client/uv.lock — protobuf 5.29.4: GHSA-7gcm-g887-7qv7 (high), fixed in 5.29.6 |
Cargo.lock — aws-smithy-json 0.61.9: GHSA-8ffr-xgwf-xj56 (high), fixed in 0.62.7 |
Cargo.lock — diesel 2.3.7: GHSA-h5x4-m2qf-r4f2 (high), fixed in 2.3.8 |
Observability & Operations
strongNo 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 1 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.
grace/grace-workspace/docker-compose.yml:106 — 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 juspay/hyperswitch-prism: 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.