AnySec
Vulnerability Assessment for a Crypto Exchange: Scoping the Withdrawal Pipeline, Trading APIs, and Custody Vendors
← InsightsInfrastructure · 7 min read

Vulnerability Assessment for a Crypto Exchange: Scoping the Withdrawal Pipeline, Trading APIs, and Custody Vendors

A crypto exchange's exposed surface is not a casino's. How to inventory the withdrawal pipeline, trading and market-data APIs, node endpoints and custody vendors, and scope a vulnerability assessment around who owns each.

By AnySec EngineeringAnySec engineering

The short answer

A crypto exchange's most valuable exposed surface is not the website. It is the set of systems that accept orders, publish prices, move deposits and withdrawals, talk to blockchain nodes and hand customer identity checks to vendors. A vulnerability assessment is only as good as the inventory it starts from, so list those systems first, mark which ones you own, which you control at an integration seam and which a vendor owns, and scope the assessment around the first two. Anything that can move funds should be scoped as its own exercise, not folded into a routine scan.

Who this is for

This is for a CISO, head of platform or engineering lead at a crypto exchange or trading venue who has scanned the main domain and the web application, and suspects the API, node and operations estate behind it was never fully in scope. For the question of how often to run one, see how often a crypto exchange should run a vulnerability assessment. This article is about what the assessment should cover.

Where an exchange's surface actually lives

Start from what a trader, a market-data consumer and an operations engineer can each reach, and write down every host.

SurfaceWhy it mattersWho owns the fix
Trading APIs (REST, WebSocket, FIX-style gateways)Order entry and account actions, often several versions live at onceYou
Market-data and public price feedsHigh-volume public endpoints that share infrastructure with the restYou
Deposit and withdrawal pipelinePublic callbacks, queues and approval services around moving fundsYou
Blockchain node and RPC endpointsExposed ports and admin interfaces are common misconfigurationsYou, or the node provider
Admin, support and operations consolesShould not be reachable from the public internetYou
KYC, custody and payment vendor integrationsCallbacks, API keys and trust in vendor responsesShared: vendor operates, you validate
Mobile app backends and legacy API versionsOlder hosts are where forgotten exposure collectsYou

Build the inventory before the quote

A scanner can only test what it is pointed at. Before you ask anyone for a quote, assemble:

  1. Hostnames and IP ranges, including staging, sandbox and regional hosts. Certificate transparency logs and DNS records often reveal hosts the team has forgotten.
  2. API hosts and versions, including deprecated ones that still answer.
  3. Node and RPC endpoints reachable from outside, with the provider that runs each.
  4. Inbound endpoints: deposit notifications, vendor callbacks, webhooks and anything a partner calls.
  5. Operations and admin interfaces, with a note on who can reach each and from where.
  6. Vendors on the money and onboarding path: custody, KYC, payments, market makers.
  7. Ownership: for each item, who can fix it.

The same discipline applies in adjacent verticals; see how it works for a Web3 front end in vulnerability assessment for a DeFi protocol.

What to scope in

Scope in what you own and what you control at the seam:

  • Your hosts and exposed services, scanned from outside, with authenticated checks where you can provide test accounts at several privilege levels.
  • Your API surface, including old versions, error handling and rate-limit behaviour, as far as a non-intrusive assessment can observe.
  • Your integration with each vendor: where keys are held, whether callbacks are authenticated, and how your systems behave when a vendor response is missing or malformed.
  • Node and RPC endpoints you run, checking that administrative interfaces are not exposed.

What to keep out of a routine assessment

Two categories need separate treatment.

Anything that can move funds. Signing services, withdrawal approval logic and wallet infrastructure should not be probed as a side effect of a routine scan. If they are in scope, define it explicitly, test against a staging replica where possible, and agree stop conditions in the rules of engagement. Testing the logic of a withdrawal flow is closer to a penetration test of a crypto exchange than to a scan.

Vendor-owned infrastructure. Weaknesses in a custody provider's or KYC vendor's hosted service are theirs to fix, and testing it without permission may breach their terms. Check each testing policy and ask in the contract for a way to receive and act on their findings. A scan result that lists a vendor-hosted issue should become a ticket to the vendor with an owner.

What the report must separate

Ask for findings grouped by ownership, so nothing is lost between teams:

  • Findings on assets you own, with severity and a fix.
  • Findings in your integration with a vendor, for example a callback endpoint that accepts unauthenticated input.
  • Items that belong to a vendor, with evidence you can pass on.

Then handle the output the way described in triaging vulnerability scan results: a short critical list, a fix queue and an owner for each line. Where the same inventory reveals hosts that should not be exposed at all, the follow-up is usually hardening rather than another scan.

Limitations

This article is not legal or regulatory advice and does not say what any regulator or licence requires of a crypto exchange. It names no statistics. A vulnerability assessment finds known weaknesses on the assets it is pointed at; it does not prove the absence of others, and it does not test business logic such as withdrawal approval rules. Vendor testing rules differ, so confirm them in each contract.

Decision and next step

If you can list every hostname, API version, node endpoint, callback URL and vendor on the funds path, and name an owner for each, you can scope an assessment properly. If not, that list is the first deliverable. Request an asset-scope quote and we will reply with a fixed quote and rules of engagement.

Sources and review

No external statistics or regulatory claims are used. Author: AnySec Engineering. Published 2026-10-30; last reviewed 2026-10-30.


Related reading


To scope a crypto exchange assessment, request an asset-scope quote.

Rather not learn this in production.

Talk to the engineers behind these write-ups — no sales script, a straight read on where you stand.

Get a fixed quote