· Engineering notes

10 dangerous API configs in fintech SaaS (with checks)

Ship blockers we see in reviews and in our sample report shape: open CORS, mass assignment, stack traces, missing ownership checks. Each row has a fail signal and a fix direction. No portfolio percentages.

Artifact: config checklist

#ConfigFail signalFix direction
1CORS Access-Control-Allow-Origin: * with credentialsBrowser blocks or reflect-any-Origin in stagingExplicit allowlist; see security headers gate
2Mass assignment: body accepts is_admin / role / balancePATCH with extra field changes privilege or ledgerAllowlist DTO fields; reject unknown props
3Stack traces or SQL text in 500 bodiesError JSON includes file paths or query textGeneric client error; detail only in logs
4No tenant check on GET /resources/{id}IDOR / BOLA across tenantstenant-swap protocol
5Webhooks without signature + event_id dedupeReplay doubles provisionwebhook retry tests
6No rate limit on expensive POST (e.g. webhooks)Burst → 5xx, no 429rate limit / cost
7Idempotency-Key ignored on payment createRetry creates two chargesidempotency tests
8Debug endpoints or Swagger UI on prod without auth/docs or /debug publicDisable or protect; separate admin network
9Spec says number, API returns string (amount)Contract test fail; client parse bugsFix serializer; CI schema; sample Medium contract row
10Long-lived tokens in query strings / logsToken in access logs or RefererAuthorization header only; scrub logs

Two checks you can run the same day

# Mass assignment probe (staging, your test user)
curl -sS -X PATCH "$BASE/v1/users/me" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"display_name":"x","is_admin":true,"role":"admin"}'
# Expect: extra fields ignored or 400 - never privilege change

# Error body probe
curl -sS "$BASE/v1/boom-test" -H "Authorization: Bearer $TOKEN" | head
# Expect: no stack frames, no SQL

Wire into release

Fold rows 1-7 into the Friday release checklist. Full OWASP mapping: API testing checklist. Product page: fintech & payment API testing.

Want the three configs most likely to fail your next security questionnaire named for your stack? Book a free 20-min test audit.