Security Hardening
Security Dashboard
Security-hardened, auditable, double-spend resistant, replay-resistant enterprise finality infrastructure. Not a claim of perfection — an honest assessment.
Security Score
71%
48/68 checks pass
Open Vulnerabilities
6
1 fixed
Needs Review
20
checklist items
Production Ready?
Not yet
Open items remain
Rejected Txs
0
Double-Spend Blocked
0
Replay Blocked
0
Invalid Signatures
0
Vulnerability Report
API key hash not enforced at creation
Fix: Hash key before storage using SHA-256; show raw key only once in one-time reveal UI
Risk: Key exposure in database if compromised
LedgerTransaction RLS not scoped to customer
Fix: Add RLS policy: sender_wallet_id or receiver_wallet_id matches current user
Risk: Cross-tenant transaction read
No unique database constraint on tx_hash
Fix: Add unique constraint on tx_hash to prevent duplicate finalization race conditions
Risk: Potential duplicate finalization under concurrent load
MFA not explicitly enforced for admin/validator roles
Fix: Require MFA challenge on sensitive role login; gate admin routes behind MFA session check
Risk: Admin account compromise without MFA
Fake live settlement ticker removed from homepage
Fix: Removed in this release. Component deprecated.
Risk: Misleading financial data to prospective customers
Auto account suspension threshold not implemented
Fix: Add automatic suspension trigger when double_spend_flags exceeds configurable threshold
Risk: Manual review required for flagged accounts
Redacted receipt verification path not implemented
Fix: Add hash-only proof mode that verifies inclusion without exposing payload
Risk: Privacy-sensitive customers require redacted proofs
Security Acceptance Checklist
Secrets & Environment
Requires operator confirmation
Authentication & Sessions
Platform-managed; confirm idle timeout
Needs explicit MFA enforcement per role
Authorization & RBAC
RLS scoping required per role
Row Level Security (RLS)
Add sender_wallet_id or customer_id RLS
Admin-only write enforced
Add owner_id filter
API Key Security
key_hash field present; hash enforcement in create flow needed
Implement one-time reveal UI
Frontend field present; server enforcement needed
Rate Limiting & Anti-Spam
Manual suspension; auto-threshold pending
Transaction & Ledger Security
Unique constraint on tx_hash recommended
Audit & Logging
AuditLog entity present; write triggers needed
Public Explorer Privacy
Implement hash-only verification path
Validator & Node Security
Runbook needed
Infra requirement; operator must confirm
Frontend Security
Audit all ReactMarkdown/innerHTML paths
Backups & Disaster Recovery
Platform managed; confirm backup schedule
Test restore quarterly
Define targets before mainnet
Production Readiness Status
HCP is currently in security-hardened beta. The system is not marked production-ready until all critical and high-severity items are resolved and the full security acceptance checklist passes. Items marked "Needs Review" require operator confirmation or additional implementation before mainnet deployment.
- →API key hash enforcement must be implemented in create flow
- →LedgerTransaction RLS must be scoped to customer/owner
- →MFA enforcement must be validated for admin and validator roles
- →Unique database constraint on tx_hash must be confirmed
- →Disaster recovery restore test must be completed
- →Incident response runbook must be completed before launch