Executive summary
What we were asked to do
A crypto-fundamentals analytics platform asked us to assess its external estate from an unauthenticated starting position. The estate spans a static-exported marketing frontend, an API tier backed by an analytical data warehouse, an OAuth-gated Model Context Protocol (MCP) server, an identity-proxy-gated GitOps controller, SSO-gated admin and document-vault portals, cloud object storage, and a standalone consumer AI chat application.
The engagement surfaced real credential, authorization, and third-party SSO weaknesses — and just as importantly, demonstrated how four apparent critical findings narrowed or collapsed once tested past their initial error responses.
Principal findings
A live opaque bearer token shipped in cleartext inside the public frontend JavaScript bundle granted authenticated read access to five internal tRPC warehouse procedures, returning live column-typed catalog data and schema definitions over a wildcard-CORS gateway. Separately, unauthenticated cloud storage enumeration located a world-readable bucket matching the platform's short prefix with 4,020 objects — including applicant resumes and developer Unix home paths — belonging to an unrelated talent-matching app, creating either an immediate privacy exposure on the company's cloud account or a naming collision to rule out internally. Across five OIDC issuers (production, MCP, versioned, internal, and an unannounced dev host sharing production's load balancer and SSO), unauthenticated RFC 7591 dynamic client registration accepted arbitrary redirect URIs without rate limiting, though runtime enforcement narrowed impact to local-loopback code interception. Finally, both the admin portal and document vault echoed `?url=` into a deployment platform's SSO relay that acted as an unauthenticated `307` open redirect when `nonce` was omitted, while also serving its genuine OIDC login page for unregistered client_id values. No customer account, admin session, or CI/CD pipeline was compromised.
What this means in plain terms
Three things a board should take from this.
- A working internal API credential was shipped to every website visitor. Moving client-side keys out of public bundles is a quick fix, but the deeper issue is that an "internal" API hostname was directly reachable from the public internet with wildcard cross-origin access.
- Four thousand publicly readable objects — including job-applicant resumes — sit in a bucket matching the platform's naming prefix. Because the files belong to an unrelated recruiting web app, engineering needs to check within minutes whether that bucket sits inside the company's cloud project; if it does, a single access-control change closes a live privacy exposure.
- Four findings that initially looked critical narrowed sharply under rigorous verification. An unauthenticated
/trpcbypass turned out to enforce JWT checks once real procedure names were tested; an open OAuth registration endpoint proved blocked from remote phishing by a separate runtime allowlist; and neither the admin SSO relay nor the identity-proxied CI/CD surface yielded an unauthenticated takeover.
The five things that need a decision, not a patch
| # | What is wrong | Business impact | Who decides |
|---|---|---|---|
| 1 | A live bearer token ships in the public frontend bundle and calls an internet-reachable "internal" tRPC API | Rotating the token takes minutes, but deciding whether api-internal.analytics.example belongs on the public internet — and how public catalog endpoints are separated from tenant endpoints — is an architecture decision. | Platform engineering |
| 2 | A public bucket (public-assets-bucket) matching the company's prefix exposes 4,020 objects including resumes and developer home paths | The contents belong to a separate talent-matching app. Confirming whether this sits on the company's cloud billing account (or an engineer's side project) carries immediate privacy-law and acceptable-use implications. | Security + legal + cloud ops |
| 3 | The deployment platform's SSO relay is an unauthenticated open redirect without nonce, and its OIDC login accepts unregistered client_id values | Both admin.analytics.example and vault.analytics.example depend on this relay. Dropping ?url= locally helps, but the underlying open redirect and OIDC front-door behavior sit in the vendor's platform and need vendor escalation. | Vendor management + security |
| 4 | An unannounced development API (api.analytics-dev.example) shares production's load-balancer IP and production SSO, alongside a shadow .net mirror | Development and mirror origins expand the credential and OAuth blast radius without adding customer value. Keeping or decommissioning them is an environment-isolation decision. | Infrastructure + engineering |
| 5 | The operational email domain (analytics-ops.example) has DMARC p=none, and 29 brand-prefixed hosting-platform project names are unclaimed | The primary domain enforces p=reject, but the domain that receives DMARC reports and hosts candidate interviews allows spoofing. Claiming defensive namespaces and tightening email policy are brand-protection decisions. | Security + IT |
What we did not get
No customer account takeover. No admin or document-vault session. No cross-tenant customer data read. No CI/CD or GitOps access. No arbitrary code execution or cross-site scripting. No LLM provider API keys.
Every path to a true multi-tenant or administrative compromise terminated at a sound cryptographic control: signature-checked JWT verification on /v2 and /trpc, strict cloud Identity-Aware Proxy enforcement on the GitOps controller, edge-walled authentication on the AI chat API, and cryptographically signed session validation on the deployment platform's SSO login.
Engagement outcome
An authorized external security assessment of a crypto analytics platform identified a client-bundled internal API bearer token exposing public catalog and warehouse schema metadata, unauthenticated OAuth dynamic client registration constrained to loopback callbacks, and parameter-reflection issues chaining with third-party SSO relay behavior, alongside a publicly readable storage bucket requiring internal ownership verification. No customer accounts, administrative sessions, private tenant data, or CI/CD pipelines were accessed, and core authentication, JWT signature validation, and identity-proxy controls were verified to hold across the estate. All findings were disclosed under a confidentiality agreement with prioritized remediation and vendor-escalation guidance.
1. The engagement in numbers
| Metric | Value |
|---|---|
| Root workstreams | 1 |
| Total Swarm Size | 52 |
| Investigation tracks logged | 30 |
| Unique hostnames discovered (CT logs + DNS) | 202 |
| Live production, dev, mirror, and AI hosts triaged | 28 |
| Historical per-PR preview subdomains verified dead | 172 / 172 |
| Confirmed findings (calibrated) | 10 (5 high, 5 medium) |
| Apparent criticals refuted or narrowed on re-test | 4 |
| Frontend JS chunks audited | 50 (41 marketing + 9 AI chat) |
| Public bucket objects enumerated | 4,020 (1 sample PDF verified; no bulk harvest) |
| XSS reflection & DOM probes | 128 reflection probes + 22 chunks (0 confirmed) |
| GitOps IAP endpoints & header-bypass probes | 131 endpoints × GET/POST + 13 headers (0 bypasses) |
| Unclaimed brand-prefixed hosting project names | 29 of 44 tested |
Two restraint choices belong in the summary. First, for the 4,020-object public bucket, only object listings and a single resume PDF were retrieved to establish readability and file type — no bulk download of applicant documents or user avatars was performed. Second, none of the 29 unclaimed hosting project names or retired storage bucket names were registered or mutated during testing.
Agent topology
| Role | Sessions | Responsibility |
|---|---|---|
| Orchestrator | 1 | Wave planning, direct verification, impact calibration, final reporting |
| Recon | 23 | CT/DNS estate mapping, certificate audits, cloud asset sweeps, wave synthesis |
| Exploit | 26 | OAuth/DCR, MCP, SSO relay, tRPC/CORS, JS bundle harvesting, dev parity, XSS, AI surface |
| Advisor | 2 | Independent Wave 3 and Wave 3b coverage-gap reviews and non-credentialed routing |
2. What held
Before detailing the weaknesses, seven defensive controls held cleanly under sustained probing.
- GitOps cloud Identity-Aware Proxy (IAP) held. Across 131 endpoints (
GETandPOST), 13 forged-header andalg:noneJWT variants, GitOps path-traversal payloads, nonce replays, and 10 hostile OAuthredirect_uritricks, every request stopped at the IAP edge (302/401). No backend banner answered. - JWT signature verification held across `/v2`, `/trpc`, and `/mcp`. Forged
alg:noneand invalid HS256 tokens, 36 path-normalization bypasses, CL.TE smuggling (400), WebSocket upgrades, method confusion, and alternateHostrouting produced zero bypasses. - Historical previews were decommissioned and edge-patched. All 172 per-PR preview hosts returned
404(DEPLOYMENT_NOT_FOUND); 400x-middleware-subrequestbypass probes across the 10 highest-signal debug/auth branches produced zero deltas. - XSS, SSRF, SSTI, and deserialization defenses held. Across 128 reflected-XSS probes (52 slugs + 76 query params), 22 JS chunks, client-side search hydration, newsletter routes, and API inputs, zero XSS or server-side injection primitives were found.
- The standalone AI chat app (`chat.analytics.example`) kept secrets off the client. All 75
/api/*paths returned a uniform401edge response with no CORS,/registerreturned404, and all 9 JS bundles (~1.1 MB) contained zero hardcoded LLM or platform API keys. - Private first-party storage and container registries enforced IAM. Anonymous reads against
user-uploads-bucket,static-assets-bucket, sibling project buckets, and both registries returned403/401. - Live production DNS and the status page had no takeover surface. All 22 live production subdomains resolved to registered upstreams, and 80+ probes on
status.analytics.exampleconfirmed read-only behavior with zero write paths.
The refutations and impact calibration: four apparent criticals narrowed under proof
Multi-wave testing surfaced four alarms that looked critical on first contact; direct verification narrowed or refuted all four.
- Unauthenticated `/trpc` bypass → Refuted (router-before-auth ordering). In Wave 2, 93 guessed procedure names on
/trpc/*returned404 NOT_FOUNDwithout a token beside a403-gated/v2/*, looking like missing authentication. In Wave 3, extracting the six real procedure names from the frontend JS bundle and re-testing unauthenticated and with a forgedalg:noneJWT returned401 UNAUTHORIZEDon all six — proving auth runs in tRPC middleware after route lookup. - Remote OAuth account takeover via open DCR → Narrowed to loopback interception.
POST /registerreturned201 Createdfor external redirect URIs (https://attacker.example/cb), looking like remote phishing ATO. Direct/api/auth/authorizetesting across production, internal, and dev issuers proved a separate hardcoded loopback allowlist (127.0.0.1,localhost,[::1]) rejects external hosts with400 invalid_redirect_uri. - Unauthenticated admin takeover via SSO relay → Narrowed to phishing primitive. First-party
?url=echo, the vendor relay's no-nonce307open redirect, and unvalidated OIDC front-door login are real, but forged session cookies,alg:nonetokens, and six spoofed forwarding headers were all rejected. Compromising an admin session still requires an entitled employee to authenticate. - Customer data breach claims → Calibrated on data class and ownership. The bundled bearer unlocked five real internal tRPC procedures, but all returned public catalog and schema metadata rather than tenant PII. Likewise,
public-assets-bucketexposed 4,020 objects and real resumes, but every file belonged to an unrelated talent-matching app sharing the two-letter prefix, leaving cloud ownership unconfirmed from outside.
3. The findings that mattered
How the estate was mapped
3.1 Hardcoded bearer token in public frontend JS grants internal tRPC warehouse readsHigh
In plain terms. The public website ships a live production API bearer token in its frontend JavaScript bundle alongside an internet-reachable "internal" API hostname. Any visitor can extract the token and query five internal data-warehouse procedures directly — even from a third-party browser origin because the gateway serves wildcard CORS.
What. Static analysis of 41 marketing JS chunks surfaced an opaque UUID bearer constant (NEXT_PUBLIC_<redacted>), a companion expired HS256 frontend JWT (rebuilt on deploy), a developer workspace path disclosing a username and repo name, 13+ server environment variable key names (values stayed server-side), and three non-public hostnames (api-internal.analytics.example, api-internal.analytics-dev.example, and a marketing preview alias).
How we found it. By harvesting all 41 frontend chunks when headless browser recon failed, extracting the hardcoded bearer and six real tRPC procedure names, and testing them with and without the token. Without the token (or with a forged alg:none JWT), all six returned 401 UNAUTHORIZED; with the extracted bearer, five of six catalog/configuration procedures returned 200 OK with analytical column types (LowCardinality(String), Nullable(String)) and live catalog records.
Root cause. Placing a backend credential in a client-exposed NEXT_PUBLIC_* variable inlines it into public static assets, compounded by exposing the internal tRPC gateway on the internet with ACAO: * (CWE-798).
Impact. Immediate disclosure of an accepted production gateway credential, internal analytical warehouse schema structure, and full reference catalogs, plus developer environment intelligence. Severity is calibrated to High rather than Critical because all responding procedures returned catalog/reference data and every guessed user, account, or billing procedure returned 404 NOT_FOUND — no customer-private records were reached.
Fix. Rotate the bearer token immediately, eliminate NEXT_PUBLIC_* API credentials in favor of a server-side BFF proxy or short-lived session tokens, remove developer workspace paths from production builds, and restrict api-internal.analytics.example to private networking or explicit origin allowlists.
3.2 Publicly readable cloud storage bucket exposing 4,020 objects including applicant resumesHigh
In plain terms. A world-listable cloud storage bucket matching the platform's two-letter prefix exposed 4,020 objects — including applicant resume PDFs, user avatars, and raw Linux home paths. Every object belongs to an unrelated talent-matching web app sharing the abbreviation, so internal cloud admins must verify project ownership immediately.
What. Anonymous listing of public-assets-bucket returned 200 OK across five pages (4,020 objects, 11 prefixes covering applicant submissions, avatars, organization records, and web images), with keys preserving raw Unix developer home paths. A single 94 KB resume PDF was verified for readability; at least three applicant names appeared on page one.
How we found it. By pivoting from the cloud project number disclosed in the GitOps IAP redirect into structured prefix-based bucket enumeration. Private buckets (user-uploads-bucket, static-assets-bucket, and sibling project buckets) returned 403 AccessDenied; public-assets-bucket returned 200 OK.
Root cause. Public allUsers read/list permissions on a bucket containing user-uploaded PII and raw filesystem keys (CWE-284, CWE-200). Because a separate empty public bucket with the same prefix sat under a different cloud project number than the IAP project, external testing cannot prove whether this is a decommissioned/side-project app on the client's cloud account or a third-party prefix collision.
Impact. If the bucket resides in the organization's cloud account, this is an immediate personal-data exposure carrying GDPR and privacy-notification obligations plus internal developer attribution. If it is an unrelated third-party bucket sharing the prefix, the client has zero liability — making internal ownership verification the single fastest high-value check after reading this report.
Fix. Check internal cloud project inventories immediately. If owned, revoke public read/list IAM grants in one command, audit and purge the 4,020 objects, enforce public access prevention at the project level, and investigate why a separate application or personal project shared corporate cloud storage.
3.3 Unauthenticated OAuth dynamic client registration across five issuers with loopback interceptionHigh
In plain terms. Five OIDC issuers across production, MCP, versioned, internal, and dev domains allow anonymous OAuth client registration with zero authentication or rate limiting. Runtime validation blocks remote attacker domains, but allows arbitrary loopback ports (127.0.0.1 / localhost / [::1]), enabling local-listener auth-code interception across both the API and MCP surfaces.
What. POST /register (RFC 7591) on api.analytics.example, mcp.analytics.example, api-v3.analytics.example, api-internal.analytics.example, and api.analytics-dev.example returns 201 Created anonymously (token_endpoint_auth_method: none, PKCE S256), with 10+ rapid registrations unthrottled. Calling /api/auth/authorize with a registered loopback callback (http://127.0.0.1:<port>/cb or http://localhost:<port>/cb) returns 303 to the login portal with redirect_uri preserved inside returnTo.
How we found it. By parsing /.well-known/openid-configuration, registering public clients across all five issuers, and testing external, first-party, special-scheme, and loopback redirect URIs against /api/auth/authorize. /register persisted arbitrary URIs without filtering, whereas /authorize enforced a separate hardcoded loopback allowlist rejecting external domains (400 invalid_redirect_uri).
Root cause. Unauthenticated RFC 7591 registration without an initial access token (RFC 7591 §3), rate limiting, or separation between first-party native clients and anonymous registrations (CWE-287, CWE-601).
Impact. Any local process, malicious developer tool, or co-resident malware on a user's workstation can mint a clean client identifier, trigger sign-in, intercept the authorization code on an arbitrary loopback port, and redeem it with its own PKCE verifier for a valid Bearer token. Because api.analytics-dev.example routes login through the production explorer SSO, the same primitive spans production and development.
Fix. Gate POST /register behind an initial access token or administrative approval, rate-limit registrations per IP, restrict loopback callbacks to pre-registered first-party clients, and align registration-time validation with runtime authorization validation (returning 400 rather than silently downgrading scopes and auth methods).
3.4 Admin and data-room ?url= echo chained with vendor SSO open redirect and OIDC front doorHigh
In plain terms. Both admin and vault blindly echo caller-supplied ?url= values into the deployment platform's SSO redirect. Compounding that, the platform's own SSO relay turns into an unauthenticated 307 open redirect whenever nonce is omitted, and its OIDC authorization endpoint renders the genuine login form for fabricated client identifiers.
What. Three interacting behaviors across first-party origins and the deployment platform:
admin.analytics.example/?url=<payload>andvault.analytics.example/?url=<payload>return302tosso.deploy-platform.example/sso-apiwith?url=echoed unfiltered across all schemes and hosts.- Calling
sso.deploy-platform.example/sso-api?url=https://attacker.example/cbwithnonceomitted or empty returns an unauthenticated307to anyhttps://host — even unregistered domains (javascript:and//return400). Supplied nonces are stateless on the unauthenticated path and replayable acrossadminandvault. - Calling
sso.deploy-platform.example/oauth/authorizewith an unregisteredclient_idreturns200rendering the genuine platform login form, deferring client validation until post-auth, and supporting onlyresponse_mode=web_message.opener.
How we found it. By walking the 10-step SSO chain across both origins, mutating nonce values, testing six spoofed forwarding headers and forged session cookies (alg:none and synthetic), and inspecting the platform's OIDC discovery and JWKS.
Root cause. Unfiltered query-string preservation on protected origins (CWE-601), plus the platform's query-parameter-triggered login gate and deferred OIDC client_id validation (CWE-346).
Impact. High-credibility credential phishing against administrators and document-vault users hosted entirely on trusted platform URLs, without needing an attacker lookalike domain for the initial hop. Because forged cookies and spoofed headers were rejected and post-login bounce requires an authenticated victim session, no unauthorized admin access occurred.
Fix. Strip or strictly allowlist ?url= on admin.analytics.example and vault.analytics.example before constructing SSO redirects. Escalate the no-nonce 307 open redirect, stateless unauthenticated nonces, and deferred /oauth/authorize client_id validation directly to the deployment platform's security team.
3.5 Wildcard CORS with custom-header JWT across five API hosts and prod-shared dev/mirror originsHigh
In plain terms. Five API hosts — including an unannounced dev host sharing production's load-balancer IP and a shadow .net mirror whose MCP host bypasses the CDN — advertise Access-Control-Allow-Origin: * with custom auth headers. A single XSS bug on any first-party origin would allow cross-origin reads across all five hosts.
What. Preflight testing across 17 candidate headers confirmed that api.analytics.example, api-internal.analytics.example, api-v3.analytics.example, api.analytics-dev.example, and the /trpc, /v2, and OAuth paths of mcp.analytics.example return 204 with ACAO: * and a static 12-header allowlist exposing x-analytics-jwt, Authorization, and trpc-accept (correcting a Wave 2 false negative that tested only /mcp). Meanwhile, api.analytics-dev.example (leaked in an admin UI CSP) shares production's load-balancer IP, TLS SAN, and production explorer SSO, while *.analytics-mirror.example mirrors every subdomain and serves mcp directly from origin without CDN.
How we found it. By harvesting leaked hostnames from CSP headers and JS bundles, mapping origin IPs across alternate TLDs, and running cross-origin preflight and forged-JWT matrices across all five hosts and subpaths.
Root cause. Wildcard proxy CORS headers paired with header-borne authentication (bypassing browser cookie restrictions) and collapsed production/dev/mirror isolation (CWE-942).
Impact. Wildcard CORS removes cross-origin isolation for any leaked x-analytics-jwt or Bearer token — including the client-bundled token in Finding 3.1. Compounded by permissive 'unsafe-inline' 'unsafe-eval' directives in the marketing CSP, a non-HttpOnly session cookie read by frontend JavaScript, and missing CSP headers on api-internal.analytics.example, any future XSS becomes full cross-origin API exfiltration.
Fix. Replace Access-Control-Allow-Origin: * with an explicit allowlist of trusted first-party origins, move browser session tokens to HttpOnly; Secure; SameSite cookies, isolate api.analytics-dev.example onto separate infrastructure and identity stores, and decommission or CDN-gate the shadow .net mirror.
Also confirmed
| Finding | Severity | Content |
|---|---|---|
Operational email domain DMARC p=none and missing CAA records | Medium | analytics-ops.example (recipient of primary DMARC reports and host of candidate interviews) sets p=none, allowing domain spoofing despite p=reject; pct=100 on the primary domain; primary zone also lacks CAA records (CWE-290). |
| 29 of 44 brand-prefixed hosting-platform project names unclaimed | Medium | External accounts can freely register high-trust names mirroring internal surfaces (gitops, mcp, api, debug, internal, explorer, secondary-prod) on the deployment platform's shared domain for targeted employee phishing (CWE-284). |
| Asymmetric OAuth registration storing SSRF-shaped URIs and 7 metadata fields | Medium | POST /register persists 169.254.169.254, file://, javascript:, wildcard subdomains, and OIDC metadata URIs (sector_identifier_uri, jwks_uri, logo_uri); currently masked by /authorize, leaving a latent SSRF and regression hazard (CWE-918). |
Expired TLS certificates (28 days and 901 days) and 127.0.0.1 internal DNS record | Medium | legacy-proxy.analytics.example serves a leaf, intermediate, and cross-signed root chain expired 901 days; legacy-viz.analytics.example expired 28 days; internal.analytics.example resolves to 127.0.0.1 (CWE-298). |
| Cloud storage inventory disclosure and disabled-billing production buckets | Medium | One secondary-project bucket is publicly listable (empty); seven private bucket names are enumerable via 403; two production-named buckets return UserProjectAccountProblem indicating absent/closed billing accounts (CWE-200). |
4. Kill chain summary
| Chain | Reached | Terminated at | Data obtained |
|---|---|---|---|
| Public bundle bearer → internal tRPC | Stage 5 (collection) | Catalog/schema procedures only; no tenant procs | Warehouse schema types + 5 catalog responses |
Cloud bucket sweep → public-assets-bucket | Stage 5 (collection) | Single sample PDF + listing; ownership unverified | 4,020 object keys + 1 sample PDF (no bulk download) |
| Open OAuth DCR → loopback code capture | Stage 4 (exploit) | Requires victim login + local loopback listener | None (no victim session) |
Admin/vault ?url= → vendor SSO / OIDC | Stage 4 (exploit) | Vendor login gate; forged cookies/headers rejected | None (no admin session) |
| Wildcard CORS + custom-header JWT | Stage 3 (delivery) | 0 XSS found; forged JWTs rejected (401/403) | None |
/trpc unauthenticated auth bypass | Stage 2 (refuted) | 6/6 real procedures enforce server-side JWT (401) | None |
| GitOps IAP bypass / path traversal | Stage 2 (held) | Cloud IAP edge (302/401) across 131 paths | None |
| Preview envs / middleware bypass | Stage 2 (held) | 172/172 torn down + edge-patched | None |
5. What the shape of this engagement teaches
Route-before-auth ordering creates convincing false-positive auth bypasses. Ninety-three guessed /trpc procedures returned 404 NOT_FOUND unauthenticated beside a 403-gated /v2 path. Extracting six real procedure names from the JS bundle and observing 401 UNAUTHORIZED on all six proved auth runs inside procedure middleware. Never call an auth bypass on a 404 without testing a real route.
Validate both sides of a two-stage OAuth trust boundary. POST /register accepted every hostile URI, which looked like a remote account takeover. Testing /api/auth/authorize directly revealed a hardcoded loopback allowlist that rejected external domains — narrowing impact to loopback interception and a poisoned client registry.
Static JavaScript bundles map an API even when browser automation fails. Headless browser recon failed at startup, yet grepping 50 static frontend chunks recovered the live internal bearer, all six real tRPC procedures, an expired companion JWT, developer paths, and three non-public hostnames — while confirming the AI chat client shipped zero keys.
Prefix-matched cloud buckets demand attribution discipline before calling a breach. Finding 4,020 objects and resumes under a two-letter prefix is urgent, but external probes cannot verify cloud project ownership. Reporting exact contents alongside the unrelated-app mismatch lets the client either close a privacy breach in one command or rule out a collision in sixty seconds.
Third-party SSO relays inherit the blast radius of every portal behind them. First-party GitOps IAP and API JWT checks held firmly, yet admin and vault inherited high-trust phishing primitives from how the deployment platform's SSO relay handled omitted nonces and unregistered OIDC client IDs.
Recommended sequence
| Priority | Action | Why first | Effort |
|---|---|---|---|
| 1 | Rotate the client-bundled internal API bearer token and remove NEXT_PUBLIC_* API credentials | Live production gateway credential is in cleartext on the public CDN | Low |
| 1 | Verify cloud project ownership of public-assets-bucket; if owned, revoke public IAM and purge 4,020 objects | Potential active privacy-law exposure of applicant resumes and dev paths | Very low |
| 2 | Strip or allowlist ?url= on admin.analytics.example and vault.analytics.example, and escalate the no-nonce 307 redirect and OIDC front-door behavior to the deployment platform vendor | Closes high-trust admin/vault phishing chain at both first-party and vendor layers | Low + Vendor |
| 2 | Gate POST /register behind an initial access token, add rate limiting, and align registration validation with runtime allowlists across all 5 issuers | Closes anonymous DCR client minting, loopback interception, and latent SSRF storage | Medium |
| 2 | Replace Access-Control-Allow-Origin: * with an explicit first-party origin allowlist on all 5 API hosts (including MCP /trpc) and move browser auth to HttpOnly cookies | Eliminates cross-origin token exfiltration amplification | Medium |
| 3 | Isolate api.analytics-dev.example off production's load balancer and SSO, and decommission or CDN-gate the shadow .net mirror | Restores clean prod/dev and origin boundaries | Medium |
| 3 | Enforce DMARC p=reject and strict SPF on analytics-ops.example, and add CAA records to the primary zone | Closes spoofing on the operational email and recruiting domain | Very low |
| 4 | Reserve high-risk unclaimed hosting project names (or monitor registrations), remove expired-cert DNS records (legacy-proxy, legacy-viz) and internal loopback DNS, and resolve disabled-billing cloud bucket states | Hardens brand-impersonation, TLS hygiene, and operational cloud posture | Low |
Notices
Authorization
This was an authorized external security assessment conducted under a written engagement agreement. All testing was confined to in-scope assets and passive/read-only verification.
Non-destructive restraint was enforced throughout: for the 4,020-object public bucket, only listings and a single sample PDF were retrieved to establish readability — not a bulk download of applicant data. No unclaimed hosting-platform project names or historical cloud storage buckets were registered or altered. No brute-force credential attacks, victim phishing lures, or destructive API mutations were performed. Fuzzing harnesses were prepared for parser targets but intentionally blocked at the scope gate because local compiled binaries were outside the black-box contract.
Redaction
Every hostname, IP address, credential, cloud identifier, personal name, and vendor-identifying detail in this document has been replaced with a placeholder or generalized.
What was removed:
- All real domain names, subdomains, shadow-mirror domains, and preview hostnames
- All IP addresses, load-balancer endpoints, and CDN distribution identifiers
- All bearer tokens, JWT values, OAuth client IDs, public key IDs, and telemetry DSNs
- All cloud project numbers, bucket names, and repository or branch identifiers
- All applicant names, resume contents, developer usernames, and local filesystem paths
- Organization, product, and unrelated third-party application names
- Identifying third-party vendor names (deployment platform, cloud provider, CDN, LLM provider, CMS, and status-page provider)
- Exact calendar dates and wall-clock timestamps
What was kept, deliberately: vulnerability classes and CWE identifiers, the four refutation and calibration sequences in full (tRPC route-before-auth ordering, OAuth registration-versus-runtime allowlist split, SSO relay vs. session enforcement, and bucket-prefix attribution caution), aggregate object/host/probe counts, and protocol-level mechanics (RFC 7591, PKCE S256, web_message.opener, CORS preflight behavior). These are transferable engineering lessons and identify nobody.
Placeholders used throughout:
| Placeholder | Meaning |
|---|---|
analytics.example | Primary platform apex and marketing frontend |
api.analytics.example / api-internal.analytics.example | Public REST/OAuth/tRPC host and internet-reachable internal-named API host |
api-v3.analytics.example / api.analytics-dev.example | CDN-fronted versioned API sibling and unannounced dev host on production's LB IP |
mcp.analytics.example | OAuth-gated MCP and tRPC API host |
admin.analytics.example / vault.analytics.example | SSO-gated administrative portal and document vault |
gitops.analytics.example | Cloud IAP-gated GitOps continuous-delivery controller |
chat.analytics.example / status.analytics.example | Standalone consumer AI chat app and read-only third-party status page |
*.analytics-mirror.example / analytics-ops.example | Secondary TLD production mirror and operational email/interview domain |
legacy-proxy.analytics.example / legacy-viz.analytics.example | Decommissioned subdomains with expired TLS certificates |
internal.analytics.example | Subdomain resolving to loopback (127.0.0.1) |
sso.deploy-platform.example | Third-party deployment platform SSO relay and OIDC IdP |
public-assets-bucket / user-uploads-bucket / static-assets-bucket | World-readable prefix-matched bucket and private first-party storage buckets |
x-analytics-jwt / <redacted> | Custom session JWT header and any specific key, identifier, path, or value |
Data handling
No applicant PII, resume text, personal names, email addresses, credentials, or proprietary warehouse rows are reproduced. Bucket exposure is reported strictly by aggregate object count and generic prefix classes, and internal tRPC exposure is described solely by procedure-count and column-type behavior.
Disclaimer
Findings reflect the state of the tested systems during the engagement window; security posture changes and a finding here does not imply the condition persists today. Four apparent criticals are explicitly reported as refuted or calibrated down, not inflated as compromises (/trpc auth verified on six real bundle-extracted procedures; remote OAuth takeover narrowed to loopback by /authorize; SSO relay bounded below unauthenticated takeover; 4,020-object bucket flagged for internal ownership verification). The 4,020-object bucket was verified without harvesting user data — listings and one sample file established readability with no bulk collection.
Methodology and tooling by BlackBit. Four apparent criticals narrowed or refuted through direct end-to-end verification; client-bundled credentials, open OAuth registration, and third-party SSO relay weaknesses isolated cleanly. Published with the client's permission.
More in Web3
- Cryptocurrency Market Data Aggregator and Price-Tracking Platform
- Simulated Crypto Trading and Market Competition Platform
- Decentralised Asset Management and DAO Governance Protocol
- Decentralised AI Infrastructure and Web3 Agent Platform
- Decentralised Cloud Compute Marketplace and Orchestration Network
- Decentralised GPU Compute and AI Inference Network
- View all 33 Web3 case studies