Skip to content

Case study · Web3

Decentralised On-Chain Perpetual Futures Exchange

Every live web host held behind a rate-limited edge authentication wall with zero confirmed exploitable vulnerabilities, while an egress boundary blocked live on-chain verification and two false-diagnosis traps were refuted.

Findings · 4
4 Other
FindingVulnerabilitySeverity
3.1Single-layer edge authentication gate with no WAF or verified SIEM alertingEdge fingerprinting across perpdex.example, www.perpdex.example, app.perpdex.example, and api.perpdex.example confirmed two CNAME targets and four edge deployment instances, all returning HTTP 401 with waf_detected: false.Info
3.2Unverified smart-contract custody boundary: Gate deposit and transfer primitives (WB-001)Hypothesis WB-001 targets access control and cross-account isolation on Gate fund-movement operations (release, gather, and scatter) and the no_unprivileged_token_exfil invariant.BlockedHypothesized High
3.3EIP-1967 proxy upgradeability, privileged roles, and static detector candidates (WB-002, WB-003)EIP-1967 storage probes targeted slot 0x0 (owner), slot 0x1 (paused), and the standard implementation slot 0x360894a1....BlockedHypothesized Medium–High
3.4Scope-manifest drift: chain-ID mismatch and 11 unlisted production contractsThe engagement manifest sent the assessment after the wrong chain ID on L2 Rollup A (testnet instead of mainnet), omitted 11 active auxiliary contracts that the exchange's own SDK relies on…Info

Executive summary

What we were asked to do

An on-chain perpetual futures exchange deployment and its associated web estate commissioned an external, URL-only black-box assessment covering both its public web surface and its deployed V3 smart-contract architecture across two EVM Layer-2 networks. No source code, no visitor credentials, and no privileged bypass tokens were supplied.

The engagement produced zero confirmed exploitable vulnerabilities — and a textbook demonstration of why forensic honesty, scope-manifest verification, and refusing to report synthetic tool output matter as much as finding a live exploit.

Principal findings

Every live web host held behind an edge authentication wall, while an egress policy blocked live on-chain verification of 16 deployed smart contracts. Across 17 hostnames discovered via Certificate Transparency logs, 13 were dead (NXDOMAIN) with zero takeover risk and all 4 live hosts returned an identical HTTP 401 password gate across every tested path; 11 credential probes, OIDC header checks, and bypass-token tests all failed with per-deployment rate limiting confirmed. On-chain, all external L2 RPC, explorer, and subgraph queries were denied by the domain-boundary egress gate, leaving three smart-contract hypotheses blocked at static/fixture tier. The critical catch was a two-part refutation: an earlier pass had called the exchange's production contracts "placeholder addresses" after seeing empty bytecode (0xc5d246...), caused by a testnet-vs-mainnet chain-ID mismatch in the manifest plus silent fixture-mode fallback on RPC denial. Cross-checking the published AMM SDK proved all 13 core addresses were real production contracts, uncovered 11 unlisted auxiliary contracts, and prevented synthetic zeroed slots from being misreported as an uninitialized EIP-1967 proxy vulnerability.

What this means in plain terms

Three things a board should take from this.

  • Zero confirmed findings does not clear the smart contracts — it means the web perimeter held and the blockchain layer could not be reached. The web edge blocked every unauthenticated request before application code ran; the contracts remain unverified because external L2 RPCs were unreachable.
  • The web surface relies on a single outer lock with no secondary WAF and unverifiable alerting. The edge gate stopped all probes, but no WAF/IDS sits behind it and SIEM alerting on failed logins could not be confirmed. A leaked visitor password or bypass token exposes the origin immediately.
  • Two scope and tooling traps nearly inverted the report. A wrong chain ID and silent fixture fallback made live contracts look both "empty" (false negative) and "uninitialized" (false positive). SDK cross-verification corrected the inventory and kept synthetic output out of the findings ledger.

The five things that need a decision, not a patch

#What is wrongBusiness impactWho decides
1Web perimeter relies on a single edge password gate with no WAF/IDS and unverified SIEM alertingThe gate held against external probes, but any leaked password or bypass token exposes the entire origin with no confirmed detection layer.Security operations + platform engineering
2Engagement manifest carried a testnet-vs-mainnet chain-ID mismatch and omitted 11 production SDK contractsA flawed scope manifest causes automated assessments to test the wrong chain and miss critical oracle feeders, beacons, and routers.Protocol engineering + security governance
3Egress boundaries blocked all L2 RPC, explorer, and subgraph traffic during the assessment windowSixteen manifest contracts (plus 11 SDK auxiliary contracts) and three fund-safety invariants could not be tested against live on-chain state.Security governance + assessment sponsor
4Three high-impact Web3 hypotheses (Gate custody transfers, EIP-1967 proxy init, 7 static candidates) remain open at E0–E1 tierUnverified hypotheses are neither confirmed bugs nor clean bills of health; they require an RPC-enabled, source-assisted follow-up pass.Protocol engineering
5Six privileged smart-contract roles govern custody, emergency pause, and price feeders without verified multisig/timelock stateGovernance compromise across Gate, Guardian, Config, Observer, or FeederFactory would allow fund lockup or manipulated liquidations.Protocol governance + risk committee

What we did not get

No foothold on any web host. No client-side JavaScript bundles, ABIs, or cookies accessed. No credentials or bypass tokens harvested. Zero of three crown-jewel objectives achieved. No on-chain state modified and no user funds touched.

The external web surface was hard-blocked at the edge middleware before any origin handler executed. On the Web3 surface, the assessment respected the domain-boundary egress policy rather than attempting to tunnel around it, and quarantined every fixture-mode signal rather than claiming unverified on-chain proof.

Engagement outcome

An authorized external security assessment of an on-chain perpetual futures exchange deployment and its associated web estate recorded zero confirmed exploitable vulnerabilities, with all four live web hosts uniformly protected by an edge authentication gate and per-deployment rate limiting. Live on-chain verification of the exchange's Layer-2 smart contracts was blocked by assessment egress boundaries, so smart-contract hypotheses were recorded transparently as unverified pending an RPC-enabled follow-up. No credentials were obtained, no foothold was achieved, and no user or protocol funds were affected.


1. The engagement in numbers

MetricValue
Root workstreams4
Total Swarm Size26
Subdomains discovered (CT logs)17
Live web hosts in scope4 (all HTTP 401)
Decommissioned hosts (NXDOMAIN)13
Subdomain takeover candidates0
Exposed unauthenticated endpoints0
Smart contracts in engagement manifest16 (11 on L2 Rollup A, 5 on L2 Rollup B)
Additional production contracts found via SDK11 (L2 Rollup A auxiliary components)
Confirmed exploitable findings0
Infrastructure-blocked hypotheses6 (3 web perimeter, 3 smart-contract)
Hardened / informational observations1
Credentials harvested0

The zero in the confirmed-findings row is deliberate and belongs in the executive table. Seven static Web3 detector candidates and a zeroed EIP-1967 implementation slot appeared in fixture output during the run; promoting synthetic output to confirmed findings would have fabricated severity out of an egress block. Recording zero confirmed findings alongside six transparently categorized blocked hypotheses is the honest result.

Agent topology

RoleSessionsResponsibility
Recon19CT-log & DNS enumeration, edge/CDN fingerprinting, headless live crawl, Web3 contract & proxy inventory
Orchestrator4Wave coordination, coverage tracking, deliverable merge, refutation adjudication
Hunter / Exploit2Edge auth-gate bypass probes, rate-limit testing, SDK cross-verification of contract addresses
General1Auxiliary synthesis and artifact reconciliation
Fig 01 · Agent topology
Fig 01 · Agent topology

2. What held

Four perimeter and hygiene controls held consistently across every wave.

  • Edge Deployment Protection blocked every unauthenticated web path. All four live hosts (perpdex.example, www.perpdex.example, app.perpdex.example, api.perpdex.example) returned the identical HTTP 401 password gate across every probed path (/, /api, /graphql, /robots.txt, /sitemap.xml, /.env, /.git/config, /_next, /.well-known, /llms.txt, /index.txt) with zero cookies and zero exposed JavaScript bundles.
  • Per-deployment rate limiting held against password probing. Eleven password attempts failed, and telemetry confirmed independent rate-limit counters per deployment instance (including /graphql).
  • Alternative edge bypass vectors were closed. OIDC trusted-source header injection (x-<edge>-trusted-oidc-idp-token) failed (no trusted issuer configured), invalid bypass-token parameters/cookies returned 401, and CLI-assisted fetch paths were refused.
  • Security headers and DNS hygiene held. Every live host served HSTS (max-age=63072000), X-Frame-Options: DENY, and Cache-Control: no-store, max-age=0; all 13 NXDOMAIN hosts had zero dangling-CNAME takeover candidates.
Fig 02 · 2. What held
Fig 02 · 2. What held

The refutations: two false diagnoses prevented from becoming false reports

This is the most transferable section of the assessment. Without rigorous cross-verification, the same underlying egress block would have produced both a false negative and a false positive in the same report.

Refutation 1 — "Empty bytecode / placeholder addresses" and the fixture-mode proxy-init trap. An early Web3 pass inspected the L2 Rollup A addresses and observed code hash 0xc5d246... (Ethereum's universal keccak256("") empty-bytecode hash), zero Vault balance, and zeroed EIP-1967 slots (owner = 0x0, paused = false, implementation = 0x0). That produced two contradictory misreadings: the manifest labelled the addresses "likely reference/placeholder values," while static detectors flagged the zeroed slots as an uninitialized EIP-1967 proxy (UPGRADE-VULN-INIT-01).

Cross-checking against the protocol's published AMM SDK exposed both root causes:

  1. The addresses were real, not placeholders. All eight core L2 Rollup A addresses and five core L2 Rollup B addresses matched the live production SDK verbatim, plus 11 auxiliary contracts (beacons, feeder factories, routers, factories) omitted from the manifest.
  2. A chain-ID mismatch poisoned the first check. An earlier pass queried the wrong network context, and the manifest itself listed L2 Rollup A's testnet chain ID instead of mainnet.
  3. Silent fixture-mode fallback poisoned the second check. After correcting the chain IDs, the domain-boundary policy denied egress to all external L2 RPCs, block explorers, and subgraphs, silently dropping the Web3 toolchain into fixture mode (emitting synthetic empty code and zeroed slots).
Fig 03 · The refutations: two false diagnoses prevented from becoming false reports
Fig 03 · The refutations: two false diagnoses prevented from becoming false reports

Refutation 2 — Inventory drift and dead-host takeover claims. A prior inventory artifact carried three extra L2 Rollup A addresses (<redacted>) with no SDK provenance, ABI, or role metadata; audit separated them as unverified inventory noise rather than active protocol surfaces. Likewise, 13 decommissioned subdomains from Certificate Transparency logs (including retired analytics and documentation hosts) were tested for subdomain takeover and eliminated with zero dangling records.


3. Surface map, blocked hypotheses, and architectural risks

Because zero exploitable vulnerabilities were confirmed, every item below is explicitly tagged with its forensic status: Informational / Defense-in-Depth Gap, Blocked — Unverified, or Scope Integrity / Refuted.

How the estate was mapped

Fig 04 · How the estate was mapped
Fig 04 · How the estate was mapped

3.1 Single-layer edge authentication gate with no WAF or verified SIEM alertingInformational / Defense-in-Depth Gap

In plain terms. All four live web hosts sit behind an edge password wall that blocked every external probe (BF-001, BF-002, BF-003 all failed). That outer lock worked — but it is the only visible control. No Web Application Firewall (WAF) or Intrusion Detection System (IDS) sits in front of or behind the gate, and repeated authentication failures produced no verifiable operator alerting.

What. Edge fingerprinting across perpdex.example, www.perpdex.example, app.perpdex.example, and api.perpdex.example confirmed two CNAME targets and four edge deployment instances, all returning HTTP 401 with waf_detected: false. Eleven password probes hit per-deployment rate limits while OIDC and bypass-token checks returned 401; no WAF challenge, IDS block, or external alert was observed.

How we found it. Through CT-log and DNS enumeration (17 hostnames), edge fingerprinting, headless live crawl (GET / → 401, single POST / password form, zero scripts/cookies), and controlled probes across all four documented unlock paths (password, OIDC header, bypass token, and CLI fetch).

Root cause. Pure perimeter reliance on managed edge deployment protection without layered WAF/IDS controls or confirmed SIEM ingestion of edge authentication failures.

Fig 05 · 3.1 Single-layer edge authentication gate with no WAF or verified SIEM alerting
Fig 05 · 3.1 Single-layer edge authentication gate with no WAF or verified SIEM alerting

Impact. Today, external attackers cannot reach the application, GraphQL endpoints, or client-side Web3 signing bundles. However, because the architecture is a hard shell around an uninspected interior, credential leakage (a shared visitor password or leaked bypass token) would expose the origin application immediately with no secondary WAF layer and unconfirmed detection coverage.

Fix. Keep edge Deployment Protection enabled for pre-public environments, wire edge authentication failure logs into SIEM alerting with threshold notifications, and deploy a WAF/IDS policy before any host is opened to public trading traffic.


3.2 Unverified smart-contract custody boundary: Gate deposit and transfer primitives (WB-001)Blocked (Hypothesized High)

In plain terms. In the perpetuals exchange V3 architecture, user funds enter through a central Gate contract, rest in a Vault for collateral custody, trade inside Instrument/Market AMM contracts, consume prices from an Observer and oracle feeders, and can be halted by a Guardian. Because Gate mediates deposits, withdrawals, token whitelists, and internal fund-routing primitives, any authorization flaw or reentrancy bug there puts custody at risk. That surface was mapped from SDK configuration but could not be verified against live bytecode because L2 RPC egress was blocked.

What. Hypothesis WB-001 targets access control and cross-account isolation on Gate fund-movement operations (release, gather, and scatter) and the no_unprivileged_token_exfil invariant. Both L2 Rollup A and L2 Rollup B deploy Gate contracts confirmed in the AMM SDK, and static modeling identified Gate as an admin/custody pivot. Every request to fetch live bytecode, verified ABIs, storage layouts, or event logs (Transfer, Approval, Deposit, Withdraw) was denied by the domain-boundary gate.

How we found it. By reconstructing the V3 contract topology from the engagement manifest and published AMM SDK, then verifying reachability of L2 RPC, block-explorer, and subgraph endpoints.

Root cause (of the verification gap). A URL-only domain-boundary egress policy blocked blockchain RPC traffic, capping WB-001 at E0–E1 static hypothesis confidence.

Fig 06 · 3.2 Unverified smart-contract custody boundary: Gate deposit and transfer primitives (`WB-001`)
Fig 06 · 3.2 Unverified smart-contract custody boundary: Gate deposit and transfer primitives (`WB-001`)

Impact. Unverified. If an authorization, IDOR, or reentrancy defect exists in live Gate custody transfers, an unprivileged or flash-loan-funded attacker could manipulate balances or drain deposited collateral. Because live bytecode and storage could not be inspected, neither exploitability nor safety is proven.

Fix. Authorize an RPC-enabled, source-assisted smart-contract pass that allowlists read-only L2 Rollup A and L2 Rollup B RPC endpoints, runs invariant fuzzing against no_unprivileged_token_exfil on a local mainnet fork, and verifies Gate caller restrictions and reentrancy guards.


3.3 EIP-1967 proxy upgradeability, privileged roles, and static detector candidates (WB-002, WB-003)Blocked / Fixture-Only (Hypothesized Medium–High)

In plain terms. The exchange uses upgradeable EIP-1967 proxies and beacons governed by six privileged roles (Config owner, Gate owner, Guardian, Observer owner, and two FeederFactory owners). Fixture-mode scanning flagged an initializer re-initialization candidate (WB-002) alongside seven additional static Web3 detector candidates (WB-003). Because the scanner read synthetic fixture zeros instead of live chain storage, none of these candidates are confirmed findings — they remain quarantined until live storage slots and admin-key custody are verified.

What. EIP-1967 storage probes targeted slot 0x0 (owner), slot 0x1 (paused), and the standard implementation slot 0x360894a1.... Under blocked RPC egress, fixture mode returned all-zero values, causing UPGRADE-VULN-INIT-01 (WB-002) and seven E0–E1 detector candidates (WB-003) to fire. Separately, SDK and threat-model analysis established a high-confidence structural trust map with three core invariants (no_unprivileged_token_exfil, guardian_can_pause, config_owner_controls_params), proxy upgradeability, Ethereum-L1-finalized finality assumptions, and unprivileged plus flash-loan attacker capabilities.

Privileged RoleContractGovernance CapabilitiesLive Verification Status
Config ownerConfigInstrument listing, fee parameters, risk parametersBlocked (RPC egress denied)
Gate ownerGateDeposit/withdraw controls, collateral token whitelistBlocked (RPC egress denied)
GuardianGuardianEmergency pause, market status transitions, settlementBlocked (RPC egress denied)
Observer ownerObserverPrice-feed configuration, TWAP snapshot periodBlocked (RPC egress denied)
FeederFactory owner (Emergency)FeederFactory (Emergency)Emergency oracle feeder creation and parameter updatesBlocked (RPC egress denied)
FeederFactory owner (Pull-Oracle)FeederFactory (Pull-Oracle)Pull-oracle feeder creation and parameter updatesBlocked (RPC egress denied)

How we found it. By inspecting the provenance metadata of the proxy-admin and storage-layout scans and noticing that 0xc5d246... empty bytecode and zeroed storage slots persisted even after correcting the chain ID — proving the outputs came from fixture mode rather than live L2 state.

Root cause. Two compounding issues: silent fixture fallback in offline Web3 tooling (which generates misleading zeroed proxy slots) and lack of RPC/source visibility into whether live proxies disable initializers (_disableInitializers()) and lock admin roles behind multisig plus timelock governance.

Fig 07 · 3.3 EIP-1967 proxy upgradeability, privileged roles, and static detector candidates (`WB-002`, `WB-003`)
Fig 07 · 3.3 EIP-1967 proxy upgradeability, privileged roles, and static detector candidates (`WB-002`, `WB-003`)

Impact. Unverified. An uninitialized implementation or compromised EOA holding Gate, Guardian, Config, or FeederFactory could pause markets, inject bad price feeders, or upgrade vaults. If live proxies are initialized and governed by timelocked multisigs, these hypotheses collapse to zero.

Fix. Query live EIP-1967 admin and implementation slots on both L2 rollups, verify initializer locks on all implementations and beacons, confirm multisig + timelock custody across all six roles, and enforce hard-fail mode on offline Web3 tooling when RPC egress is denied.


3.4 Scope-manifest drift: chain-ID mismatch and 11 unlisted production contractsOperational / Scope Integrity Finding

In plain terms. The engagement manifest sent the assessment after the wrong chain ID on L2 Rollup A (testnet instead of mainnet), omitted 11 active auxiliary contracts that the exchange's own SDK relies on, and carried three unverified legacy addresses from an older inventory pass.

Surface GroupEngagement ManifestPublished AMM SDK RealityStatus
L2 Rollup A — Chain IDTestnet chain IDMainnet chain IDMismatch corrected
L2 Rollup A — Core contracts8 (Config, Gate, Guardian, Observer, 3 Markets, Vault)8 verbatim matchesAddresses confirmed real; live bytecode blocked
L2 Rollup A — Auxiliary contracts0 listed11 (Market Beacon, DEX-v2 Market, 2 FeederFactorys, 2 Feeder Beacons, 2 DEX-v2 Routers, 2 DEX-v2 Factories, wrapped native token)Scope blind spot uncovered
L2 Rollup A — Legacy extra addresses3 (<redacted>)0 matches, no metadataRefuted as inventory drift
L2 Rollup B — Core contracts5 (Config, Gate, Guardian, Observer, Emergency Market)5 verbatim matches (+ wrapped native token)Addresses confirmed real; live bytecode blocked

Fix. Regenerate engagement scope manifests directly from canonical deployment registries or signed SDK release manifests, include oracle feeder factories and upgradeable beacons explicitly, and prune unverified legacy addresses.


Forensic status ledger

IDItemClassificationSeverity / TierOutcome
INFO-001Edge Deployment Protection on 4 live hosts (no WAF/IDS; SIEM unverified)Hardened / Defense-in-Depth GapInfoPerimeter held; secondary monitoring gap noted
BF-001Edge visitor-password brute force (11 probes)Blocked (Perimeter Held)Low (Blocked)All incorrect; per-deployment rate limit confirmed
BF-002Trusted-source OIDC header bypassBlocked (Perimeter Held)Low (Blocked)No trusted OIDC issuer configured
BF-003Bypass-token parameter & CLI/MCP bypassBlocked (Perimeter Held)Low (Blocked)Invalid token returned 401; no valid token
WB-001Gate contract custody transfer / IDOR (release/gather/scatter)Blocked (RPC Egress)High (Unverified)E0–E1 only; requires live RPC & fork test
WB-002EIP-1967 proxy initializer re-initialization (UPGRADE-VULN-INIT-01)Blocked / Fixture-OnlyHigh (Unverified)Fired on synthetic fixture zeros; quarantined
WB-0037 static Web3 detector candidates (upgrade, custody, AMM invariants)Blocked / Fixture-OnlyMed–High (Unverified)All E0–E1 tier; requires live bytecode & ABI
REF-001"Empty bytecode / placeholder addresses" claimRefutedN/ACaused by chain-ID mismatch + RPC fixture mode; 13 core addresses match SDK
REF-00213 dead subdomains & 3 unverified legacy contract addressesRefutedN/A0 subdomain takeovers; 3 addresses lacked SDK provenance

4. Kill chain summary

Fig 08 · 4. Kill chain summary
Fig 08 · 4. Kill chain summary
ChainMITRE / Stage ReachedTerminated atData obtained
Edge password auth (BF-001)T1110 — Initial Access (Blocked)Per-deployment rate limit (11 probes)None
Edge OIDC & bypass token (BF-002, BF-003)T1190 / T1078 — Initial Access (Blocked)Edge 401 middleware; no trusted issuerNone
Subdomain & path discoveryRecon (Completed)13 NXDOMAIN (0 takeovers); 4 hosts 401Public CT/DNS & edge headers only
L2 Rollup A & B Gate/Proxy verification (WB-001–WB-003)T1133 / T1071.003 — Recon/Verification (Blocked)Domain-boundary RPC egress denialPublic SDK address map only; zero live chain state
Client-side JS / Web3 signing analysisT1255 — Recon (Blocked)Edge 401 wall blocked browser & bundlesNone

5. What the shape of this engagement teaches

A zero-finding report is a feature of disciplined testing, not a failure of effort. When an edge wall holds and an egress policy blocks blockchain queries, distinguishing verified safe, blocked from verification, and refuted gives leadership an honest map of residual risk.

Silent fixture-mode fallback is a dangerous false-positive factory in automated Web3 testing. When an RPC query fails and a tool quietly emits empty bytecode (0xc5d246...) and zeroed EIP-1967 slots, detectors flag synthetic zeros as uninitialized proxies. Offline tools must hard-fail on RPC denial.

Cross-verify engagement manifests against published SDKs before trusting chain IDs or address lists. One testnet-vs-mainnet mismatch made real contracts look empty, and a stale list hid 11 live auxiliary contracts — including the oracle feeder factories and beacons governing pricing and upgrades.

An edge authentication wall is an effective outer lock, not complete defense-in-depth. Deployment protection stopped every probe, but with no WAF/IDS behind it and unverified SIEM alerting on failed logins, a leaked password or bypass token exposes the origin without confirmed detection.

Mixed web-and-Web3 assessments fail silently when web egress policies block blockchain RPCs. Scoping rules for on-chain protocols must explicitly allow read-only L2 RPC, explorer, and subgraph egress up front — or separate web-perimeter testing from on-chain auditing.

PriorityActionWhy firstEffort
1Reconcile the smart-contract scope manifest against the live AMM SDKFixes L2 Rollup A testnet-vs-mainnet mismatch, adds 11 unlisted auxiliary contracts, and prunes 3 drift addressesVery low
1Authorize an RPC-enabled, source-assisted follow-up pass on both L2 rollupsResolves WB-001, WB-002, and WB-003 with real bytecode, live storage slots, and fork-based invariant testsMedium
2Verify multisig and timelock custody across all 6 privileged protocol rolesConfirms no single EOA can pause markets, manipulate oracle feeders, or upgrade Gate/Vault proxiesLow
2Wire edge authentication failure logs into SIEM alerting and evaluate WAF/IDS coverageEliminates the blind spot behind the single-layer edge password wallLow
3Supply scoped credentials or a temporary bypass token for an authenticated web-app passUnlocks origin routes, GraphQL schemas, and client-side Web3 signing flows currently behind HTTP 401Low
3Enforce hard-fail mode on offline Web3 recon tooling when RPC egress is deniedPrevents synthetic fixture output from ever mimicking empty bytecode or uninitialized proxiesLow
4Preserve DNS decommissioning discipline across retired subdomainsKeeps dangling-CNAME takeover exposure at zero as environments rotateLow

Notices

Authorization

This was an authorized security assessment conducted under a written engagement agreement, strictly confined to in-scope assets in non-destructive external black-box mode. Password probing halted after 11 attempts once per-deployment rate limiting was confirmed; zero attempts were made to bypass the domain-boundary egress policy; no credentials or client bundles were harvested; and zero on-chain transactions were broadcast.

Redaction

Every hostname, CNAME hash, deployment identifier, chain ID, RPC URL, smart-contract address, and organisation or vendor name in this document has been replaced with a placeholder or generalised.

What was removed:

  • All real hostnames, subdomains, domain names, and retired subdomain labels
  • All CDN CNAME hashes, edge deployment instance IDs, region codes, IP addresses, and ASNs
  • All RPC, block-explorer, and subgraph endpoint URLs
  • All smart-contract addresses, deployer addresses, and token addresses
  • Organisation, investment-firm, protocol, and AMM-engine brand names
  • Third-party vendor names, including the edge hosting provider, oracle providers, and specific Layer-2 network names and chain IDs
  • Exact calendar dates, timestamps, and geographic/headcount details

What was kept, deliberately: vulnerability hypotheses (BF-001–BF-003, WB-001–WB-003), architectural contract roles (Config, Gate, Guardian, Observer, Market, FeederFactory, Vault), universal Ethereum constants (EIP-1967 implementation slot 0x360894a1... and empty-bytecode keccak256("") hash 0xc5d246...), session/subdomain/contract counts as magnitudes, the chain-ID mismatch and silent fixture-mode refutation sequence, and MITRE ATT&CK termination stages. These are transferable engineering lessons and identify nobody.

Placeholders used throughout:

PlaceholderMeaning
perpdex.examplePrimary public web domain
www.perpdex.examplePrimary web alias (shared primary CNAME target, distinct deployment instance)
app.perpdex.exampleSecondary portal host (distinct CNAME target)
api.perpdex.exampleSecondary application/terminal host (shared secondary CNAME target, distinct deployment instance)
L2 Rollup A / L2 Rollup BThe two EVM Layer-2 networks hosting the exchange's V3 smart contracts
<redacted>Any contract address, CNAME hash, deployment ID, chain ID, or RPC endpoint

Data handling

No proprietary application data, user data, credentials, private keys, or contract addresses are reproduced. All web responses terminated at the generic HTTP 401 edge gate, and all smart-contract analysis relied exclusively on public SDK architecture metadata and local threat modeling.

Disclaimer

Findings reflect the tested systems during the engagement window; posture changes over time.

Zero confirmed exploitable vulnerabilities is NOT a clean bill of health for the smart contracts. The web perimeter held, whereas all three smart-contract hypotheses (WB-001–WB-003) were blocked by RPC egress boundaries and remain unverified at E0–E1 tier until tested against live chain state and source.

Both refutations are preserved in full so readers recognise how a chain-ID mismatch and silent fixture-mode fallback can simultaneously fabricate a false negative and a false positive.


Methodology and tooling by BlackBit. An external perimeter verified holding, an RPC-blocked Web3 surface reported honestly as unverified, and a dual chain-ID and fixture-mode trap refuted before reaching the findings ledger. Published with the client's permission.

More in Web3

← All case studies