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.
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
-
01
API Security Testing
67 test assertions across 9 sections covering authentication, authorization, role-based access control, and cross-tenant isolation.
-
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% -
03
Source Code & CI/CD Review
Read-only repository review covering commit history, CI/CD workflows, configuration files, and 30 serverless functions.
-
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
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.
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.
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.
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.
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.
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.
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.
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.
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
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:
-
Days 1–7
Immediate
Authentication hardening and highest-risk access-policy fixes.
6 findings
-
Days 8–30
Short Term
Access-policy consolidation, serverless-function authentication audit, and infrastructure scaling.
9 findings
-
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.