Skip to main content
Multi-Tenant Isolation • Append-Only Audit Log • SOC 2 Type II Observation

Secure Every API Call
Your Customers Make

API Security Built for SaaS Platforms

Your API is your product. G8KEPR protects it with multi-tenant isolation, append-only audit log, API key lifecycle management, and pre-mapped controls across 12 compliance frameworks (+8 reference catalogs).

Quick Setup
SOC 2 Accelerator
Developer-First

What is SaaS API Security?

Understanding the unique challenges of securing a multi-tenant API platform

Your API Is Your Product

SaaS APIs serve many customers simultaneously. Each tenant expects strict isolation, reliability, and security. Every API endpoint is a potential attack surface — and a revenue stream.

API Key Authentication
Authorization: Bearer sk_live_...
Multi-Tenant Data
X-Tenant-ID: acme_corp
Usage Tracking
X-RateLimit-Remaining: 4,521
Webhook Delivery
POST /webhooks/events

The Challenges You Face

SaaS APIs face unique security challenges. Customer data must be isolated, usage tracked for billing, and compliance evidence must be tamper-evident and exportable.

API Key Leaks
Customer keys exposed in GitHub, logs, or client-side code
Tenant Isolation
Preventing cross-tenant data access and noisy neighbors
Abuse & Overuse
Customers exceeding limits, scraping, or abusing free tiers
Compliance Demands
SOC 2, GDPR, HIPAA audits require comprehensive logs

How G8KEPR Protects Your SaaS

Enterprise-grade security for every API request, every tenant, every time

SaaS API Request Flow
1. Customer API Request
POST /api/v2/users -H "Authorization: Bearer sk_live_acme..."
2. G8KEPR Security Layer
Multi-tenant routing in <5ms
API Key: Validate key, check expiry, verify scope
Tenant: Isolate request to customer data only
Rate Limit: Check quota, track usage for billing
Audit: Log request for compliance reporting
3. Request Processed Securely
Tenant-scoped data access → Response filtered → Audit logged

✓ Complete tenant isolation • Usage tracked for billing • Compliance-ready logs

Multi-Tenant Isolation

Enforce strict boundaries between customers. Prevent cross-tenant data access, scope API keys to specific tenants, and protect against noisy neighbors.

Features:
Tenant scopingData isolationNoisy neighbor protection

API Key Lifecycle

Full key management: creation, rotation, revocation, and expiry. Detect leaked keys, enforce scopes, and support multiple keys per customer.

Features:
Key rotationScope enforcementLeak detection

Per-Tenant Audit Log

Security events and admin actions are recorded against each organization and shown in the dashboard audit view, so every tenant has its own history.

Features:
Org-scoped recordsAdmin action historySecurity event history

Real SaaS Security Scenarios

How G8KEPR protects your platform and customers

API Key Leaked on GitHub
Scenario:
Customer accidentally commits sk_live_... to public repo
Attack Request:
Attacker: GET /api/data -H "Authorization: Bearer sk_live_..."
✓ G8KEPR Response:
Key flagged in leak database • Auto-revoked • Customer notified
Cross-Tenant Data Access
Scenario:
Malicious user tries to access another tenant's data
Attack Request:
GET /api/users?tenant_id=competitor_corp
✓ G8KEPR Response:
Tenant scope mismatch • Request rejected • Alert sent
Free Tier Abuse
Scenario:
User creates multiple accounts to bypass limits
Attack Request:
POST /api/v2/process (10,000 requests from 50 "free" accounts)
✓ G8KEPR Response:
Fingerprint correlation • Accounts linked • Rate limited
API Scraping Attack
Scenario:
Competitor scrapes your API to clone your product
Attack Request:
GET /api/schema/* (exhaustive endpoint enumeration)
✓ G8KEPR Response:
Anomalous pattern detected • IP blocked • Incident logged

Every Tool Call Passes 7 Sequential Checks

Zero code changes to your tenant APIs or AI agent stack. Target: Sub-5ms gateway proxy overhead on cached, single-region paths.

1
Permission check
RBAC: does this API key have scope to this tenant + endpoint?
2
MFA verification
TOTP required for admin operations, billing changes, and key rotation
3
Rate limiting
Per-tenant sliding-window check, Redis-backed (no noisy neighbors)
4
Rug-pull verification
SHA-256 of tool definition vs. registered hash — block on drift
5
Threat detection
Scan tool arguments for injection patterns + cross-tenant markers
6
Server forwarding
Execute via stdio subprocess, HTTP, or WebSocket transport
7
Response scanning
IndirectInjectionScanner blocks LLM-directed instructions in output
✓
Audit log written
Audit record: arguments, response, decision, correlation ID, tenant_id
Fail-closed quota state on Redis error • Per-key asyncio lock prevents TOCTOU races • 10 dedicated Prometheus metrics

5 Capabilities You Won't Find Anywhere Else

Not in Anthropic's MCP spec. Not in API gateways. Not in WAFs. Platform-level additions built for multi-tenant SaaS workloads.

01

Hardened Local MCP Servers

MCP servers the proxy launches locally (stdio, off unless the operator sets MCP_STDIO_SERVERS_ENABLED) run in their own session (setsid), drop to nobody if started as root, and get no-new-privs, ambient capabilities cleared and RLIMIT_AS/FSIZE/NOFILE/NPROC ceilings. Remote (HTTP) servers are proxied and inspected, not sandboxed, and network egress is not filtered.

modules/mcp/interceptor_transport.py — _proxy_preexec
02

Tool Definition Hash Registry

SHA-256 hash of every tenant tool definition pinned at tools/list. On every tools/call, the cached definition is re-hashed and compared. Drift raises MCPRugPullDetectedError, blocks execution, publishes a CRITICAL event.

modules/mcp/tool_registry.py • Redis-backed
03

Adaptive Z-Score Circuit Breaker

Statistical, not threshold-based. Z-score > 3.0 against per-hour time-of-day baselines. 4 overlapping sliding windows (1m/5m/15m/1h). Progressive recovery (10→25→50→100%).

gateway/ — 2,208 LOC combined
04

Cross-Pillar Correlation

Findings from all four pillars land on one threat-event bus. A compound correlator groups them in 5-minute windows by correlation ID and by organization + client IP, and raises one incident when they match a known multi-stage pattern: a prompt injection at the gateway plus an SSRF probe and a path traversal at the API from the same client become a single critical Lethal Trifecta finding.

modules/compound_correlator • findings.mcp_security.compound
05

Append-Only Audit Log

HMAC-SHA256 hash chain on authentication and domain events (since 2026-09-13), each entry signing the previous. Three verification levels (full / single / last-N). Control mapping (not an attestation) for SOC 2 CC7.2 audit observation and customer compliance attestations.

modules/compliance/audit_chain.py
+

MCP Correlation Analyzer

Cross-session attack detection: 6-dimension risk score (max 110) across tool sensitivity, data volume, burst, denials, prior detections, and tool diversity. Catches cross-tenant escalation attempts and 24h slow-and-low patterns.

MCPCorrelationAnalyzer — alert at score > 50

One Finding Bus. All Four Pillars.

Every pillar publishes its findings to one threat event bus. The compound correlator joins findings on the same request by correlation ID, and separate requests from one client by organization + client IP.

Tenant User
API Session
Prompt
Agent
Tool Call
Tenant API
Response
Verification
Every tool call is written to mcp_tool_calls with its correlation ID • Compound findings link every contributing finding • Hash-chain entries are tamper-evident for SOC 2 audit observation

SaaS Security Features

Everything you need to secure and scale your API platform

Quick Deployment

Docker deployment or SDK integration. No infrastructure changes required. Start protecting your API in minutes, not weeks.

npm install g8kepr

Compliance Acceleration

Pre-mapped controls across 12 frameworks with assessment engines (SOC 2, GDPR, HIPAA, ISO 27001), plus 8 reference control catalogs. A control crosswalk maps each SOC 2 control to its overlapping ISO 27001 and HIPAA controls.

Append-only audit log

Tenant Boundary Enforcement

Enforce tenant boundaries at the API layer. Prevent cross-tenant access, scope keys to tenants, and protect against data leakage.

Per-tenant scoping enforced

API Key Management

Full lifecycle: create, rotate, revoke, expire. Detect leaked keys, enforce scopes, and support multiple keys per customer.

Zero-downtime rotation

Per-Tenant Audit Log

Security events and admin actions are recorded against each organization, and each tenant’s history is shown in the dashboard.

Scoped by organization

SDK Integration

SDKs for every language. OpenAPI integration. Detailed error messages. Built by developers, for developers.

Python, Node, Go SDKs

Works With Your Stack

Integrate with the tools and platforms you already use

Cloud Providers

  • AWS
  • Google Cloud
  • Azure

Observability

  • Datadog
  • Splunk
  • New Relic
  • Grafana

SaaS Security FAQs

Common questions about securing your SaaS API platform

G8KEPR enforces tenant boundaries at the API layer. Each API key is scoped to a specific tenant, and requests are validated to ensure they can only access data within their tenant. We prevent cross-tenant data leakage with request/response inspection and enforce rate limits per-tenant to prevent noisy neighbors.

Need help securing your SaaS platform?

Talk to our SaaS security experts →

Audit Evidence, Built In From Day One

Every API request written to the append-only audit log. Control crosswalk — each SOC 2 control is mapped to its overlapping ISO 27001 and HIPAA controls.

SOC 2 Type II
observation in progress
GDPR-Ready
Articles 5 / 17 / 32
HIPAA-Ready
BAA available
ISO 27001
93 Annex A · aligned
CCPA
consumer rights workflow
OWASP API Top 10
covered

"-Ready" / "aligned" reflect capability posture. SOC 2 Type II observation in progress with external audit engagement H2 2026.

Quick Deploy

Secure Your SaaS API
Starting Today

Multi-tenant isolation, usage billing, and append-only audit. Built for scale.

30-day free trial (extend to 90 days free)
Append-only audit log
Multi-tenant isolation
Target: Sub-5ms gateway overhead

No credit card required • Free tier available • Full feature access