FurlPay Docs
Open App
  • Platform Overviewupdated
  • API Referencenew
  • 5-Minute Sandbox Quickstartupdated
  • Sandbox & Test Assetsnew
  • Create a Developer Account
  • Identity & KYC Verification
  • Passkeys & Biometrics
  • Transaction Statuses & Retries
  • Frequently Asked Questions
  • Core Primitives & Money Modelnew
  • Merchant Payments & Invoices
  • Contractor Payroll & Batch Payouts
  • EIP-3009 Gasless & Recurring
  • Circle CCTP Cross-Chain
  • LI.FI Cross-Chain Swaps
  • Solana Actions & Blinks
  • Wallet Infrastructure & Handles
  • Market Data Streams
  • Gasless Transfers Availability
  • Deposits & Withdrawals Support
  • Agentic Finance Overviewupdated
  • x402 & MPP Settlement Gatewayupdated
  • Agent Identity, Trust & TAP Mandatesupdated
  • Autonomous Finance & Policies
  • Claude Connector (MCP + OAuth 2.1)
  • AI Assistants & HITL Approvals
  • x402 Monetization Basics
  • Settlement Workspace & Maker-Checker
  • Transaction Truth & Double-Entry Ledgerupdated
  • Par 1:1 Routing Simulator Overview
  • Par Quote Engine & Swap Lifecycle
  • Par Networks & Settlement Assets
  • Par Operator Console
  • Par API Reference
  • Par Webhooks
  • Par AML & Travel Rule
  • Screening, Monitoring & Travel Rule
  • Circle Integration
  • Stripe Crypto Integration
  • Persona KYC Integration
  • API Conventions & Idempotencyupdated
  • Authentication, Keys & Versioning
  • Webhooks (PUSH HMAC-SHA512 & PULL)
  • Errors & Exception Playbooks
  • Rate Limits & Retry-After
  • Official SDKs (TS, Python, Go, Rust)updated
  • FurlPay CLI (@furlpay/cli) & MCP
  • Monorepo & Package Reference
  • SDK & API Integration Support
  • Cryptographic Architecture & KMS
  • Security Posture & Isolation
  • Signing Boundaries & WebAuthn
  • Production Configuration & Workers
  • Colocation Directory
  • Security & Compliance Frameworks
  • Regulatory & Launch Posture
  • Privacy, Redaction & GDPR

CLI full reference

  • CLI overview & install
  • Command index
  • MCP tool reference
  • Honesty matrix

Resources

  • Interactive Developer Workbench
  • Operational Status (/status)
  • Release Changelog
  • OpenAPI 3.1 Spec
  • Postman Collection
  • llms.txt (AI Index)
  • llms-full.txt (Full Docs)
  • Network & Assets
  • Proof of Reserves
  • Terms of Service
  • Privacy & DPA
  • Regulatory Disclosures
  • Security Disclosures
  • Contact Support
  • GitHub
Docs/06. Security and Production Operations/Cryptographic Architecture & KMS

06. Security and Production Operations

Cryptographic Architecture, KMS & Threat Model

How FurlPay defends money-moving paths: explicit threat boundaries, Cloud KMS transactionGuard signing checks, OAuth 2.1 + DPoP proof-of-possession, WebAuthn origin pinning, fail-closed storage controls, and clear shared responsibility.

Software controls vs. formal certifications

This page documents cryptographic and architectural controls enforced in code. Technical controls alone do not constitute third-party SOC 2 certification, PCI DSS attestation, or regulatory licensing; independent legal and compliance sign-off is required per jurisdiction.

Threat model & control responsibility matrix

ControlThreat MitigatedEnforcement PointOn Failure / MisconfigResponsibility Split
Environment Key GuardAccidentally running tests with production credentialsrequireSandboxAuthImmediate HTTP 403 wrong_environment before DB lookupFurlPay enforces prefix isolation; customer isolates test vs prod env vars
Cloud KMS transactionGuardArbitrary ETH value drain or unauthorized contract callkmsAccount.ts + packages/transaction-guardRefuses signature before KMS RPC; production halts with 503 settlement_disarmedFurlPay enforces calldata/chain whitelist; operator provisions KMS keys
OAuth 2.1 + PKCE + DPoPBearer token exfiltration or replay from another host/api/mcp + dpop.tsRejects missing thumbprint/replayed jti; write tools require HITL URLFurlPay verifies DPoP proof & scopes; host protects private DPoP key
AP2 + x402-guardAgent prompt injection, replay race, or budget overdraft@furlpay/x402-guard F1–F5HTTP 403/429; nonces stay locked cleanly after timeoutsUser sets signed mandate caps; FurlPay enforces caps server-side
Raw-Byte HMAC-SHA256 / SHA-512Webhook spoofing or replay attacksX-FurlPay-SignatureConstant-time verify fails; timestamp outside +/-300s rejected (SHA-256 on live merchant/partner webhooks; SHA-512 on sandbox tests)FurlPay signs raw bytes; subscriber verifies BEFORE JSON re-serialization
Fail-Closed Controls & Rate LimitsSpending during Redis/KV outage or brute forceops/controls + FAIL_CLOSED_BUCKETSWrites return 503; read discovery falls back to Postgres mirrorOperator monitors /status and triggers emergency FURLPAY_MONEY_KILL_SWITCH

Proof of Reserves, step-up approvals & disclosure

WebAuthn passkeys authenticate users and approvers using configured relying-party origins—never deriving wallet keys. Circle user-controlled MPC wallets delegate PIN/biometric shares through Circle W3S SDK challenges. Proof of Reserves snapshots publish under /por, and vulnerabilities should be reported via our Responsible Disclosure Policy.

CapabilityStatusEvidence
HS256 sessions, DPoP replay cache & WebAuthn step-upVERIFIED_PRODUCTIONEnforced across authenticated routes via requireUser, dpop.ts, and claimStepUpWithMethod.
Cloud KMS signer + transactionGuard enforcementIMPLEMENTED_NOT_DEPLOYEDIn development: signing paths fail closed when KMS credentials are absent.
Confidential computing enclaves & formal external audit reportsPLANNEDInternal ratchets run in CI; external attestation reports are pending publication.

Security endpoints

MethodPathDescription
GET/api/checkVerify system security and storage readiness.
POST/api/security/mfaManage WebAuthn/TOTP MFA enrollment and step-up posture.
POST/api/security/lockEmergency account lock endpoint requiring verified authorization.
POST/api/attestation/challengeRequest client integrity / biometric attestation challenge.
Did this page help?
Edit this page on GitHub

Previous

SDK & API Integration Support

Next

Security Posture & Isolation