GMI Software
Core areas
AI & Automation
From workflow and business case to production
Mobile Apps
iOS, Android, React Native
Headless & B2B commerce
Stores, sales platforms, ERP/PIM integrations
Complementary services
AI-gen developmentE-commerce mobile analyticsProduct Discovery & DesignBackend, API & IntegrationsMaintenance & AuditsDDT process
Don't know what to choose? Order a consultation
Our projects
Case studies and references
App Ideas Library
Use case examples
MobileCore Stack
React Native
E-commerceCore Stack
Service: commerce & B2BAdvanced commerceMedusaJS
Frontend & QA
Next.jsReactTypeScriptPlaywrightMaestro
Backend, DB & Cloud
Node.jsNestJSPostgreSQLDockerAWS
E-commerce Innovation
3D configurators (BabylonJS)AI agents & automationRAG & knowledge basesAI-native software companyView all AI services
View all technologies
About us
Our history and values
Careers
Join our team
Contact
Get in touch
Get in touch
AI Opportunity Sprint
Services
Mobile AppsHeadless & B2B commerceAll services
Projects and results
Technologies
Next.jsNode.jsAWSFull technology stack
Meet GMIGet in touch
Back to blog
Technology
Updated: July 11, 2026· Originally published: March 2, 2026
21 min read

Ecommerce security review before Black Friday: what to check before traffic, bots and checkout hit production

Mikołaj Lehman, CEO & Founder, GMI Software
Mikołaj Lehman
CEO & Founder, GMI Software

Mikołaj Lehman is the CEO and founder of GMI Software. On the blog, he covers decisions around mobile apps, ecommerce and digital product delivery.

  • Mobile apps and React Native
  • Headless and B2B ecommerce
  • MedusaJS
  • Digital product delivery

An ecommerce security review before Black Friday should test more than code vulnerabilities. It should cover the revenue path: edge/WAF, bot protection, API authorization, checkout, payments, data access, PostgreSQL, queues, monitoring and incident response. The best timing is 6-8 weeks before the campaign, while risks can still be remediated inside a scoped, post-DDT fixed price.

A pre-peak security review tests revenue, not only code

The biggest pre-Black-Friday mistake is treating security as a standalone vulnerability scan. In commerce, technical risk becomes revenue risk quickly: bots consume API capacity, checkout slows down, payment callbacks fail, admin access is too broad and the team notices only after conversion drops.

A good security review starts with the money path. What must work for a buyer to find a product, add it to cart, receive the right price, pay, get confirmation and send the order to ERP/WMS? Only then should you test vulnerabilities: API authorization, session handling, rate limiting, WAF, bot protection, PostgreSQL RLS, secrets, webhooks, queues, observability and incident response.

What should an ecommerce security review include?

An ecommerce security review is a structured assessment of risks that can stop sales, expose customer data or increase incident cost. In practice, it should combine architecture review, application testing, API testing, infrastructure configuration review, log analysis, selected load tests and a decision workshop with the business.

For headless or B2B commerce, the boundaries between the Next.js storefront, NestJS backend, commerce core, MedusaJS, PostgreSQL, payments, ERP/PIM/WMS and marketing automation matter. Incidents rarely stay in one layer. Missing API rate limits can become email queue overload, SMS cost spikes, delayed inventory sync and a wrong delivery promise in checkout.

Readiness map: from edge to order

The most useful audit output is not a long list of unprioritized CVEs. It is a peak-season readiness map. The team should see which risks touch revenue, personal data, warehouse operations, compliance and reputation. That lets remediation be planned by business impact, not by alert noise.

The map should cover six layers: edge and DNS, web/mobile app, API and authorization, checkout and payments, data and integrations, observability and incident response. Every layer needs an owner, current risk level, required tests and a decision: fix before peak, monitor, accept or remove from scope.

  • Edge/WAF: do rules block bad traffic without blocking real buyers?
  • API: does every endpoint check tenant, customer, role and object-level authorization?
  • Checkout: are payments, webhooks and retries idempotent under load?
  • Data: are PostgreSQL, RLS, backups and secrets ready for an application mistake?
  • Operations: does the team know who decides rollback, bot blocking and business communication?
Article graphic: Ecommerce security review before Black Friday: a CTO checklist
Article graphic: Ecommerce security review before Black Friday: a CTO checklist

API security: BOLA, rate limits and business flows

OWASP API Security Top 10 2023 lists Broken Object Level Authorization as the first API risk: endpoints that receive object identifiers must verify that the logged-in user can perform the action on the specific record. In commerce this is concrete. It touches carts, orders, invoices, shipping addresses, wishlists, B2B accounts, credit limits and admin panels.

The second area is Unrestricted Resource Consumption. APIs consume CPU, memory, bandwidth, email, SMS, paid validations, webhooks and provider limits. During peak season an attacker does not need to steal data to hurt the business. Burning a queue, SMS budget or payment-provider limit can be enough.

The third area is Unrestricted Access to Sensitive Business Flows. A bot does not have to break passwords to cause damage: it can reserve stock, generate carts, test coupons, create accounts, scrape prices or overload search. The review should test not only technical vulnerabilities, but also automated abuse of flows that make business sense only at human speed.

Bots and DDoS: when WAF is not enough

Akamai State of the Internet 2025 reports a 33% year-over-year increase in global web attacks and rising OWASP API Top 10, bot and AI-assisted automation risk. That matters for ecommerce because peak traffic already looks abnormal. Poorly tuned defense can let bad traffic through or block real buyers.

A pre-peak review should therefore ask more than "do we have a WAF?". It should check per-endpoint rules, limits per customer/account/IP/device, integration exceptions, bot challenge flows, caching, origin shielding, queues, graceful degradation and the manual policy-tightening plan for when the campaign is live.

The most practical tests do not simulate the whole internet. They simulate specific abuse scenarios: listing scraping, credential stuffing, mass carts, registration spam, coupon brute force, search bursts, many parallel payment callbacks and a sudden request spike from one country or ASN. Every scenario should have an expected log signal and an operational decision.

Checkout, payments and PCI DSS: what cannot wait

The PCI Security Standards Council maintains PCI DSS as the payment-card data security standard; in practice, ecommerce teams must understand where the payment provider responsibility ends and the store responsibility begins. Redirecting payment to a provider does not remove responsibility for secure checkout configuration, webhooks, scripts, logs and admin access.

Before peak, check idempotency keys, replay protection, payment-status validation, webhook retries, order-submit race conditions, partial failure handling, log masking, alerts for increased declined payments and manual reconciliation procedure. In B2B, add credit limits, pay-by-invoice, approval flow and rules for blocking overdue customers.

This is where security review meets product architecture. If an order can be created without confirmed payment, payment can be captured without an order, or stock can be reserved without expiration, the risk belongs to finance and operations, not only security.

PostgreSQL, RLS and customer data

In ecommerce, major leaks often do not start with a dramatic breach. They start with overly broad privileges, a wrong tenant_id filter, full payload logging, a debug endpoint, an unprotected backup or an admin panel that reveals too much.

If the system supports marketplaces, B2B buyers, multiple brands, wholesalers or organizational roles, the review should test PostgreSQL Row-Level Security or an equivalent data-isolation mechanism. RLS does not replace application controls, but it creates another barrier when API code makes a mistake. Test it negatively: a user from company A must not see company B carts, invoices, credit limits or history.

Data also means retention and logs. Before the campaign, decide which data is needed to diagnose incidents and which must never be logged. The team should have queries ready for anomaly detection without exporting sensitive data into tools that should not store it.

Observability and incident response: what must be ready before the campaign

Without observability, a security review ends as a presentation, not operational readiness. The team needs four signal groups: availability, conversion, abuse and data access. In practice, this means dashboards for checkout latency, error rate, payment failures, queue depth, bot challenges, blocked requests, failed logins, admin actions, webhook retries and unusual data queries.

Incident response should be short and concrete. Who may tighten WAF rules? Who approves disabling a discount code? Who informs customer service when payment errors rise? Who decides rollback? Who has access to the payment provider, DNS, CDN and repository? If answers are invented during Black Friday, it is too late.

The simplest readiness test is a tabletop exercise. For 60-90 minutes the team walks through a scenario: bots generate carts, checkout latency rises, the payment provider returns errors and marketing asks whether to stop the campaign. That exercise reveals more truth than ten status meetings.

When to run the review and how to scope it

The best review window is 6-8 weeks before peak. That leaves time to fix code, configuration and process without turning the team into permanent firefighting mode. Two weeks before Black Friday, a review can still help, but it should be more restrictive: block the biggest risks, freeze changes and strengthen monitoring.

Scope should not be a wish list. During DDT, we identify revenue-critical flows, sensitive data, systems of truth, vendor dependencies and the risk level the business can consciously accept. Only then can fixed-price remediation be discussed, because the team knows what is being fixed and which tests prove readiness.

  1. 8 weeks before: architecture, threat model, logs, API inventory and scope decisions.
  2. 6 weeks before: API, checkout, bot, WAF, payment and data tests.
  3. 4 weeks before: remediation, regression tests and incident-response runbook.
  4. 2 weeks before: freeze critical changes, monitor, run tabletop exercise and finalize emergency decisions.

How GMI runs a pre-peak security review

At GMI, we treat security through product and operations, not only a vulnerability list. For headless stores, B2B commerce and mobile commerce apps, we combine architecture review, backend/API, Next.js, MedusaJS, NestJS, PostgreSQL, queues, payments, ERP/PIM/WMS, mobile release and observability.

First, we run a DDT security scope: revenue path, sensitive data, integrations, roles, permissions, failure points and vendor dependencies. Then we create a prioritized backlog: must fix before peak, should fix, monitor, accept. For agreed scope, we can propose fixed-price remediation, with source code and documentation owned by the client.

This approach is especially useful when the store has custom checkout, MedusaJS or another headless core, NestJS backend, PostgreSQL, ERP/PIM/WMS integrations or a React Native/Expo app. In these systems, security is part of sales architecture, not a plugin added at the end.

CTO checklist before signing the audit

Before starting the review, make sure the vendor is not selling only an automated scan. A scan helps, but it will not answer whether checkout has a race condition, whether payment webhooks are idempotent, whether a bot can reserve all stock or who decides when the campaign starts burning budget.

  • Does the review cover the end-to-end revenue path, not only public URLs?
  • Do API tests cover BOLA, roles, tenancy, rate limits and business flows?
  • Are checkout tests included: idempotency, replay, webhooks, retry and partial failure?
  • Will we receive a prioritized backlog with owners and business decisions?
  • Does remediation have clear scope, acceptance criteria and handover responsibility?

Sources and further reading

Sources used in this update: https://owasp.org/API-Security/editions/2023/en/0x11-t10/ (OWASP API Security Top 10 2023), https://owasp.org/API-Security/editions/2023/en/0xa1-broken-object-level-authorization/ (BOLA), https://www.pcisecuritystandards.org/document_library/ (PCI DSS document library), https://www.akamai.com/security-research/the-state-of-the-internet (Akamai State of the Internet 2025).

Related GMI guide: observability for commerce peaks.

For data isolation, see PostgreSQL RLS in multi-tenant SaaS.

Also read event-driven commerce if peak season touches queues, webhooks and asynchronous integrations.

For a headless storefront, see MedusaJS B2B storefronts.

For the mobile channel, use the React Native app store launch checklist before the campaign.

Frequently asked questions

When should you run an ecommerce security review before Black Friday?
Ideally 6-8 weeks before the campaign, because there is still time to test, prioritize and remediate risks before release freeze. A review 1-2 weeks before peak should focus on the biggest risks, monitoring and the incident-response runbook.
What should an ecommerce security review include?
It should cover edge/WAF, bot protection, API authorization, rate limits, checkout, payments, webhooks, PostgreSQL, data isolation, secrets, logs, monitoring and incident response. In commerce, the full revenue path matters more than public URLs alone.
Is headless commerce safer than a monolith?
It can be safer when API boundaries, authorization, secrets, monitoring and edge configuration are designed well. Headless separates layers, but it also makes API security, endpoint inventory, rate limits and integration tests more important.
Which API security gaps matter most before peak season?
The most important gaps are Broken Object Level Authorization, broken authentication, missing rate limits, unrestricted resource consumption, automated abuse of business flows, weak tenant checks and overly broad admin roles. These affect carts, orders, customer data and infrastructure cost.
Should the review include load testing?
Yes, selectively. The goal is not an abstract RPS record, but testing critical flows: listing, search, cart, checkout, payment callbacks, login, promotions and sync jobs. The test should show where the system degrades and which alerts the team sees.
Can GMI remediate findings under fixed price?
After DDT and scope alignment, GMI can propose fixed-price remediation for specific risks, with acceptance criteria and handover. We do not promise absolute security; we promise controlled scope, prioritization, tests and accountability for agreed fixes.

Content updated: July 11, 2026

Share article:

Related articles

Technology

React Native vs native apps in 2026: a business decision, not a technology religion

The right choice does not depend on which framework has louder fans. It depends on product risk: time-to-market, maintenance cost, hardware access, performance, release operations and app-store quality. A practical decision model for CEOs, CTOs and Heads of Product.

Technology

NestJS microservices: when should ecommerce split order processing from a monolith?

A decision guide for CTOs and ecommerce leaders: when to keep the monolith, when to extract order management, and how to use NestJS, RabbitMQ/Redis, Strangler Fig and DDT without checkout risk.

Contact

Let's talk
about the project.

Have an app idea or need technological support? Write to us — we'll prepare a preliminary analysis and estimate within 48h. Projects that go through our DDT process (Discovery, Design & Technology) come with a price guarantee and a fixed-price agreement — a key differentiator for us.

Write to us[email protected]
Visit us
GD
gmi.software Sp. z o.o.ul. Jana Heweliusza 11 / 819
80-890 Gdansk, PolandNearshore product delivery across EU, UK and US time zones.
NIP: 5252816287KRS: 0000830003
gmi.
ServicesOur projectsBlogBrief assistantContact
LIFAINGI
Mobile Trends Awards 2025 nomination - SFD app
© 2026 gmi.software Sp. z o.o.
Privacy PolicyTerms