proofsdocscomparepricinglog in

Documentation

Learn how to integrate Proof Holdings

How it works
The mental model in one page
API Reference
Complete API documentation
SDKs
Official client libraries
Smart Reuse
Skip re-verification with existing proofs
Multi-Profile System
Multiple public profiles per account
Message Templates
Custom branding and message templates per sub-account
Comparison
vs SMS OTP, TOTP, WebAuthn
Pricing
Plans and pricing tiers
Security
Threat model and guarantees
MCP Server
195 tools for AI agents
Integrations
n8n, Zapier, Make, and custom integrations
Proof of Me
Let the people around you check it's really you
Proof of Delegation
A proven domain authorizing an artifact, and how to verify or withdraw it
Resources
GitHub Docs
Status

Proof Holdings Threat Model

Security analysis for developers integrating Proof Holdings

TL;DR

Proof Holdings verifies control of digital assets (phone, email and domain; wallet coming soon) without revealing identity. We issue signed proof tokens (ES256 JWT) that can be verified offline via JWKS.

Key security properties:

  • Reverse OTP model (user sends to us, not vice versa)
  • Constant-time challenge comparison (timing attack resistant)
  • Asymmetric signatures (private key never leaves server)

What we don't do: Identity verification, KYC, fraud prevention, permanent records.


Table of Contents

  • What is Proof Holdings?
  • Security Properties
  • What We Store
  • Approvals
  • Threat Analysis
    • Threats We Protect Against
    • Threats We Do NOT Protect Against
  • Explicit Non-Goals
  • Security Recommendations for Integrators
  • Cryptographic Details
  • Incident Response
  • Version History

What is Proof Holdings?

Proof Holdings is a proof-of-control primitive — it answers: "Does this person control this digital asset right now?"

It is NOT:

  • An identity provider (we don't know WHO they are)
  • A KYC solution (we don't verify identity documents)
  • A fraud prevention system (we provide signals, not decisions)
  • A permanent ownership record (proofs expire)

Security Properties

What Proof Holdings Guarantees

PropertyHow We Achieve It
AuthenticityES256 asymmetric signatures — proofs can't be forged without private key
IntegrityJWT structure — any tampering invalidates signature
Non-repudiationSigned by Proof Holdings — we attest to the verification
Time-boundednessexp claim — proofs expire, forcing re-verification
PrivacyA verification token carries the identifier only as a SHA-256 hash; a delegation token names the domain and the artifact in clear
Offline verificationJWKS public key — verify without API call

What Proof Holdings Does NOT Guarantee

Non-GuaranteeWhy
Current controlProof attests to control at verification time, not now
IdentityControl ≠ identity. We verify control of an asset, not who you are
Exclusive controlMultiple people may control same asset
Future controlAssets can be transferred, numbers ported, domains sold
IntentWe verify control, not what user intends to do

What We Store

About the person being verified: The phone number, email address or domain being verified, encrypted at rest — no names, no ID documents.

Stored identifiers and credentials are encrypted at rest with AES-256-GCM (see Encryption at Rest).

RecordKept for
Verification attemptsDeleted 90 days after they are created
Webhook delivery recordsDeleted 90 days after they are created
Web server request logsDeleted after 30 days
BackupsDaily backups kept 90 days; one monthly backup kept a year

The full list, with the legal basis for each, is in the privacy notice.


Approvals

An approval request is encrypted on the requester's side before it reaches us, and we refuse any that is not. Only someone holding a key that opens it can read it: the business and the approvers it enrolled. An approver decrypts it on their own device.

Each approver gets their own link on Telegram or WhatsApp, and a decision counts only when it is signed with the key enrolled for whoever the link was sent to, unlocked in the browser with their password. A forwarded link alone cannot decide. The record names whose key signed: not who was typing, and not legal identity.


Threat Analysis

Threats We Protect Against

1. SMS Interception (SS7 Attacks)

Traditional OTP vulnerability: Attacker intercepts SMS containing OTP code.

Our mitigation: Reverse OTP — user sends code TO us, not from us. Attacker would need to:

  • Know the challenge code (displayed to user in your app UI)
  • Send the message from the user's account or number
  • Complete within TTL window

Residual risk: If attacker has physical device access, they can complete verification. On SMS, a sender number can be spoofed: inbound SMS is checked against carrier data, and the proof carries the result as its confidence claim (high, standard or degraded) — read it before trusting an SMS proof for a sensitive action.

2. Phishing

Traditional vulnerability: User tricked into entering code on fake site.

Our mitigation: No code travels to the person, so there is no code to steal from a fake "enter your code" page: the person sends the code from their own phone or messaging account to our number or bot.

Residual risk: A phisher can still ask someone to send a code to the phisher's own number. Email verification is the exception to the first sentence: it mails a code and a link, which a fake page can ask for.

3. Credential Stuffing

Traditional vulnerability: Attacker uses leaked passwords.

Our mitigation: Passwordless — no credentials to stuff. Each verification requires current asset control.

Residual risk: None for this attack vector.

4. Replay Attacks

Traditional vulnerability: Attacker reuses captured authentication.

Our mitigation:

  • Challenge codes expire (phone: 10 min, email: 30 min, domain: 24 hours)
  • Proofs have exp claim (default 365 days)
  • Each verification generates unique proof token
  • iat (issued at) prevents backdating

Residual risk: Valid proof can be replayed within its validity window — this is by design (proofs are meant to be portable). Integrators can control this by setting a shorter proof expiry with the proof_expiry_days parameter (1–365) when creating verifications, or by requiring fresh proofs (iat check) for sensitive actions. See Expiry Recommendations below.

5. Timing Attacks

Traditional vulnerability: Attacker infers information from response timing.

Our mitigation:

  • crypto.timingSafeEqual() for all challenge comparisons
  • Constant-time operations regardless of match/mismatch
  • No early-exit on partial matches

Residual risk: None for timing-based inference.

6. Brute Force

Traditional vulnerability: Attacker guesses challenge codes.

Our mitigation:

  • 6-character alphanumeric (36^6 = 2.1 billion combinations)
  • Maximum 3 attempts per challenge
  • Challenge expires after attempts exhausted
  • Rate limiting per tenant and per IP
  • Redis-backed tracking
  • Backoff between attempts: 1 s before the second, 2 s before the third

Residual risk: 3/2.1B = 0.00000014% chance per challenge window.

7. Token Forgery

Traditional vulnerability: Attacker creates fake proofs.

Our mitigation:

  • ES256 asymmetric signing
  • Private key stored securely on server
  • Public key only verifies, cannot sign
  • Key ID (kid) enables rotation

Residual risk: Private key compromise would allow forgery — mitigated by server access controls and audit logging.

8. Man-in-the-Middle

Traditional vulnerability: Attacker intercepts API communication.

Our mitigation:

  • HTTPS only (HSTS with preload directive)
  • Cloudflare proxy with origin IP lockdown
  • Webhook signatures (HMAC-SHA256 with timestamp)

Residual risk: Cloudflare compromise would be catastrophic (affects most of internet). Mitigation: Origin server accepts only Cloudflare IP ranges (an nginx allow-list, behind the host firewall), HSTS preload prevents downgrade, webhook signatures (HMAC-SHA256) provide end-to-end integrity independent of transport, and proof tokens are cryptographically signed (ES256) so tampering is detectable even if TLS is compromised.

9. Denial of Service (Request Flooding)

Traditional vulnerability: Attacker sends oversized payloads to exhaust memory.

Our mitigation:

  • Request body size limit (10KB max)
  • Cloudflare DDoS protection
  • Rate limiting per tenant and per IP

Residual risk: Distributed attacks at Cloudflare scale.

10. Server-Side Request Forgery (SSRF)

Traditional vulnerability: Attacker tricks server into making requests to internal resources.

Our mitigation:

  • URL validation blocks localhost, 127.0.0.1, private IP ranges
  • Blocks .local, .internal, .localhost domains
  • Webhook URLs validated before delivery
  • DNS rebinding: the hostname is resolved once, every returned address is checked, and the connection goes to the checked address

Residual risk: An internal address the block list does not cover.

11. Path Traversal & Probing

Traditional vulnerability: Attacker probes for sensitive files (.git, .env, admin panels).

Our mitigation:

  • Nginx blocklist of attack paths
  • Blocks: .git, .env, wp-admin, phpmyadmin, .sql, shell paths
  • A fixed list of known attacker IPs, refused at nginx

Residual risk: Zero-day paths not in blocklist.

12. Session Hijacking

Traditional vulnerability: Attacker reuses stolen JWT tokens.

Our mitigation:

  • JWT blacklist checked on every request (Redis-backed)
  • Logout invalidates token immediately
  • Short token expiry with refresh rotation

Residual risk: Token valid until next Redis check (milliseconds).

13. Clickjacking & XSS

Traditional vulnerability: Attacker embeds site in iframe or injects scripts.

Our mitigation:

  • Security headers: X-Frame-Options: SAMEORIGIN (approval pages also send frame-ancestors 'none'), X-Content-Type-Options: nosniff
  • Strict CORS (production locked to https://proof.holdings)
  • Content-Security-Policy headers

Residual risk: Browser without header support (rare, legacy).


Threats We Do NOT Protect Against

1. SIM Swap After Verification

Scenario: User verifies phone, then attacker SIM-swaps the number.

Why we don't protect: Proof attests to control at verification time. Subsequent SIM swap doesn't invalidate the proof — this is correct behavior (proof is a historical attestation).

Mitigation for integrators: Set short proof expiry, require re-verification for sensitive actions.

2. Compromised User Device

Scenario: Attacker has malware on user's phone/computer.

Why we don't protect: If attacker controls the device, they can complete verification as if they were the user. No remote verification system can distinguish legitimate user from attacker with device access.

Mitigation for integrators: Defense in depth — combine with device fingerprinting, behavioral analysis.

3. Social Engineering

Scenario: Attacker convinces user to send verification code.

Why we don't protect: We verify asset control, not user intent. If user voluntarily completes verification for attacker, we have no way to know.

Mitigation for integrators: Clear UI messaging about what verification means and its consequences.

4. Insider Threat

Scenario: A Proof Holdings employee acts maliciously.

Current mitigation:

  • Principle of least privilege
  • Audit logging
  • No access to raw credentials (bcrypt hashed)

Future consideration: Hardware security modules (HSM) could provide additional key protection.

5. Collusion

Scenario: User and attacker work together to create "verified" accounts.

Why we don't protect: If user legitimately controls asset and chooses to help attacker, verification is technically valid.

Mitigation for integrators: This is a business logic problem, not a verification problem.


Explicit Non-Goals

We Are NOT Building:

  1. Identity Verification
    • We prove control, not identity
    • Same phone can be controlled by multiple people
    • Control of asset says nothing about who you are
  2. KYC/AML Solution
    • We don't collect identity documents
    • We don't verify legal identity
    • We're a primitive, not a compliance solution
  3. Fraud Prevention
    • We provide signals ("this person controls this phone")
    • Fraud decisions are your responsibility
    • A verified phone number can still be used for fraud
  4. Permanent Ownership Record
    • Proofs expire by design
    • Assets change hands
    • Re-verification is expected and encouraged
  5. Real-time Control Monitoring
    • We verify control at a point in time
    • We don't monitor ongoing control
    • Asset transfer after verification is not detected

Security Recommendations for Integrators

Proof Validation Checklist

text
1. ✓ Verify signature using JWKS public key
2. ✓ Check `exp` claim (not expired)
3. ✓ Check `iss` claim equals "proof.holdings"
4. ✓ Check revocation list (GET /api/v1/proofs/revoked)
5. ✓ Verify `type` and `channel` match your requirements
6. ✓ For sensitive actions: require fresh proof (check `iat`)

Expiry Recommendations

Use CaseRecommended Expiry
Session authentication7 days
Account linking30 days
Compliance records90 days
Low-risk preferences365 days

Set the expiry with proof_expiry_days (1–365) when creating a verification; the default is 365 days. For a window shorter than a day, check iat yourself.

Defense in Depth

Don't rely solely on Proof Holdings. Combine with:

  • Device fingerprinting
  • Behavioral analysis
  • IP reputation
  • Rate limiting on your end
  • Step-up authentication for sensitive actions

Cryptographic Details

Challenge Generation

text
Algorithm: crypto.randomBytes(12) with modulo reduction
Alphabet: A-Z, 0-9 (36 characters)
Length: 6 characters
Entropy: log2(36^6) = 31.0 bits
Comparison: crypto.timingSafeEqual()

Proof Token Signing

text
Algorithm: ES256 (ECDSA on P-256 with SHA-256)
Curve: prime256v1 (NIST P-256)
Key distribution: JWKS (/.well-known/jwks.json)
Token format: JWT (RFC 7519)
Note: Production uses ES256. There is no HS256 fallback: without a signing key nothing is signed.

Identifier Hashing

text
Algorithm: SHA-256
Input: Normalized identifier (E.164 for phone, lowercase for email)
Output: 64-character hex string
Purpose: Privacy — a verification token carries the identifier only as this hash; a delegation token names the domain and the artifact in clear

Encryption at Rest

text
Algorithm: AES-256-GCM
Key derivation: HKDF-SHA256 from a master key, one key per key version
Ciphertext: carries its key version, so a rotated key still decrypts older data
Purpose: Encrypt sensitive stored fields (identifiers, webhook secrets) at rest

Wallet Address Validation (wallet verification coming soon)

text
Ethereum: 0x + 40 hex characters (checksum validated)
Solana: Base58, 32-44 characters
Bitcoin: Legacy (1...), P2SH (3...), Bech32 (bc1...)
Purpose: Reject malformed addresses before verification attempt

Webhook Signatures

text
Algorithm: HMAC-SHA256
Payload: timestamp.body
Header: X-Proof-Signature
Validation: Compare within 5-minute window
Note: Production warns if webhook secret not configured — receivers cannot verify authenticity without it.

Incident Response

If You Suspect Compromise

  1. Revoke affected proofs — POST /api/v1/proofs/:id/revoke
  2. Check revocation list — GET /api/v1/proofs/revoked
  3. Contact us — [email protected]
  4. Require re-verification — Don't trust existing proofs

Our Commitment

  • Security issues disclosed via [email protected]
  • Critical vulnerabilities: Immediate key rotation capability
  • Transparency: Public disclosure after fix (coordinated)

Version History

VersionDateChanges
1.32026-10-26Corrected to the current implementation (proof lifetime, retry delays, headers, encryption at rest); added What we store and Approvals
1.22026-02-04Added: SSRF protection, WAF blocklist, session hijacking, clickjacking/XSS, BYOC encryption, wallet validation, TL;DR, TOC, related docs
1.12026-02-04Added: exponential backoff, request size limits, DoS protection, HSTS preload
1.02026-02-04Initial threat model

This document is intended for developers integrating Proof Holdings. For security researchers, please report vulnerabilities to [email protected].


Related Documentation

  • API Reference — Endpoints, authentication, webhooks
  • Primitives — Core mental model
  • Pricing — Plans and verification limits
  • SDKs — Official client libraries

Related

API ReferenceHow it works
Last updated October 26, 2026
Proof Holdings

The verification API for humans and AI agents — every verification a signed proof you hold.

A service of LT Telecom (UAB "LT telekomunikacijos")

PrivacyTermsDPASubprocessorsStatusGitHubLinkedIn