MMashDiv

Bicrypto 6.8.9

23 November 2026

This release has upgrade notes. Read them before updating — they describe behaviour changes that need your attention.

SECURITYAUTHSETTINGSTRADINGFINANCEWITHDRAWALSSUPPORTBLOGPROFILE

Core v6.8.9

Release Date: November 23, 2026 Tags: SECURITY, AUTH, SETTINGS, TRADING, FINANCE, WITHDRAWALS, SUPPORT, BLOG, PROFILE

Overview

Sign in with Apple, operator username blacklists, custom user avatar packs, and blog social sharing arrive alongside security, session, history, and withdrawal fixes. Testers reported accounts showing "Account is blocked" after logout while appearing active in admin, sessions dropping immediately after reload, slow or invalid transaction history responses, withdrawal notification links landing on "Wallet not found", and gaps flagged across role disclosure, public settings scope, webhook errors, numeric coercion, futures gating, and support attachments. Each is addressed across the Node backend, Rust parity layer, and browser frontend.

None of the changes here alters customer balances. Upgrading widens provider_user.provider to accept 'APPLE' via an idempotent seeder (or Rust migration) and introduces optional .env variables for Sign in with Apple.

Published with this release: Ecosystem v6.6.2, Monero v6.2.5, Web3 Wallet Trading v6.0.6, Hummingbot Connector v6.2.5, P2P Trading v6.4.4 and Algo Trading Bots v6.1.1. Hummingbot Connector v6.2.5's admin settings page requires Core v6.8.9 for GET /api/admin/system/settings, and Core's trade panels request type=HISTORY from Ecosystem v6.6.2.

Update Instructions

pnpm updator

It runs the idempotent seeder 20261123000001-provider-user-apple-enum.js (Rust installs run migration 0942_s013_provider_user_apple_enum), rebuilds the frontend, and restarts the backend while showing the maintenance page. If you plan to enable Sign in with Apple, add NEXT_PUBLIC_APPLE_CLIENT_ID (plus optional NEXT_PUBLIC_APPLE_REDIRECT_URI and APPLE_BUNDLE_ID) to .env before the rebuild. One existing English UI string (the_wallet_youre_to_it) is updated across translations to "The wallet you're looking for could not be found."


Upgrade Notes

Sign in with Apple enum widening and optional configuration

Upgrading widens provider_user.provider to ENUM('GOOGLE','WALLET','APPLE') via 20261123000001-provider-user-apple-enum.js (0942_s013_provider_user_apple_enum in Rust), appending 'APPLE' last so existing row ordinals never shift. Leave NEXT_PUBLIC_APPLE_CLIENT_ID empty in .env if you do not configure an Apple Services ID — the button stays hidden cleanly even with appleAuthStatus defaulting to "true"; see /docs/bicrypto/configure/environment and /docs/bicrypto/configure/settings.

Staff role lookup now requires authentication

GET /api/auth/role previously returned every platform role and internal numeric role ID without a session. Calling it unauthenticated now returns HTTP 401, and signed-in accounts without a role or permissions receive HTTP 403. Authenticated staff members receive only their own assigned role and permissions.

Internal operational keys moved off the public settings route

GET /api/settings no longer exposes superAdminSeeded, withdrawAutoApprove, ecosystemUtxoBatchMode, hbRequiredKycLevel, or usernameBlacklist. Admin interfaces that read operational settings now request GET /api/admin/system/settings (access.settings), while secret credentials remain server-side on both routes.

Numeric-only fields reject booleans, radix strings, blank strings, and Infinity

Request validation runs a pre-coercion guard before AJV type coercion across all routes: JSON booleans (true, false), hex/binary/octal strings (0x10, 0b10, 0o10), non-empty whitespace strings (" "), and non-finite values (Infinity, -Infinity, NaN) submitted for number or integer schema properties now return HTTP 400 instead of being coerced into integers or zero.

Transaction history filter validation and futures gating

GET /api/finance/transaction?filter=... now returns HTTP 400 Invalid filter parameter on malformed JSON or unknown type shorthands instead of silently ignoring invalid filters or hitting unindexed queries. Customer routes under /api/futures are also bound to the futures extension license alongside /api/admin/futures.


Added

Sign in with Apple

  • Added POST /api/auth/login/apple and POST /api/auth/register/apple across both Node and Rust backends, verifying Apple RS256 ID tokens against Apple's published JWKS keys with Cache-Control caching, rate-limited unknown-kid refresh, strict https://appleid.apple.com issuer check, constant-time multi-audience check (NEXT_PUBLIC_APPLE_CLIENT_ID and APPLE_BUNDLE_ID), and SHA-256 nonce check.
  • Returning Apple authorizations resolve existing linked accounts before requiring firstName/lastName, refund signup rate limits when an account is not newly created, enforce account status / 2FA challenges, and claim unverified email accounts securely before linking.
  • Added the Continue with Apple button to login and registration forms (invoked synchronously inside the user tap gesture so Safari and mobile popups retain activation) along with the appleAuthStatus toggle under Admin → Settings → Security → Authentication; see /docs/bicrypto/help/signing-in.

Operator username blacklist

  • Added Admin → Settings → Security → Usernames → Blacklisted Username Words (usernameBlacklist, newline or comma separated), enforced identically across username availability checks, saves, and both Node and Rust backends.
  • Regular accounts are refused with "That one is reserved by the platform. Pick something else." on case-insensitive containment, common digit substitutions (0/1/3/4/5/7/8), and separator-stripped matches for terms of 3+ characters; administrators (Super Admin or roles holding access.admin) bypass the operator list.

Admin custom user avatar packs

  • Added Admin → Settings → Branding → User Avatars → Custom User Avatars (customAvatars), allowing admins holding edit.settings to upload one or more images into named packs/categories under frontend/public/uploads/avatars/presets/ (resized to fit within 400 × 400).
  • Packs can be labelled, categorized, reordered, or removed, appear grouped by category ahead of the 26 built-in portraits in users' profile avatar pickers (/docs/bicrypto/help/profile), and are never unlinked when individual users later change or clear their own avatar.

Blog social sharing for readers and authors

  • Added a Share to social bar at the bottom of published blog posts with one-click sharing to Facebook, X, LinkedIn, and Telegram, plus Copy link.
  • Added a Share control in My posts (/blog/author/manage) and the post editor header so approved authors can share published articles immediately (/docs/bicrypto/help/blog-and-authoring).

Authenticated admin system settings route

  • Added GET /api/admin/system/settings (requiresAuth: true, permission: "access.settings"), returning operational platform settings for admin pages while continuing to redact secret credentials (such as captcha secret keys and geo lookup API keys).
  • Changed the Admin → System Settings page to load its state from GET /api/admin/system/settings rather than reading from the public settings bootstrap alone.

Dedicated withdrawal detail page

Clicking a withdrawal notification in the header previously navigated to /finance/wallet/withdrawals/<id>, which matched no page under /finance/wallet and showed "Wallet not found".

  • Added /finance/wallet/withdrawals/[id], displaying the withdrawal's status, amount, fee, destination, transaction hash, metadata details, and navigation back to the wallet and history.

Registration IP/device tracking and admin lockout visibility

  • Added auth.register activity logging (capturing client IP address and user agent) to both email and Google registration flows (and Apple registration), plus auth.login activity logging on returning social sign-ins and the registration icon in the user dashboard's Recent Activity tab.
  • Added a Login locked until HH:mm:ss badge in the admin user detail header and security summary whenever failedLoginAttempts and lastFailedLogin hold an active temporary lockout, and enabled the Unblock button during temporary login lockouts.

Changed

Exact timestamps in Recent IPs & Devices

  • Changed the Recent IPs & Devices list on the admin user detail page from relative labels ("X ago") to exact formatted timestamps in monospace tabular figures (with the full ISO timestamp available on hover).

Admin Withdrawals Log default view

  • Changed Admin → Finance → Withdrawals Log (/admin/finance/withdraw/log) to open sorted newest-first across all statuses instead of applying an initial PENDING-only filter that hid completed and failed withdrawals on load.

Trade order panels request combined Ecosystem history

  • Changed both the standard Trade panel and the Pro Trade OrdersPanel to query /api/ecosystem/order?type=HISTORY instead of type=CLOSED for Ecosystem markets so filled, cancelled, and failed stop orders load together. Pairs with Ecosystem v6.6.2.

Fixed

False "Account is blocked" lockouts, concurrent password guesses, and disappearing sessions

Testers reported newly registered accounts failing with "Account is blocked" after logout while admin showed them active, and browsers dropping sessions on page reload or across www. and apex hostnames without backend error logs.

  • Fixed login email normalization (trimmed and lower-cased) and atomic failed-attempt reservation prior to password comparison so concurrent login bursts cannot exceed the 5-attempt threshold while valid logins cleanly release their reserved slot.
  • Fixed Admin → Unblock and status changes back to ACTIVE clearing failedLoginAttempts and lastFailedLogin inside the transaction, so an admin unblocking a user clears temporary failed-login lockouts alongside permanent blocks.
  • Fixed session loss on reload across www. and apex domains (and loopback NEXT_PUBLIC_SITE_URL defaults): $fetch resolves API requests to the browser page's own origin when same-site hostname/loopback differences would otherwise drop host-only Set-Cookie headers (accessToken, sessionId, csrfToken).
  • Fixed browser auto-login after registration when email verification is not required: the user store now loads /api/user/profile using the browser's Set-Cookie session even after Response strips data.cookies from the JSON response body.

Public role enumeration and error-detail leakage

  • Fixed GET /api/auth/role leaking all internal roles and numeric IDs to unauthenticated callers; updated frontend/middlewares/auth.ts to read the authenticated staff role response without expecting public enumeration.
  • Fixed GET /api/settings returning raw error wrapper objects on failure, returning a clean 500 Internal Server Error instead.
  • Fixed GET /api/finance/wallet/symbol throwing unhandled errors when query parameters are missing: it now validates type and currency, returns HTTP 400 Currency and type are required, and treats pair as optional.

Numeric coercion and non-finite numbers on API inputs

  • Fixed request schema validation across Node (validateSchema) and Rust (body-gate) to reject booleans, 0x/0b/0o radix strings, whitespace-only strings, and non-finite numbers (Infinity, -Infinity, NaN) on numeric-only properties before AJV coerceTypes can convert them.

Fiat deposit webhook config and exception disclosure

  • Fixed fiat deposit webhooks (stripe, 2checkout, adyen, ipay88, dlocal, paytm, authorizenet, eway, klarna, mollie, payfast, paypal, paysafe, paystack, payu, transfi) to map missing APP_* configuration and setup faults to generic 503 Webhook service unavailable and unexpected internal faults to 500 Webhook processing failed, while keeping non-config 4xx validation and signature rejections intact.

Slow transaction history on large ledgers and unvalidated filters

  • Fixed GET /api/finance/transaction stalling on large ledgers or ignoring invalid filter parameters: it now validates JSON and comma-separated type shorthand filters (400 Invalid filter parameter), promotes exact userId and walletId equality filters out of JSON search expressions, bounds total count queries (maxCount: 1000), and hints idx_txn_wallet_created or idx_txn_user_created (falling back gracefully when those indexes do not exist).

Support attachment URI validation and wallet error copy

  • Fixed support ticket and live chat message attachment handling to reject unsafe URI schemes such as javascript: on the backend (400 Invalid attachment URL) and sanitize rendered attachment links on the frontend (safeAttachmentUrl). Plain HTML or script tags entered in ticket subjects or messages already render as escaped text in React with no script execution.
  • Fixed normalizeProfileCountry stripping empty and literal "null" country values so invalid profile country entries do not propagate into downstream lookups.
  • Fixed the broken English wallet-not-found copy ("The Wallet Youre To It" → "The wallet you're looking for could not be found.").