Borehole · Project · free tier
juspay/hyperswitch-prism
Free reading: not for reliance
246bc1e · 1,694 commits · 2,859 files
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.

DimensionRating
Architecture & Codebase — including AI provenancestrong
Engineering Process & SDLC Maturityadequate
Product & Engineering Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsstrong
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

strong
01.6

sdk/legacy/node-grpc-client/src/payment.ts is 9,687 lines, 31× this codebase's median file

adequate

The 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.

Engineering Process & SDLC Maturity

adequate
02.16

Tests are retried until they pass

adequate

The 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.

Evidence
plugins/medusa/playwright.config.ts:17 — test retry
02.24

16% of recent commits change more than 2,000 lines

adequate

196 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.

Evidence
196 commits over 2,000 lines

Product & Engineering Maturity

adequate
04.17

Node.js 20 is past end of life

adequate

The 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.

Evidence
grace/grace-workspace/Dockerfile — Node.js 20, end of life 2026-04-30
04.19

13% of bug fixes add or change a test

adequate

Of 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.

Evidence
59 of 439

Security & Reliability Posture

adequate
05.1

7 credential-shaped strings committed to the tree

adequate

Matches 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.

Evidence
5 cited: JWT pattern matched
05.27

The build runs third-party code it does not pin

adequate

12 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.

Evidence
.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
05.20

2 SQL statements built from strings

adequate

2 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.

05.21

5 shell commands built from strings

adequate

5 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.

05.26

45 locked dependencies have published vulnerabilities, 2 high or critical in what ships

adequate

45 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.

Evidence
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

strong
06.9

No error reporter is wired in

adequate

Nothing 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.

Evidence
no error reporter initialised
06.18

1 of 1 deployed images carry no version, or `latest`

adequate

1 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.

Evidence
grace/grace-workspace/docker-compose.yml:106 — image without a version

Fit with the Acquirer

not assessable

Not 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.