Sample report
Outside-in review of Acme Lend.
Acme Lend, its addresses and every finding on this page are made up. The report itself is what you would get: the same parts and the same depth. The incidents we cite are real and linked.
- App
- Acme Lend
- Address
- app.acmelend.example
- Chain
- Arbitrum One
- Access given
- None
- Checks run
- 7 of 7
Summary
Seven checks, six findings.
- 2High
- 3Medium
- 1Low
- 1Check clear
Every check
- Domain and registrarHighF1
- Third-party scriptsHighF2
- DependenciesClear–
- RPC behaviourMediumF5
- Wallet flowsLowF6
- Data pathMediumF4
- Automation footprintMediumF3
Fix first
- F1 Ask your registrar for a registry lock.
- F2 Take the chat widget off the pages that ask for a signature.
- F3 Move the pauser role from the bot key to your multisig.
Findings
Ranked by severity.
F1HighDomain and registrarSampleNo registry lock on acmelend.example
- What we found
- The registrar has locked transfers, but the registry has not. Anyone who gets into the registrar account can point the domain somewhere else. DNSSEC is off, and there is no CAA record, so any certificate authority may issue a certificate for the name.
- Evidence
$ whois acmelend.example | grep -iE "status|dnssec"
Domain Status: clientTransferProhibited
Domain Status: clientUpdateProhibited
DNSSEC: unsigned
$ dig +short CAA acmelend.example
(no answer)
- Why it matters
- Whoever controls the domain controls what your users load and sign. A registry lock makes every change wait for a manual check by the registry. CoW Swap added a registry lock only after a 26-hour domain takeover in April 2026. Source: Attack Surface Scan
- Suggested fix
- Ask your registrar for a registry lock. Not every registrar offers one, and it often costs extra. Turn on DNSSEC. Add a CAA record that names the one certificate authority you use. Make two-factor login compulsory for every registrar account.
Effort About an hour, plus any fee the registrar charges.
F2HighThird-party scriptsSampleA chat widget runs on the pages where users sign
- What we found
- The deposit and borrow pages load a support-chat widget. Its loader fetches two more scripts at run time from a host that is not in your HTML. There is no Content-Security-Policy, so nothing limits which scripts can load or where the page sends data, and no script carries an integrity hash.
- Evidence
Scripts on /borrow, first load
app.acmelend.example 4 your bundle
widget.chatdesk.example 1 chat loader
cdn.chatdesk.example 2 fetched by the chat loader
stats.metrics.example 1 analytics
$ curl -sI https://app.acmelend.example/borrow \
| grep -i content-security-policy
(no header)
- Why it matters
- A script on the page can change the transaction your user is asked to sign. You do not review the chat vendor's code, and it can change without a deploy of yours. Polymarket users lost funds twice in 2026 through its front end, the second time through a third-party script. Source: DefiLlama hacks
- Suggested fix
- Take the chat widget off the pages that ask for a signature, or open it in its own window. Add a Content-Security-Policy that lists the script hosts you expect. Host the scripts you keep yourself, at fixed versions with integrity hashes.
Effort About a day.
F3MediumAutomation footprintSampleThe liquidation bot's key can also pause the market
- What we found
- The address that sends your liquidations also holds the pauser role on the lending pool. A bot key lives on a server, so whoever takes that server can freeze deposits and repayments. A second bot address has sent nothing for 214 days and still holds 1.9 ETH.
- Evidence
Liquidation bot 0x3f9a…e71c
role PAUSER_ROLE on Pool 0x51c0…a9f3
balance 0.4 ETH, topped up weekly
Old bot 0x8d21…04b6
last sent 214 days ago
balance 1.9 ETH
- Why it matters
- A bot key is the easiest key to steal, so it should be able to do as little as possible. In October 2026 a dormant keeper bot was emptied of collateral it had won in 2020. Source: DefiLlama hacks
- Suggested fix
- Give the pauser role to your multisig, or to a key that never sits on a server. Sweep the old bot's balance and revoke its approvals.
Effort A few hours, plus one multisig transaction.
Positions come from an endpoint that is being retired
- What we found
- The dashboard reads positions and history from a subgraph on Subgraph Studio's staging URL. During our checks it fell about 10 minutes behind the chain, and the dashboard showed the old health factors with no sign that they were out of date. When we blocked the endpoint, the dashboard showed no positions and no error.
- Evidence
POST https://api.studio.thegraph.com/query/…/acme-lend/v1.4.0
{ _meta { block { number } } }
Subgraph is 2,400 blocks behind the chain (about 10 minutes)
Endpoint blocked → "No positions", no error shown
- Why it matters
- A health factor 10 minutes old can tell a user they are safe when they are close to liquidation. The Graph is ending Studio staging queries chain by chain. Source: The Graph
- Suggested fix
- Publish the subgraph to The Graph Network and point the app at a Gateway endpoint, with an API key restricted to your domain. Show when the data was last updated whenever it falls more than a minute behind. Read each user's own health factor from the chain, not from the indexer.
Effort One to two days.
F5MediumRPC behaviourSampleOne RPC provider, and a spinner when it fails
- What we found
- Every read goes to one RPC provider. The first load of the dashboard makes 63 calls, 41 of them separate eth_call requests that could go as one multicall. When we blocked the provider, the dashboard kept spinning with no message.
- Evidence
First load of /dashboard, empty cache
arb.rpcnode.example 63 requests
eth_call 41
eth_getBalance 9
eth_chainId 7
eth_blockNumber 6
multicall batches 0
Provider blocked → spinner, no message after 60 s
- Why it matters
- Users need the app most on volatile days, to repay or add collateral, and those are the days providers rate-limit.
- Suggested fix
- Batch reads through Multicall3. Add a second provider and fail over to it; viem's fallback transport does this. When reads fail, say so and offer a retry.
Effort About a day.
Deposits ask for an unlimited approval
- What we found
- The deposit flow asks for an unlimited token approval by default. A wallet that can batch calls still gets two prompts, approve and then deposit, because the app never asks the wallet what it supports. Every wallet we tried connected and showed the right prompts, including an EIP-7702 delegated account.
- Evidence
Deposit 500 USDC, prompt 1 of 2
approve(
spender Pool 0x51c0…a9f3
amount 115792089237316195423570985008687907853269984665640564039457584007913129639935
)
wallet_getCapabilities, asked by us
0xa4b1 atomic: { status: "supported" }
The app sends eth_sendTransaction twice and never asks.
- Why it matters
- An unlimited approval stays open after the deposit. If the pool or anything it trusts is ever compromised, the approved token can be taken from every wallet that approved it.
- Suggested fix
- Approve the exact amount by default and offer unlimited as a choice. When the wallet reports atomic support (EIP-5792), send approve and deposit as one batch.
Effort About a day.
Nothing found: Dependencies.
We read the version strings that wallet and RPC libraries build into your bundle, and checked every script loaded from a public CDN.
Every version we could identify is over a month old, and none is a known compromised release. Nothing loads from a CDN at a floating version such as @latest. No source maps are published.
How we checked.
We used what any visitor can see: public DNS and registry records, the app as a browser loads it, and public chain data. We connected test wallets and read every prompt without signing.
We did not log in anywhere, scan your servers or send more traffic than a normal visit. Contract logic is for your auditors.
Severity.
- High
- Could cost users funds or cost you the domain. Fix this week.
- Medium
- Could take the app down or show users wrong numbers. Fix this month.
- Low
- Worth fixing in the next release.