Skip to main content

SaaS Code Audit

Pre-launch security, performance, and architecture audit for production SaaS

Get in touch
SaaS Code Audit illustration

A tenant isolation failure in production isn’t a bug report — it’s a contract termination. One missing customer_id check means Client A can query Client B’s data, and a Zod field required in the frontend but Optional in Pydantic silently writes malformed records from day one of traffic.

Obox Systems is an international software engineering company headquartered in the US, specializing in pre-launch security and architecture audits for production SaaS. Engagements are led by our Principal Systems Architect, backed by a structured team with mandatory peer review; NDA available on request.

A senior engineering team — not a single reviewer, not an automated scanner — audits your codebase domain by domain and delivers a severity-tagged findings report: file:line references, reproduction steps, and recommended fixes. We audit and report; we don’t build. That separation keeps the findings objective. Best fit: Python and/​or TypeScript, multi-tenant, 200–1,500 source files, launching within weeks.

We can help you with:

  • Multi-tenant isolation — customer_id enforcement across every SQLAlchemy ORM call, raw SQL, bulk operation, and background job. IDOR risk surface mapped: which endpoints accept IDs, which validate ownership, which don’t.
  • Authentication and session flow — digital signing chain, OTP logic, session fixation, replay attacks, and privilege escalation paths.
  • Performance — N+1 queries, missing PostgreSQL indexes, connection pool sizing, and race conditions, load-tested at 200+ concurrent users.
  • Schema drift — Zod ↔ Pydantic type consistency across the full API boundary. Mismatches documented with propagation paths.
  • Architecture — helper duplication, shared library usage, error handling consistency, circular dependencies.
  • Secret management and PII exposure — environment variable handling, log scrubbing, credential rotation paths, PII-in-logs scan.

The Diagnostic Architecture Audit maps your tenant isolation surface and auth chain in five days — a severity-tagged report you own.

Technologies we use

  • Python
  • TypeScript
  • React
  • FastAPI
  • PostgreSQL
  • Pydantic
  • Zod
  • SQLAlchemy
  • Docker
  • GitHub Actions

Packages

Diagnostic Architecture Audit

Tenant isolation and authentication audited — severity-tagged findings with file:line references, reproduction paths, and fixes

5 days

Rapid Technical Spike / PoC

Full six-domain audit — security, performance, schema drift, architecture, secrets, and PII — with a remediation review

2–3 weeks

Dedicated Engineering Squad

Ongoing review — every release audited before it ships, with findings delivered as a sprint-ready backlog

Monthly retainer

Core Modernization Sprint

Audit findings remediated in phases — tenant isolation, security, and performance fixes, each verified against the original report

Milestone-based

Team Training & Enablement

Your engineers learn to find and fix these classes of defects themselves: from a 2-day workshop on tenant isolation and security review to a 4-month programme on your own repository, with joint code review

2 days – 4 months, optional

Case Studies

Dust AI Assistant Development project screenshot
AI Systems Engineering

Dust AI Assistant Development

Netherlands1 month

Stabilized the Dust AI assistant platform with a reliable local environment, validated data schemas, and resolved input-handling edge cases — improving response accuracy and long-term maintainability.

Robot Vacuum Cleaner App project screenshot
Embedded Rust Systems

Robot Vacuum Cleaner App

United States24 months

Re-architected a robot vacuum companion app, migrating critical components from Swift to Rust — halving the codebase, eliminating crashes and deadlocks, and boosting cross-platform speed.

SaaS Mapping Platform (Maptive) project screenshot
SaaS Development

SaaS Mapping Platform (Maptive)

Canada27 months

Enhanced Maptive's WebGL mapping engine, scaling rendering from 4,000 to 100,000 map objects, improving precision, and adding automated WebGL testing to the CI/CD pipeline.

Juspay Router - A Financial Switch project screenshot
Low Latency SystemsRust Development

Juspay Router - A Financial Switch

4 months

Core contributions to Hyperswitch, an open-source Rust financial switch that routes transactions between merchants, processors, and banks with high performance and extensibility.

FAQ

  • A severity-tagged findings document (Critical / High / Medium / Low) with file:line reference, reproduction path, and recommended fix per issue. Every finding is actionable — the report functions as a sprint backlog, not a consulting summary.

  • The five-day Diagnostic Architecture Audit covers tenant isolation and authentication. The full audit covers all six domains: security, N+1 queries, schema drift, architecture, secret management, and PII exposure.

  • We report and recommend. Remediation is a separate engagement, scoped after the audit — so the findings stay objective and you decide who fixes them.

  • We trace every query path for customer_id enforcement — ORM calls, raw SQL, bulk operations, and background jobs. We map the IDOR risk surface: which endpoints accept IDs as parameters, which validate ownership, which don’t.

  • By domain, not by file. We trace every query path for customer_id enforcement, map the auth chain from OTP to session management, and cross-reference every Zod field against its Pydantic counterpart. File count scales our effort, not our methodology.

  • Read-only GitHub repository access only. We never require write access or local setup. The codebase stays in your version control — we review from a branch off your main. You revoke access after delivery.

  • Static analysis finds syntax-level vulnerabilities. We find architectural ones — a customer_id present but never validated, a race condition in a background job, a Zod field required but optional in Pydantic. These require human judgment, not pattern matching.

  • Yes. NDAs before any codebase access is granted, on request. Signed contracts with fixed scope per phase. Wyoming LLC — you’re contracting with a registered entity, not an individual.

  • You do. The full findings document, severity matrix, and recommended fixes are fully assigned to you on completion — no vendor lock-in.

  • customer_id enforced at model save but absent from query filters, so background jobs bypass tenant boundaries. Zod required fields mapped to Pydantic Optional with no default. OTP replay windows left open by missing rate limits. Each finding comes with file:line, reproduction path, and fix.

Book a free call

Consult with our engineering team to define the perfect solution for your needs.

Book a call
30 minutes