The security module thatprotects data before the model.

PASBAN Gateway is the security enforcement module of the PASBAN Enterprise AI Security and Governance Platform. It runs every request through detection, policy, routing and logging, and controls sensitive data and agent risks.

Architecture
Outside
PASBAN Gateway — Control plane
All four steps run here. If no decision can be made, the request is blocked.
Every requestDetect→Policy→Route→Log

Turkish NER & latency — how we measure, how you reproduce.

F1 (entity-level) + p50/p95/p99 latency. Dataset, labeling guide & scripts are published — claims verified in-table.

Entity level · exact match · bootstrap 95% CI
Turkish entity recognition scores, measurement ongoing
Entity typeNPrecisionRecallF1
Person name————
National ID————
IBAN————
Phone————
Address————
Sensitive (health)————
Overall (micro)————
Baselines will be measured on the same test set with the same matching rule.
Added PASBAN Gateway latency (ms) — excl. model time, vs fake provider
Added PASBAN Gateway latency (ms) — excl. model time, vs fake provider
Promptp50p95p99
Short———
Medium———
Long———
Component breakdown will be published per pipeline stage.
Reproducibility

Dataset version + hash, inter-annotator κ, fixed seeds, bootstrap 95% CI. Separate pilot measurement on your data recommended.

Three layers, one decision input

Entity recognition (NER)

Person, address, health — Turkish morphology-aware model

Pattern & checksum

TC ID, IBAN, phone, tax ID — regex + verification

DLP rules

Source code, customer rows, secrets, API keys — regex + optional AI classifier

Turkish suffixes are treated as part of the entity. For sensitive data, policy may choose block instead of mask. Extensible to 30+ types.

If undecidable, it blocks. No unchecked data flow.

Each row is tested, results will be shared in the security package. Target HA and SLA are scoped in the pilot.

Failure behavior matrix
Default = deny
Fail-closed behavior matrix
CaseBehaviorUser seesLog
Entity recognition unavailableRequest blockedTemporary error, retryIncident and cause logged
Policy engine undecidedRequest blockedPolicy errorIncident logged
Below confidence, sensitive dataBlock by default for sensitive types, mask for low sensitivity + threshold loggedReasoned noticeDecision and threshold logged
Response filter unavailableResponse withheldTemporary errorIncident logged
Audit write failsRequest blocked (503), encrypted local buffer, SIEM alert, no bypassTemporary error, retryBuffered then flushed, failure itself logged
Model provider unreachableFallback only with same residency + equivalent assurance + explicit policy allow, otherwise hold-and-blockShort noticeRouting decision logged
Quota exceededRejected (HTTP 429 quota_exceeded + Retry-After)Quota messageRecord kept

Blocking doesn’t stop use — it hides it.

When enterprise access is closed, employees keep using personal accounts. That’s shadow AI — you lose visibility into which data goes to which model.

PII leaks into chat

Rows with names, IDs and IBANs are pasted into a model to summarize.

Code & secrets leak out

A developer pastes proprietary code with embedded API keys to debug.

No audit trail

No record of who accessed what, with which model, and when.

Security and governance in one architecture.

AI usage grows from chats to agents. PASBAN Gateway governs that growth with three functions, centrally.

Set policy centrally

Which model, which data, which unit is open, restricted or blocked? Policies, RBAC and DLP in one place.

Policy engine · RBAC · DLP

Inventory & budgets

Budgets, quotas and model routing are managed in one place today. The registry for approved models, prompts, MCP connectors and agents joins the same control plane in the next release.

Budget · Quota · Routing · Registry

Prove what happened

Who used what, with which model, at what cost? Usage, cost, anomaly and audit trail in one pane, streams to SIEM.

Audit trail · Observability · SIEM
Platform layers
Employees & agents
Workspace · API access · Agents
PASBAN GatewaySecurity module
PII & DLP · Policy · Identity & access · Quota & cost · Audit trail
Available today
RegistryGovernance layer
Model · Prompt · MCP · Agent registries · Action policy · MCP Gateway
Pilot
Models & tools
OpenAI · Anthropic · Azure OpenAI · Google · Llama · Mistral

The core control plane is available today. Model, prompt, MCP and agent registry, plus agent governance, join the same architecture in the pilot — no rip-and-replace.

Every request passes four gates before the model.

No request passing through PASBAN Gateway bypasses policy. If undecidable, default is block (fail-closed).

01DETECT

Entity recognition

Turkish-tailored NER finds PII, DLP rules find secrets & code. Prompt injection flagged.

02POLICY

Decide

Unit- and role-aware rules: mask, block, allow or route to on-prem model.

03ROUTE

Model selection

Cleaned request goes to public LLM or on-prem model. Quota & budget checked in-line.

04LOG

Audit trail

Request and response logged with who/when/decision and timestamps. Known secret patterns masked best-effort before write.

Example policy
4 rules
UnitData typeAction
All employeesNational ID, IBAN, phonePseudonymize
EngineeringSource code, API keyRoute on-prem
HR, HealthSensitive personal dataBlock
FinanceMonthly token budgetStop on breach

Rules are defined per unit and role, one row per rule.

audit.log
synthetic data
TimeUserUnitModelDecision
09:14:22u-4821Financepublic LLMpseudonymized (3)
09:14:51u-1190Engineeringon-premallowed
09:15:07u-7733HR–blocked (sensitive)
09:15:40u-4821Financepublic LLMquota warning (82%)

One row per request: policy decision, routed model and outcome logged together.

Control for security, productivity for employees.

PII detection

TC ID, IBAN, phone, address, tax ID, plate, name variants and sensitive PII. Handles Turkish suffixes & context. 30+ types extensible.

Leak prevention

Source code, customer DB rows, trade secrets. Custom regex. Prompt injection & jailbreak detection, output filtering.

Policy engine & audit

Unit- and role-based rules. Timestamped logs are forwarded to SIEM systems (CEF/syslog). OpenTelemetry separate for observability.

Cost, quota & routing

Token rate limiting, per-user/project/model budgets. Stop on quota breach, chargeback/showback, multi-provider routing & fallback.

Identity & access

Directory sync via LDAP/AD sync separately, unit and role RBAC, API key issuance, rotation and revocation.

Secure chat for employees

Chat UI, file upload and analysis, Word/Excel/PDF generation, web search. SharePoint and Jira connectors are optional and disabled by default. Enforcement stays invisible.

Control plane stays with you. Model choice is your policy.

Detection, policy and logging run in your environment. You decide which requests go where.

On-prem
In your data center. Primary deployment model.
Private cloud (VPC)
In your cloud account, traffic is processed inside your VPC, flows to public models are policy-controlled.
Air-gapped
Isolated, with local open-source models.
Model routing
sample list
Public LLMPolicy-passed requests
OpenAIAnthropicAzure OpenAIGoogle+ other providers
On-premStays inside your boundary
LlamaMistral+ other open models

The list is illustrative — other providers and self-hosted models can be added to routing.

The audit trail never leaves your boundary.

On-prem and VPC logs stay inside your boundary. Timestamped, known secrets masked best-effort, RBAC-gated and self-logged. Logs integration with SIEM systems. OpenTelemetry separate for observability.

  • Timestamped · who / when / unit / model / decision
  • Known secret patterns masked best-effort before write
  • RBAC on access — access itself is logged
audit.log
timestamp2026-10-19T09:14:22Z
whou-4821 · finance
modelpublic LLM · policy-passed
decisionpseudonymized · 3 entities
secretsknown patterns masked
exportSIEM · CEF / syslog
stored in your environment

Every team has a different requirement.

These four requirements are what teams need before AI can be used safely. PASBAN Gateway meets all of them in one control plane.

Security (CISO)

Know which model runs on which data

All model access is visible in one pane, unauthorized use and risky data flows surface immediately.

Legal & Privacy

Prove it at audit time

Every request is logged with user, time and decision, personal data is processed before it reaches the model.

Finance & IT

Cap spend before it happens

Per-unit budgets and quotas, requests stop automatically on breach and spend is charged back to units.

Engineering & Ops

Keep working with code and customer data

Prompts containing source code or customer records are masked, blocked or routed on-prem by policy.

Supports compliance, but does not replace it.

Helps you meet KVKK, GDPR and EU AI Act with technical controls and evidence. Independent legal assessment is in preparation, it will be shared here once available.

PROVIDES
Detects & masks PII before the model, reduces personal data sent to foreign providers.
Records who/when/with what data accessed the model.
Eases retention, deletion and data-residency policies.
Produces inventory & traceability of models and users.
DOES NOT PROVIDE ALONE
Legal compliance — controller obligations stay with you.
De-identification: pseudonymized data may still be personal data.
Accuracy of model outputs.
Legal assessment pending · to be published
ISO/IEC 27001 and ISO/IEC 42001 certification mark
Certified
  • ISO/IEC 27001Information Security Management
  • ISO/IEC 42001AI Management System

Starts with PASBAN Gateway, expands to an enterprise AI control plane.

Same core architecture. No new module when agents arrive — the control plane expands.

TODAY

PASBAN Gateway & workspace

PII & DLP, policy engine, audit trail, SSO & RBAC, cost control, multi-provider routing.

Pilot

Model, prompt, MCP & agent registries

Approved model & MCP inventory, agent authority bounds, human-in-the-loop, MCP Gateway & agent security.

How is masking reversed?+
Two modes. Pseudonymization swaps PII for a placeholder and restores it on response, mapping table lives in your environment in a separate RBAC-gated vault. Permanent redaction removes it irreversibly. Policy chooses per data type. Pseudonymized data may still count as personal data.
What if PASBAN Gateway is down?+
Fail-closed: undecidable or unprocessable requests passing through PASBAN Gateway are blocked, no data passes unchecked. HA architecture and SLA are scoped in the pilot.
How is Turkish detection measured?+
Per-entity precision/recall/F1. Dataset, labeling guide and method to be published. Measurement ongoing, validation on your pilot data recommended.
How is it different from Purview or other hyperscaler controls?+
Hyperscaler controls are ecosystem-bound. PASBAN Gateway is provider-agnostic: same policy across public LLMs and on-prem models, Turkish PII focus, on-prem/air-gapped capable.
Where are logs stored?+
In your environment for on-prem/VPC. Timestamped, known secret patterns masked best-effort before write. Retention and deletion by policy.
Which models are supported?+
Public models: OpenAI, Anthropic, Azure OpenAI, Google or others. On-prem open-source: Llama, Mistral or others.
Which certifications?+
We are certified to ISO/IEC 27001 and ISO/IEC 42001. Audit-trail support is provided.
Demo · 30 minutes

Let’s plan your enterprise AI stack.

We demo with your scenarios: data policies, deployment, and how the platform expands for you.

By submitting you agree to our privacy policy. No spam.Privacy policy →