Client Case Study · Fintech / Mortgage Advisory SaaS

Four Critical Vulnerabilities Found. All Four Closed Before the Report Was Even Final.

Cyber Analytical Solutions conducted a full-stack security assessment of an anonymized mortgage advisory SaaS platform across API security, database access controls, source code and CI/CD, and cloud infrastructure. Critical issues were disclosed immediately, remediation was verified during the engagement, and the client received a prioritized 7-, 30-, and 90-day improvement roadmap.

API Security Tests Passed
67/67
Database Tables Reviewed
76
Serverless Functions Catalogued
30
Architectural Rework Required
Zero

Overall Security Rating

78/100 Good, With Targeted Gaps

01

Engagement Overview

The client is a founder-led SaaS company building an AI-assisted mortgage advisory platform used by loan advisors to manage client relationships, generate loan scenarios, and process sensitive borrower documents.

The multi-tenant architecture included a PostgreSQL-backed database with Row Level Security, cloud storage, serverless compute, and a CI/CD deployment pipeline.

As the platform prepared to move beyond beta and pursue larger advisory partnerships, Cyber Analytical Solutions was engaged to independently validate security end-to-end.

The objective was to assess not only API security, but also the database policies enforcing tenant isolation, source code and deployment practices, and cloud infrastructure processing client data.

Challenge

A founder-led engineering operation moving quickly to deliver features needed an independent, adversarial security review before scaling, without slowing product development or requiring a costly architectural rebuild.

02

Assessment Methodology

  • All testing was authorized, read-only, and non-destructive.
  • Dedicated test accounts with different privilege levels were used.
  • No production data was intentionally created, modified, or deleted.

Assessment domains

  1. 01

    API Security Testing

    67 test assertions across 9 sections covering authentication, authorization, role-based access control, and cross-tenant isolation.

  2. 02

    Database Access Review

    All 76 production tables reviewed. Row Level Security policies were inventoried and cross-checked against live API test results.

    RLS table coverage: 100%
  3. 03

    Source Code & CI/CD Review

    Read-only repository review covering commit history, CI/CD workflows, configuration files, and 30 serverless functions.

  4. 04

    Cloud Infrastructure Review

    Least-privilege review of cloud storage, compute, permissions, encryption, public access, logging, and sensitive-data exposure risks.

03

Results

Overall Security Rating

78/100

Good, With Targeted Gaps

Total Findings

41

Across all four assessment domains

Full severity distribution

4

Critical

9

High

11

Medium

4

Low

13

Positive Controls / Observations

Security posture highlights

Data Isolation 90/100
API Security 85/100
Authentication Configuration 55/100

Authentication configuration was the lowest scoring area, driven by disabled email confirmation and weak password-policy settings.

04

Critical Findings

All four critical findings were disclosed immediately after confirmation. All four were remediated and verified before delivery of the final report.

Critical 1 Remediated & Verified

Cloud Service Account Private Key Committed to Source Control

Risk

A private key for a cloud AI service account had been committed to repository history. Anyone with repository access, including historical clones, forks, or backups, could potentially recover it and impersonate the service account.

Remediation

The key was revoked at the source, a replacement was stored in a managed secrets vault, repository history was purged, and Cyber Analytical Solutions independently re-verified that the exposed key was no longer present.

Critical 2 Remediated & Verified

Cryptographic Private Key Tracked in Repository History

Risk

A private cryptographic key was tracked across multiple commits. Deleting the current file alone would not remove it from historical repository copies.

Remediation

The key was purged from repository history and its absence was independently verified. Pre-commit controls and .gitignore hardening were recommended to prevent recurrence.

Critical 3 Remediated & Verified

Real Customer PII Committed to Source Control in a Sample Data File

Risk

A mortgage-related sample data file contained real borrower information rather than synthetic test information, creating exposure risk through repository access, CI activity, or backups.

Remediation

The file and its repository history were removed. The client confirmed the information was real. Cyber Analytical Solutions recommended formal data-classification requirements, synthetic data for development activity, and evaluation of applicable notification obligations.

Critical 4 Remediated & Verified

Live Cloud Credentials Stored in Plaintext on a Developer Workstation

Risk

A local environment file contained active cloud credentials and service-account secrets in plaintext. Although the file had not been committed to source control, plaintext secrets remained vulnerable to malware, backups, device loss, or workstation compromise.

Remediation

All affected credentials were rotated and the original credentials deactivated. Secrets were migrated to a managed secrets vault for cloud and local-development use.

05

Representative Additional Findings

The findings below are representative examples from the complete 41-finding engagement. They do not represent the full severity distribution, which is shown in Results.

High

Overly Broad Roles on Database Access Policies

11 tables used a broad unauthenticated-inclusive role in access policies. Identity conditions continued to restrict access, but the pattern could create exposure if a condition were later misconfigured.

Recommendation: Migrate affected policies to authenticated-only roles and reserve broader roles for intentionally public endpoints.

High

Serverless Functions Deployed Without Verified Authentication

The CI/CD pipeline deployed all 30 serverless functions with platform-level JWT verification disabled, relying on function-specific authentication. 27 of the 30 functions had not been individually verified.

Recommendation: Perform a per-function authentication audit and move to explicit function-level authentication configuration.

Medium

Database Compute Plan Running Over Its Memory Limit

The production database was confirmed by the platform vendor to be operating approximately 17% over its committed memory limit on a sustained basis. This represents an availability and stability risk.

Recommendation: Upgrade the compute tier before continued user growth.

Low

Development Origins Present in Production CORS Configuration

Local development origins remained permitted in the production storage CORS configuration.

Recommendation: Maintain environment-specific CORS configurations and remove development origins from production.

06

Positive Control

Positive Control

Cross-Tenant Isolation Held Under Live Attack Simulation

Every attempt by a lower-privilege test account to read another tenant's information returned empty results.

The behavior was validated through the API security scenarios and independently compared with database access policies across all 76 production tables.

07

Roadmap

24 findings remained open after the four critical findings were remediated. They were organized into a prioritized roadmap:

  1. Days 1–7

    Immediate

    Authentication hardening and highest-risk access-policy fixes.

    6 findings

  2. Days 8–30

    Short Term

    Access-policy consolidation, serverless-function authentication audit, and infrastructure scaling.

    9 findings

  3. Days 31–90

    Medium Term

    Logging hygiene, infrastructure right-sizing, CORS hardening, and TLS safeguards.

    9 findings

08

Final Outcome

Overall Rating

78/100 Good, With Targeted Gaps

No structural or architectural re-platforming was required. The remaining findings could be addressed through configuration improvements, policy cleanup, infrastructure adjustments, and targeted code changes.

The engagement gave the client a prioritized, risk-based roadmap for strengthening the platform while continuing product development and preparing for larger advisory partnerships and future compliance conversations.

Need a Clearer View of Your Application or Cloud Security Risk?

Cyber Analytical Solutions helps growing businesses assess security across applications, APIs, vendors, cloud infrastructure, governance, and compliance requirements.