Skip to content

Case study · Web3

Sharded Layer-One Blockchain Ecosystem and Account Abstraction Platform

Across 158 agent sessions, core treasury authentication and edge boundaries held with zero critical, high, or medium findings, confirming eight low- and info-grade exposures plus ten explicitly bounded authenticated leads.

Findings · 5
4 Low1 Other
FindingVulnerabilitySeverity
3.1Open cross-origin write on embedded campaign analytics backendCWE-352The ecosystem's campaign and perpetuals landing pages send funnel events to a hosted self-managed analytics collector.Low
3.2Unauthenticated staging health internals and account/contract-type oraclesCWE-200The staging treasury API sits on the public internet and exposes two unauthenticated information-disclosure paths before its authentication wall.Low
3.3Asymmetric API boundary, internal realm disclosure, CORS credential header, and missing headersCWE-200, CWE-942On the production treasury API origin, some /api/* routes answer publicly while root, .well-known, and /api/v1/* paths sit behind an HTTP Basic wall naming an internal "Business Jobs Board" service.Low
Missing six HTTP security headers on staging treasury web and API (staging.l1chain.example, api.staging.l1chain.example)CWE-693Exact header parity gap with production (HSTS, CSP, XCTO, XFO, Referrer-Policy, Permissions-Policy absent; framework X-Powered-By emitted).Low
SPA 404 flight payload discloses full route inventory (app.l1chain.example)CWE-200Any unmatched path (including /robots.txt and /sitemap.xml) returns 200 text/html inside a dynamic [treasuryId] catch-all whose flight payload lists all 11 sibling top-level routes (app, blocked, create, data, join, login, privacy-policy…Info

Executive summary

What we were asked to do

A sharded layer-one blockchain ecosystem operating an institutional treasury and account-abstraction platform asked us to assess its public estate from an unauthenticated external vantage point. The estate spans a production treasury web app and API, a staging environment with live indexer enrichment, a documentation portal publishing agent-discovery manifests, campaign satellites, and embedded third-party wallet and analytics integrations.

Across 158 agent sessions and 70 audited swarm workstreams, the engagement found no unauthenticated path to treasury funds, signing keys, or sessions — and produced a disciplined map of low-severity leaks, one confirmed cross-origin analytics write, and a prioritised backlog gated behind authentication and edge bot challenges.

Principal findings

Core authentication walls held across the estate, leaving eight confirmed low- and informational-severity findings rather than a critical compromise. The single confirmed cross-origin write sat outside the core protocol: an embedded campaign analytics backend accepted forged cross-origin events with wildcard CORS and no CSRF or authentication, allowing arbitrary origins to poison funnel metrics. Inside the treasury estate, staging `/api/health` exposed internal job-lock leases, database pool counters, and indexer cursors anonymously, while unauthenticated `/api/proposals/{accountId}` and `/api/auth/login` behaved as account-existence and smart-contract-type oracles, and six HTTP security headers were absent across production and staging origins. Equally important, three apparent leads — Access-Control-Allow-Credentials: true without origin reflection, 35 uniform 403 hidden-route hits, and an advertised unauthenticated docs MCP endpoint — were kept separate from confirmed exploits rather than inflated into false positives.

What this means in plain terms

Three things a board should take from this.

  • Unauthenticated attackers did not reach treasury assets, accounts, or private APIs. The wallet and passkey login wall, the uniform HTTP Basic wall on non-public API routes, and the application-identifier gate on the embedded wallet gateway all held.
  • Peripheral and staging surfaces leaked operational detail and accepted forged telemetry. Staging /api/health broadcast live pool sizing, lock IDs, and indexer cursors; an account route revealed on-chain existence and contract type; and a campaign analytics collector accepted cross-origin writes.
  • The highest-value security question sits behind the login wall, and the report says so plainly. The platform's public agent-skill manifest describes a three-role treasury model (Requestor, Finance, Governance) governing irreversible payments and cross-chain swaps. Because testing was unauthenticated, role-boundary verification was staged as a high-priority follow-on workstream rather than guessed at.

The five things that need a decision, not a patch

#What is wrongBusiness impactWho decides
1Public agent-discovery manifests publish the full treasury role matrix, fee rules, and an unauthenticated documentation MCP endpointMachine-readable skill cards and MCP servers are a product choice for AI-agent interoperability, not an accidental leak — but they hand attackers an exact blueprint of irreversible payment workflows and expand the hosted docs surface.Product + security
2Staging treasury APIs expose live operational telemetry (/api/health) and on-chain account/contract-type oracles (/api/proposals/{accountId}) on the public internetStaging mirrors production topology and chain-indexer enrichment. Whether staging should be internet-reachable without a VPN or access proxy is an infrastructure boundary decision.Platform engineering
3An embedded campaign analytics backend accepts unauthenticated cross-origin writes (POST /api/send with wildcard CORS)Any website can inject fabricated events into campaign conversion funnels, distorting attribution and growth reporting. Decide whether to lock origin validation or tolerate open client telemetry.Growth + security
4Production and staging treasury API origins mix unauthenticated /api/* endpoints with an internal Basic-auth "Jobs Board" realm on non-/api pathsCo-hosting an internal operator surface and a public treasury API behind the same hostname blurs trust boundaries and advertises internal tooling via WWW-Authenticate headers.Platform engineering
5The three-role treasury authorization model (Requestor / Finance / Governance) could not be exercised without authenticated test principalsUnauthenticated perimeter testing confirmed the front door is locked; it cannot prove that a low-privilege Requestor cannot bypass Finance voting or Governance policy controls once inside.Security + treasury engineering

What we did not get

No treasury funds moved. No wallet or passkey session taken over. No bypass of the HTTP Basic wall on production or staging APIs. No cross-origin credentialed read. No GraphQL or OpenAPI schema recovered from gated APIs. No secret files read behind the docs edge challenge. All four primary perimeters held.

Engagement outcome

An authorized external security assessment of the blockchain ecosystem and its treasury platform confirmed that primary authentication boundaries, cross-origin read controls, and API walls held against unauthenticated testing, with zero critical, high, or medium vulnerabilities confirmed. Eight low- and informational-severity findings were identified — staging health telemetry, account/contract-type status oracles, missing HTTP security headers, and an unauthenticated cross-origin write on a peripheral campaign analytics collector — alongside a prioritised queue for authenticated role-permission testing. All findings were disclosed under confidentiality with remediation guidance, and no funds, keys, or private treasury records were accessed.


1. The engagement in numbers

MetricValue
Root workstreams1
Total Swarm Size158
Audited swarm census rows70 (24 top-level + 46 nested)
Confirmed findings8 (0 critical, 0 high, 0 medium, 7 low, 1 info)
Staged unverified hypotheses10 (1 high-priority authz lead, 3 medium, 4 low, 2 info)
Security headers absent on treasury origins6 (HSTS, CSP, XCTO, XFO, Referrer-Policy, Permissions-Policy)
Hidden-route candidates blocked by edge challenge35 (all uniform 403, ~33.9 KB)
Live destructive mutations executed0 (1 benign synthetic analytics probe only)
Silent drops across verified census0

The last two rows are deliberate discipline metrics. A single synthetic event was submitted to verify the cross-origin analytics write (dry_run=false with a clearly labelled probe name), and no wallet/passkey login ceremony or treasury state change was driven. Every succeeded, empty, or interrupted worker across all 70 nested swarm rows was audited by an independent synthesis-verification pass so that negative results and coverage gaps stayed visible instead of disappearing from the report.

Agent topology

RoleSessionsResponsibility
Recon (blackbit-recon)129Multi-host crawling, edge/header profiling, schema discovery, auth mapping, and host-depth vulnerability probing
Scout (blackbit-scout)24Surface promotion, agent-discovery manifest inspection, and staged hypothesis authoring
Research (blackbit-research)3Deep-dive protocol, contract-boundary, and attack-surface analysis
Orchestrator (blackbit)1Swarm wave design, host-depth tasking, and top-level coordination
Synthesis Verifier (blackbit-synthesis-verify)1Census audit across all 70 workstream rows; evidence-to-claim verification
Fig 01 · Agent topology
Fig 01 · Agent topology

2. What held

In an external assessment with zero confirmed critical, high, or medium findings, the controls that held are the core finding — provided they were genuinely tested rather than assumed.

  • Uniform HTTP Basic wall on production and staging business APIs. Every probed path and verb behind the wall on api.l1chain.example and api.staging.l1chain.example — root, /robots.txt, /api/v1/*, URL-encoded /api/v1%2Fhealth, crafted Origin headers, OPTIONS preflights, and invalid Basic credentials — returned the identical 401 challenge with zero differential. WebSocket upgrade probes failed, and OpenAPI/Swagger/GraphQL (__typename) discovery yielded nothing.
  • Wallet and passkey authentication boundary on the treasury app. Pre-auth network captures (415 requests on staging) confirmed a clean 401 API boundary, zero leaked tokens or cookies, and no exposed OIDC discovery misconfiguration.
  • Strict CORS origin allowlist on authenticated API endpoints. Despite emitting Access-Control-Allow-Credentials: true, untrusted origins (https://evil.example, null) never received an echoed Access-Control-Allow-Origin header, blocking credentialed browser reads.
  • Application-identifier gate on the embedded wallet gateway. On auth.l1chain.example, unknown paths returned 404 {} and /api/v1/* uniformly enforced 400 missing_or_invalid_app_id. Framework x-middleware-subrequest bypass probes likewise produced no bypass.
Fig 02 · 2. What held
Fig 02 · 2. What held

Analytical discipline: three apparent leads not promoted to exploits

Three observations looked like medium- or high-severity issues on the surface and would routinely be misreported by scanners. Separating them from confirmed exploits was as important as the findings.

  1. `Access-Control-Allow-Credentials: true` without `ACAO` is not a CORS takeover. OPTIONS and GET on /api/auth/me returned ACAC: true for Origin: https://evil.example, but the allowlist withheld Access-Control-Allow-Origin. Browsers enforce Same-Origin Policy and discard the read. Graded Low (CWE-942), not High.
  2. Thirty-five `403` hidden-route hits were edge bot challenges, not proven secret files. Every sensitive-path probe (.git, .env, admin, swagger) against docs.l1chain.example returned the identical ~33.9 KB hosting-platform challenge template, while /robots.txt returned 200 in a browser and 403 to static probes. Origin existence is unproven — recorded as inconclusive, neither a finding nor an all-clear.
  3. Public agent-discovery manifests are reconnaissance, not a confirmed bypass. docs.l1chain.example intentionally serves /.well-known/agent-card.json, /.well-known/mcp/server-card.json, /.well-known/agent-skills/.../skill.md, and /llms-full.txt. They revealed an unauthenticated docs MCP endpoint (out of scout probe scope) and the Requestor/Finance/Governance matrix (requires authenticated principals). Both were recorded as staged hypotheses, not confirmed vulnerabilities.
Fig 03 · Analytical discipline: three apparent leads not promoted to exploits
Fig 03 · Analytical discipline: three apparent leads not promoted to exploits

3. The findings that mattered

How the estate was mapped

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

3.1 Open cross-origin write on embedded campaign analytics backendLow

In plain terms. The ecosystem's campaign and perpetuals landing pages send funnel events to a hosted self-managed analytics collector. That collector accepts cross-origin POST requests from any website on the internet with no authentication, no CSRF token, and wildcard CORS headers. Any third party can inject fabricated page views and conversion events into the campaign's analytics database.

What. A live replay (POST /api/send on analytics.l1chain.example) carrying Origin: https://evil.example, Referer: https://evil.example/, and a fabricated JSON event payload referencing the campaign website identifier and campaign.l1chain.example returned HTTP 200 ({"beep":"boop"}). Response headers included Access-Control-Allow-Origin: *, Access-Control-Allow-Headers: *, and Access-Control-Allow-Methods: GET, DELETE, POST, PUT (CWE-352).

How we found it. By tracing client-side telemetry destinations from the campaign satellite and testing whether the collection endpoint enforced origin matching or request authenticity. A single benign, synthetically named event confirmed live write acceptance without polluting operational data at volume.

Root cause. Default permissive CORS and unauthenticated ingestion on a standalone analytics collector exposed directly to the public internet without origin allowlisting or server-side write gating.

Fig 05 · 3.1 Open cross-origin write on embedded campaign analytics backend
Fig 05 · 3.1 Open cross-origin write on embedded campaign analytics backend

Impact. Analytics integrity loss and campaign funnel poisoning. An attacker or competitor can inflate or distort conversion metrics and trigger noisy downstream reporting, though no user PII, session state, or on-chain assets are exposed.

Fix. Restrict Access-Control-Allow-Origin and server-side Origin/Referer validation on analytics.l1chain.example to the explicit list of owned campaign hostnames, remove unused PUT/DELETE methods from CORS responses, and apply per-IP rate limiting at the edge.


3.2 Unauthenticated staging health internals and account/contract-type oraclesLow

In plain terms. The staging treasury API sits on the public internet and exposes two unauthenticated information-disclosure paths before its authentication wall. First, /api/health returns live internal infrastructure telemetry — worker lock ownership, database connection-pool counts, and the current blockchain-indexer block cursor. Second, /api/proposals/{accountId} answers differently depending on whether an arbitrary on-chain account exists, has a contract deployed, or matches the expected treasury contract type.

What.

  • GET https://api.staging.l1chain.example/api/health returned 200 OK with JSON detailing background_jobs (global and local lock leases, active flag, lock generation: 25, acquired_at and heartbeat_at timestamps, and a worker instance_id UUID), database (connected: true, idle_connections: 16, pool_size: 20), and third-party indexer enrichment state (cursor_block, enabled: true) (CWE-200).
  • Anonymous GET https://api.staging.l1chain.example/api/proposals/{accountId} returned four distinct unauthenticated states without exposing proposal contents (CWE-200):

- Existing account without a contract -> 404 "Account has no contract deployed" - Non-existent account -> 404 "Account does not exist" - Existing account with a different contract -> 404 "Account is not the expected contract type" - Malformed identifier -> 400 "Invalid URL: ... the Account ID is too short"

  • Corroborated on the production API surface: POST /api/auth/login exposed a parallel account-existence oracle, and unauthenticated GET /api/warnings returned 200 leaking internal workflow-slot vocabulary (actionBySlot).

How we found it. By separating pre-wall /api/* routes from Basic-auth-gated routes during host-depth reconnaissance and probing /api/proposals/{accountId} with four controlled identifier classes (valid non-contract account, non-existent account, non-treasury contract account, and malformed ID).

Root cause. Operational diagnostics (/api/health) and unauthenticated RPC-backed validation errors (/api/proposals/{accountId}) were mounted ahead of the authentication middleware and returned raw backend state strings directly to anonymous callers.

Fig 06 · 3.2 Unauthenticated staging health internals and account/contract-type oracles
Fig 06 · 3.2 Unauthenticated staging health internals and account/contract-type oracles

Impact. Low direct impact on its own — on-chain account existence is already queryable via public rpc.l1chain.example nodes, and no proposal payloads or private treasury records were returned. Combined, however, the endpoints give an external observer live visibility into staging worker restarts, database saturation, indexer lag, and which accounts the platform classifies as valid treasury contracts.

Fix. Return a minimal {"status":"ok"} payload from public liveness checks and move detailed pool, lock, and indexer telemetry behind internal authentication or a private network interface. Collapse unauthenticated /api/proposals/{accountId} lookup failures into a single generic 401 or 404 response, and gate /api/warnings if internal workflow vocabulary is not required pre-login.


3.3 Asymmetric API boundary, internal realm disclosure, CORS credential header, and missing headersLow

In plain terms. On the production treasury API origin, some /api/* routes answer publicly while root, .well-known, and /api/v1/* paths sit behind an HTTP Basic wall naming an internal "Business Jobs Board" service. Alongside that split, the API emits Access-Control-Allow-Credentials: true for untrusted origins, and both production and staging treasury hosts omit six standard security headers.

What.

  • Internal service realm disclosure (`CWE-200`): GET https://api.l1chain.example/.well-known/openid-configuration (and non-/api paths) returned 401 Unauthorized with WWW-Authenticate: Basic realm="<Ecosystem> Business Jobs Board". The host vuln worker noted the realm string as inherent to Basic auth; synthesis retained it at Low for disclosing an internal product name on a public API origin.
  • Permissive CORS credential header (`CWE-942`): OPTIONS /api/auth/me, GET /api/auth/me, and GET /api/warnings with Origin: https://evil.example returned Access-Control-Allow-Credentials: true (plus Allow-Methods / Allow-Headers on OPTIONS) without echoing Access-Control-Allow-Origin. Browsers block reads today; the risk is fragility if origin validation loosens later.
  • Six absent HTTP security headers (`CWE-280`, `CWE-693`): Production (app.l1chain.example, api.l1chain.example) and staging (staging.l1chain.example, api.staging.l1chain.example) omitted Strict-Transport-Security, Content-Security-Policy, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, and Permissions-Policy, while serving X-Powered-By.

How we found it. By correlating edge header inventories across production and staging with path-routing differentials (/ vs. /api/* vs. /api/v1/*) and cross-origin preflight probes.

Root cause. Co-located reverse-proxy routing, global CORS middleware emitting ACAC: true before origin rejection, and no baseline security-header policy at the CDN or application layer.

Fig 07 · 3.3 Asymmetric API boundary, internal realm disclosure, CORS credential header, and missing headers
Fig 07 · 3.3 Asymmetric API boundary, internal realm disclosure, CORS credential header, and missing headers

Impact. Defense-in-depth degradation rather than standalone compromise. Missing CSP and X-Frame-Options increase the blast radius of any future client-side injection or clickjacking bug on a high-value treasury UI; unconditional ACAC: true removes a layer of safety if origin matching regresses; and the Basic realm reveals internal tooling topology.

Fix. Separate internal operator services onto a private hostname with a generic auth realm, emit Access-Control-Allow-Credentials: true only when Origin matches the explicit allowlist, and enforce a uniform edge security-header profile (HSTS, CSP, X-Content-Type-Options: nosniff, X-Frame-Options: DENY, Referrer-Policy, Permissions-Policy) while stripping X-Powered-By.


Also confirmed

FindingSeverityCWESummary
SPA 404 flight payload discloses full route inventory (app.l1chain.example)InfoCWE-200Any unmatched path (including /robots.txt and /sitemap.xml) returns 200 text/html inside a dynamic [treasuryId] catch-all whose flight payload lists all 11 sibling top-level routes (app, blocked, create, data, join, login, privacy-policy, stats, telegram, terms-of-use, wallet).
Missing six HTTP security headers on staging treasury web and API (staging.l1chain.example, api.staging.l1chain.example)LowCWE-693Exact header parity gap with production (HSTS, CSP, XCTO, XFO, Referrer-Policy, Permissions-Policy absent; framework X-Powered-By emitted).

Staged hypotheses — unverified or blocked (not confirmed findings)

Ten scout hypotheses were explicitly recorded as unverified so that follow-on authenticated or challenge-passing workstreams have an accurate starting point without inflating this report's confirmed finding count.

PrioritySurfaceCWEHypothesisWhy not confirmed
Highapp.l1chain.exampleCWE-862Multi-role treasury authorization enforcement (Requestor creates payment/swap requests even without funds; Finance votes; Governance manages members/voting rules; irreversible payments; 14-day deposit addresses; 0.7% intents swap fee; bulk CSV uploads)Assessment was strictly unauthenticated; wallet/passkey login ceremony was out of bounds.
Mediumdocs.l1chain.exampleCWE-306Advertised external documentation MCP server (/.well-known/mcp/server-card.json) declares "authentication": "none" with search and virtualized-filesystem query tools (rg/grep/cat/sed/awk/jq)Explicitly not probed per scout assignment; read-only annotated, live behaviour unverified.
Mediumdocs.l1chain.exampleCWE-20Hosted documentation platform API routes (/_platform/api/*: telemetry 204, not-found-context echoing pathname, csp-report sink) reachable unauthenticatedUnvalidated input / reflection behaviour not tested beyond passive observation.
Mediumdocs.l1chain.exampleCWE-42535 sensitive-path candidates (.git, .env, admin, swagger, etc.) returned HTTP 403 (~33.9 KB) instead of 404Every probe hit the hosting edge's bot-challenge template; origin route existence unproven.
Lowdocs.l1chain.exampleCWE-1021Enforced CSP permits script-src 'self' 'unsafe-inline' 'unsafe-eval' https: on the docs hostNo injection sink demonstrated; platform templating currently prevents exploitation.
Lowdocs.l1chain.exampleCWE-200Link header advertises /.well-known/api-catalog (returns 404), alongside live agent-card (A2A v0.3), MCP card, pinned skill index, and /llms-full.txt (41.6 KB)Catalog contract inconsistency only; no unintended secret material confirmed.
Lowdocs.l1chain.exampleCWE-200Third-party analytics page-title beacons, CDN asset branch identifiers, and a public raw template link pointing to the public docs repositoryUnverified whether any internal or unpublished route titles leak via analytics beacons.
Lowdocs.l1chain.exampleCWE-601Potential open-redirect sink on docs/RSC routing (not-found-context pathname, RSC prefetch redirects)All 18 observed redirects were same-host 308s; no external redirect parameter observed.
Infodocs.l1chain.exampleCWE-693Edge WAF probe baseline inconclusive (benign control triggered backend error; edge CDN confirmed)Recorded to prevent misinterpreting 0 blocked as "no WAF".
Infodocs.l1chain.exampleCWE-209Hosting project/deployment IDs, docs proxy/client versions, and /_next/image 400 region string disclosed in normal responsesReconnaissance metadata only; no platform CVE verified.

4. Kill chain summary

Fig 08 · 4. Kill chain summary
Fig 08 · 4. Kill chain summary
ChainReachedTerminated atData obtained
Campaign analytics collectorStage 4 (exploit / write)Single synthetic event (HTTP 200)None (integrity impact only)
Staging /api/health telemetryStage 5 (collection)Read-only operational JSONLock UUIDs, DB pool counts, indexer cursor
Account & contract-type oraclesStage 5 (collection)Status/error strings onlyExistence & contract-type classification; zero proposal contents
SPA 404 flight payload & Basic realmStage 3 (recon / disclosure)Public route names & realm label11 route names, internal Jobs Board label
API CORS ACAC: trueStage 2 (weaponize)No ACAO header echoedNone (browser blocks cross-origin read)
Business API Basic-auth wallStage 2 (weaponize)Uniform 401 across paths/verbs/encodingsNone
Embedded wallet gatewayStage 2 (weaponize)400 missing/invalid app-ID gateNone
Treasury RBAC (Requestor/Finance/Governance)Stage 1 (staged)Wallet/passkey login boundaryPublic role specification only

5. What the shape of this engagement teaches

A clean unauthenticated perimeter is a result worth proving, not a failure to report. Across 158 sessions and 70 audited workstreams, every major boundary — wallet/passkey login, HTTP Basic gating, strict CORS allowlisting, and the wallet gateway app-ID gate — held. Recording zero critical, high, or medium findings alongside verified negative coverage serves defenders better than inflating hygiene bugs.

Machine-readable AI discovery surfaces belong in the external threat model. The /.well-known/ agent-card, MCP server-card, and skill manifests documented the treasury's role matrix, irreversible payment semantics, swap fees, and an unauthenticated docs MCP server in structured form. Review A2A and MCP endpoints with the same scrutiny applied to OpenAPI specs.

Edge bot challenges create an analytical blind spot that must be labelled honestly. Thirty-five 403 responses at an identical 33.9 KB challenge template prove neither existence nor absence. Calling them inconclusive — and flagging an errored WAF baseline — prevents both false alarms and false confidence.

Co-locating staging diagnostics and internal tools on public API domains leaks operational context. Pre-wall endpoints like /api/health, /api/warnings, and /api/proposals/{accountId} broadcast worker locks, pool saturation, indexer lag, and workflow vocabulary. Keep diagnostics private.

Unauthenticated testing finishes at the login wall; treasury authorization risk begins behind it. The highest-leverage next step is an authenticated multi-principal test using Requestor, Finance, and Governance accounts to verify approval thresholds, deletion bounds, CSV uploads, and swap invariants.

PriorityActionWhy firstEffort
1Schedule an authenticated multi-role assessment of app.l1chain.example (Requestor, Finance, Governance)Only unverified high-priority attack surface; governs irreversible treasury payments and swapsMedium
1Lock analytics.l1chain.example (POST /api/send) to an explicit Origin allowlist and restrict CORS methodsOnly confirmed unauthenticated write surface; prevents campaign funnel poisoningLow
2Strip internal lock, DB pool, and indexer fields from public /api/health on staging (or gate staging behind private access)Removes live operational telemetry from the public internetVery low
2Add the six missing HTTP security headers (HSTS, CSP, XCTO, XFO, Referrer-Policy, Permissions-Policy) and strip X-Powered-By across prod and stagingHardens the treasury UI against future client-side injection and clickjackingLow
2Emit Access-Control-Allow-Credentials: true only when Origin matches the allowlistEliminates fragile CORS configuration on api.l1chain.exampleVery low
3Collapse unauthenticated /api/proposals/{accountId} and /api/auth/login error variants and review /api/warnings visibilityCloses account-existence, contract-type, and workflow-slot oraclesLow
3Move the internal "Jobs Board" Basic-auth service off the public API origin and use a generic realm labelSeparates operator tooling from public treasury APIsLow
4Review public docs.l1chain.example MCP/agent-discovery manifests, tighten docs CSP, and verify hidden paths from an allowlisted origin checkCloses staged docs-surface hypotheses and resolves /.well-known/api-catalog 404 driftLow

Notices

Authorization

This was an authorized security assessment conducted under a written engagement agreement. All testing was confined to in-scope properties and executed strictly from an unauthenticated external vantage point.

Non-destructive discipline was maintained throughout: wallet and passkey login ceremonies were not driven, no authenticated session or treasury mutation was attempted, no credential brute-forcing was performed against HTTP Basic walls, and the open analytics write was verified with a single benign synthetic event rather than bulk injection.

Redaction

Every real domain, subdomain, IP address, on-chain account identifier, UUID, deployment identifier, analytics tracking ID, third-party vendor name, and calendar timestamp from the engagement has been replaced with a placeholder or generalised.

What was removed:

  • All client brand names, protocol names, domain names, and real subdomain labels
  • All IP addresses, edge regions, cloud/hosting project and deployment identifiers
  • All worker instance UUIDs, analytics website IDs, measurement IDs, and asset branch hashes
  • All third-party CDN, PaaS, hosting, documentation-platform, wallet-provider, indexer, and analytics vendor names
  • Specific public documentation repository URLs and internal product tokens
  • Exact block numbers, calendar dates, and clock timestamps

What was kept, deliberately: vulnerability classes and CWE identifiers, exact HTTP status codes and header mechanics (401 Basic, 400 app-ID gate, ACAC: true without ACAO, uniform 403 edge challenge behaviour), generalised endpoint shapes (/api/health, /api/proposals/{accountId}, /api/warnings, /api/send, /.well-known/*), the treasury three-role model as a structural pattern, and full session/census counts. These lessons are transferable and identify nobody.

Placeholders used throughout:

PlaceholderMeaning
l1chain.examplePrimary blockchain ecosystem domain and estate
app.l1chain.exampleProduction business treasury web application
api.l1chain.exampleProduction business treasury API origin
staging.l1chain.exampleStaging treasury web application
api.staging.l1chain.exampleStaging treasury API origin
docs.l1chain.examplePublic documentation and agent-discovery portal
campaign.l1chain.exampleCampaign / perpetuals marketing satellite
analytics.l1chain.exampleHosted web analytics collector embedded on campaign pages
auth.l1chain.exampleEmbedded wallet / OAuth gateway integration
rpc.l1chain.exampleLayer-one blockchain RPC context
evil.exampleUnaffiliated third-party origin used in cross-origin probes
<redacted>Any UUID, account ID, deployment ID, or secret value

Data handling

No private treasury data, user records, wallet keys, or customer credentials were accessed or stored. Operational telemetry observed on staging /api/health is described by schema shape and aggregate pool size only; instance UUIDs, exact timestamps, and block cursors are omitted. No real on-chain account identifiers are reproduced.

Disclaimer

Findings reflect the state of the tested systems during the engagement window. Security posture changes; a finding here does not imply the condition persists today.

Ten scout leads are reported explicitly as staged hypotheses, not confirmed vulnerabilities. Four perimeter controls are reported as held within the unauthenticated scope of this engagement; that does not guarantee the absence of authenticated authorization defects behind the wallet/passkey login boundary.


Methodology and tooling by BlackBit. Eight low- and informational-severity findings confirmed across 158 sessions and 70 audited workstreams; four perimeter boundaries verified to hold; ten staged hypotheses bounded honestly rather than inflated. Published with the client's permission.

More in Web3

← All case studies