blackrocket
Back to Products

Technical Case Study //
Architectural Post-Mortem: VendorShield

Asset Profile

B2B Financial Risk Mitigation SaaS

Production Release Window

Q1 2026

Core Engineering Focus

Zero-Latency Identity Triangulation & Bank Account Verification

Executive Abstract

VendorShield was built to address a catastrophic vulnerability in corporate accounts payable workflows: systemic supplier payment fraud. Traditional manual validation relies on human verification of bank statements and PDF invoices—a vector highly susceptible to social engineering, deepfakes, and intercept updates.

Our mandate was to build an enterprise-grade automated system capable of running multi-point verification protocols to isolate mismatches and fraud vectors before funds leave a business. This brief documents the engineering bottlenecks encountered while achieving a sub-60-second execution lifecycle.

The Engineering Challenge: The Latency vs. Security Paradox

To prevent corporate payment fraud, we needed to cross-reference third-party banking records, national corporate registries, and historic payment telemetry concurrently.

Initially, our alpha architecture triggered sequential API calls across distributed validation endpoints:

[User Trigger Check] ──> [Bank Registry API] ──> [Corporate Identity KYC] ──> [Risk Engine Scoring]

This sequential dependency resulted in a crippling 14.2-second response latency—entirely unacceptable for high-velocity enterprise financial workflows or automated bulk ERP batch runs.

The Solution: Asynchronous Pipeline Triangulation

To drop the transaction time down to the target sub-60-second window, we completely decoupled the validation pipeline using Next.js Edge Functions and a parallelized worker pool architecture backed by PostgreSQL row-level caching.

We refactored the verification engine to execute concurrent asynchronous promises:

                      ┌──> [Asynchronous Bank Account Match Worker] ──┐
[Encrypted Inbound] ──┼──> [Parallel Company ID Triangulation Worker] ──┼──> [Unified Risk Engine]
                      └──> [Historical Telemetry Anomaly Worker]    ────┘

Technical Breakdown of the Stack:

  • Edge Compute: Deployed via edge nodes to process request validation and data sanitization as close to the user as possible, cutting raw transport layer overhead by 40%.
  • Data Isolation: Built strict PostgreSQL schemas using multi-tenant isolation layers. Every supplier verification run is executed inside a cryptographically secure sandbox to guarantee corporate data privacy.
  • The 60-Second Real-Time Limit: By converting the sequential verification chains into parallel workers, we brought total telemetry processing time down to under 12 seconds per execution run, safely outperforming our target SLA.

Critical Post-Mortem Insights: What We Learned

1. Data Anomalies are Dynamic, Not Static

During early testing, we discovered that simple string-matching for supplier company names frequently caused false positives due to formatting variations (e.g., "Company LTD" vs "Company Limited"). We had to integrate a lightweight fuzzy-matching algorithm into our parallel processing engine to resolve name variances without increasing processing time.

2. Strict Caching Boundaries are Mandatory

To prevent stale corporate data from validating inactive accounts, cache invalidation rules must be absolute. VendorShield enforces a hard, non-negotiable 24-hour expiration limit on all cached third-party database nodes. Security always overrides execution speed.

System Performance Deployed

The resulting core product architecture successfully addresses payment risks before capital distribution events occur. The engine handles high-volume batch queries through external ERP connections smoothly while maintaining a minimalist, highly scannable interface layout for finance administrators.

11.4s Avg. Execution Speed
< 0.04% False Positive Rate
99.99% Uptime SLA
Next.js PostgreSQL Tailwind CSS Edge Computations Parallelized Promises

Build Metric Transparency

This case study represents our actual product development journey. We build real, long-term software assets. Want to see the architecture in action?