Security & governance
Controls you can inspect, not badges we haven't earned.
Financial documents deserve conservative engineering. Here is what is implemented, what is designed, and who is responsible for what.
| Control | Detail | Status |
|---|---|---|
| Tenant isolation | Every tenant table carries org_id. PostgreSQL row-level security is enabled and forced, and the application connects as a non-owner role without BYPASSRLS. Cross-tenant requests return 404. Isolation is covered by automated tests. | Implemented |
| Authentication | argon2id password hashing, a 12-character minimum with a common-password check, login throttling and lockout, TOTP two-factor authentication, opaque session tokens stored as hashes, and an idle and absolute session expiry. | Implemented |
| Authorisation | Nine roles with a single permission matrix enforced in the API, plus human-only actions that API keys can never perform. | Implemented |
| CSRF & headers | A double-submit CSRF token on mutating requests. CSP, X-Frame-Options DENY, nosniff and Referrer-Policy. HSTS in production. | Implemented |
| Document security | Extension and magic-byte checks, size and page limits, encrypted-PDF rejection, SHA-256 dedupe, private storage keyed by organisation and authorised streaming downloads. | Implemented |
| Field encryption | PAN and GSTIN are encrypted with AES-256-GCM and displayed masked. KMS-managed keys in AWS are designed but not deployed. | Implemented (local keys) |
| API keys | Shown once, stored as HMAC-SHA256 with a server pepper, scoped, with rotation grace periods and immediate revocation. Usage is metered. | Implemented |
| Webhooks | HMAC-signed payloads with timestamps, and an SSRF guard that rejects private and reserved addresses. | Implemented |
| Audit log | Append-only (the application role has no UPDATE/DELETE grant) and hash-chained per organisation, with a verification endpoint and CSV export. | Implemented |
| Consent | Documents are processed only under an active consent record whose scope covers the document category. | Implemented |
| Encryption at rest (cloud) | RDS and S3 with KMS CMKs and Block Public Access. | Designed — not deployed |
| Malware scanning, WAF, SSO, pen test | ClamAV Lambda, AWS WAF, SAML/OIDC and an independent penetration test before pilots. | Planned |
| Certifications | We intend to pursue SOC 2 Type II and ISO/IEC 27001. We hold neither today. | Planned |
Shared responsibility
AiForge (technology provider / processor): platform security, tenant isolation, consent tooling, audit trails, data-residency design, incident notification to customers, and its own obligations as data fiduciary for account users and website visitors.
Lender customer (regulated entity / controller): lawful basis and borrower consent, credit decisions, notices and grievance redress, obligations under the RBI Digital Lending Directions and applicable data-protection law, and oversight of its technology vendors.
Software alone does not make an institution compliant. We recommend independent legal review. Open legal questions are tracked in our architecture documentation.
Data residency
The production design keeps Indian customer data in AWS ap-south-1 (Mumbai), with disaster recovery in ap-south-2 (Hyderabad).
Incident response
Customer notification without undue delay after a confirmed incident (a 24-hour target), plus regulatory reporting where it applies to AiForge, and a post-incident review.
Responsible disclosure
Report vulnerabilities to contact@aiforg.live with the subject “Security report”. We acknowledge reports and keep reporters informed. Please don't test against systems you don't own.
See CreditLens work on a synthetic MSME file.
Walk through document processing, cash-flow analysis, indicators, risk signals and the underwriting report in about five minutes. No sign-up required.