Skip to content
HisarPay

Built to protect your funds

Security is not a layer added later; it is the architecture itself. Here is what we protect and how, without exaggeration and with the technical detail.

  • Isolated signer
  • Mandatory two-step verification
  • Double-entry ledger
  • Signed webhooks

Flow of funds

Where the money goes: four stops

Funds do not pile up in one wallet without a limit. Every stop has one job, and what exceeds the limit of the collection wallet moves to the cold wallet.

  1. Payment addresses

    A separate address per invoice. Confirmed payments are moved to the collection wallet in scheduled batch sweeps.

  2. Collection wallet

    Capped; any excess is rebalanced to the payout wallet or the cold wallet.

  3. Payout wallet

    Withdrawals are sent from here. It is filled from the collection wallet according to the last 48 hours; its key is in the signer.

  4. Cold wallet

    Where surplus funds go. Its private key is not on our servers.

Every signature goes through the isolated signer

The signer checks every request against its own rules: sweeps may only go to the collection wallet, treasury moves only between platform wallets and the cold wallet, and withdrawals are subject to per-transaction and daily caps. Requests that break a rule are refused and logged.

The treasury balance is checked every hour, and our team is alerted when the payout wallet needs a top-up from cold storage.

Controls

Protection in layers

If one control fails, the next one still holds. Everything below is part of the system running today.

Key management

  • The master seed is stored encrypted with AES-256-GCM; the decryption key lives in a separate container secret, not in the database or the code repository.
  • The signer runs as a process separate from the API and only answers HMAC-authenticated requests over a local Unix socket.
  • Every signing request carries a purpose; destinations and amounts that do not fit the purpose are refused.

Account security

  • Two-step verification is mandatory on every account: e-mail codes, an authenticator app (TOTP) or passkeys.
  • Adding a passkey requires your password and a second verification step; verification attempts are limited per account.
  • Passwords are hashed with Argon2id, and every verification code can be used only once.
  • Sign-in and sign-up forms are protected against automated attacks with Cloudflare Turnstile.
  • We tell you about sign-ins from a new device, new addresses and repeated wrong codes; 8 wrong codes end the session.
  • Passwords that are easy to guess are refused, and sessions end after 30 days at the latest.
  • Setting up an authenticator gives you 10 single-use recovery codes. A lost one is removed only with our confirmation and after 72 hours; a change of e-mail address waits 24 hours and can be stopped from the old one.

Withdrawal safeguards

  • Every withdrawal from the dashboard needs both an e-mail code and an authenticator app code.
  • API and automatic withdrawals only go to trusted addresses; an address can become trusted after 7 days and 3 completed withdrawals.
  • After a password reset or authenticator removal, withdrawals are locked for 24 hours and trusted addresses are reset.
  • Daily limits apply, and withdrawals above the review threshold are approved by our team before they are sent.

Funds screening

  • Every incoming payment is screened against the blacklist in the USDT contract and TRON addresses on the OFAC sanctions list.
  • The OFAC list is refreshed daily; the EU, UN and UK lists can be switched on as well.
  • Matching payments are held and the payment address is quarantined.

Ledger and reconciliation

  • Every movement is written to a double-entry ledger, and balances cannot go negative.
  • The ledger is reconciled with on-chain balances every 6 hours; on a mismatch, payouts pause automatically.
  • The account activity log and the back-office audit log are hash-chained, so later changes to them are detectable.

API and webhooks

  • Webhooks carry a timestamped HMAC-SHA256 signature (t=…,v1=…); our SDKs reject signatures older than 5 minutes.
  • When a signing secret is rotated, the old one stays valid for an overlap period; webhook URLs cannot point to internal networks.
  • Only a hash of each API key is stored; keys can be restricted with scopes, an IP allowlist and an end date.
  • Changing a webhook URL or revealing its signing secret asks for the password and the second factor.

Application security

  • This website, the dashboard, the payment page and the back office are served under a strict Content Security Policy with a fresh nonce on every request.
  • Session cookies are HttpOnly and SameSite=Strict, and a CSRF token is checked on every request that changes something.
  • The API, payment pages and sign-in endpoints are rate limited; the website runs no third-party scripts, analytics or ads.

Back-office access

  • The back office is a separate application and only answers requests on its configured admin hostnames.
  • An authenticator app is mandatory for staff, and sessions end after 30 minutes of inactivity.
  • Accounts lock for 15 minutes after 8 failed sign-ins in a row, and back-office actions are written to the audit log.

Shared responsibility

What you can do on your side

  • Use a passkey or an authenticator app, and keep e-mail codes as a fallback.
  • Save your withdrawal addresses, and use only trusted addresses for automatic withdrawals.
  • Keep API keys on your server only, give them the narrowest scope and set an IP allowlist.
  • Verify the signature of every webhook request and be ready for the same event to arrive twice.
  • We will never ask for your password or verification codes; report any such request to us.

Found a vulnerability?

Report security issues directly to us. We value working with researchers acting in good faith.

Scope: hisarpay.com and its subdomains, the business dashboard, payment pages, the API and the official SDKs.

Our commitments

  • We acknowledge your report within 3 business days.
  • We assess the finding and keep you informed while we fix it.
  • We will not take legal action over good-faith research that follows these rules.
  • If you wish, we credit you by name once the issue is fixed.

What we ask of you

  1. 1Use only your own accounts, and test mode where possible; do not access other users’ data.
  2. 2No load testing, denial-of-service attempts or social engineering.
  3. 3Do not disclose the issue publicly or to third parties before it is fixed.
  4. 4Include the affected URL, the steps to reproduce and, if possible, a proof of concept.