Product
One platform. Seven control points. Any model.
AI Shield centralizes AI access in a corporate application. Before any call, it identifies user, company, role, purpose, data, source, tool and model. After the response, it repeats classification, blocks leaks and only then delivers the result.
Architectural principle
The AI does not receive data the user is not authorized to use — and the user does not receive content beyond their authorization.
01 — Overview
What the platform delivers.
Corporate PWA application
AI-assisted conversations and tasks on desktop and mobile, with corporate authentication (SSO OpenID Connect + MFA) and no sensitive content offline.
Model catalog
Providers, models, versions, regions, capabilities, costs and processing conditions — approved before becoming available.
Combined policies
Role, attributes, access list, classification, purpose, time, network, device, source and action in a single decision.
Governed connectors
Document bases, databases, APIs, code repositories and corporate storage with ACL propagated down to the fragment.
Multimodal by default
Text, code, documents, image, audio and video submitted to the same policy engine.
Audit and privacy
Immutable trail, incidents, exceptions, approvals, reports and data subject rights support.
02 — Features
Six modules, a single control path.
Policy engine
RBAC · ABAC · ACL · Purpose
Centralized, versioned and explainable decisions. Combines role, attributes, access list, relationships and purpose with deny by default and fail closed.
- Simulator before publishing: tests user, resource and action without executing
- Versioning with author, approval, validity and rollback
- Outcomes: allow, deny, transform, require approval or private model only
- Decision target: P95 up to 150 ms on cached policy
Inbound and outbound DLP
Detection · Transformation
Brazilian identifiers (CPF, CNS, phone, e-mail, employee ID, ICD, salary) and configurable classes, combining deterministic rules and classifiers with evidence and confidence.
- Mask, tokenize, pseudonymize or block before the call
- Attachment inspection: text, OCR, metadata and compressed content
- Buffered output: forbidden responses are neither shown nor released via URL
- Detection of exfiltration, jailbreak and prompt injection
Data classification
Five classes
Every piece of information gets a class — Public, Internal, Confidential, Restricted sensitive or Critical secret — which defines default handling, allowed models and logging level.
- Restricted sensitive: deny by default, strict purpose and allowed provider
- Critical secret: never sent to external models, tools blocked
- Per-page classification in documents and per-frame in media
- Special policies for healthcare, HR and finance
Immutable audit
Correlation · Hash · Chaining
Every interaction generates a unique identifier linking input, retrieval, call, output and decision. The event is protected by chained hashes and kept apart from sensitive content.
- Full path reconstruction by a read-only auditor
- Operational logs without prompt or raw response (clean APM)
- Evidence export for RoPA and DPIA
- SIEM integration via OpenTelemetry
Secure RAG
Authorization before retrieval
Tenant, user, attribute and purpose filters are applied in SQL, in the index and in the connector before ranking. Forbidden documents never take part in similarity.
- ACL and attributes propagated to every indexed fragment
- Permission revalidated at query time — immediate revocation
- Malicious instructions in documents treated as data
- Aggregated queries with configurable minimum threshold (k-anonymity)
Multimodal and tools
Image · Audio · Video · Agents
Files and media are data, not attachments. OCR, faces, biometrics, EXIF, QR codes and hidden instructions are inspected before sending. Tools require manifest, scope and human approval.
- Long generation as an asynchronous job with state and cancellation
- URLs signed per user, tenant and deadline
- Sandbox without implicit credentials for code and files
- Mandatory human confirmation for high-impact actions
03 — Architecture
Control plane separated from data plane.
Modular monolith in Node.js and TypeScript with separate workers for inspection and asynchronous tasks. Identity, policies, conversations, connectors, models, audit and incidents have internal boundaries and their own contracts.
- 01ExperienceReact · TypeScript · PWAChat, attachments, multimodal generation, approvals, dashboards and limited offline mode.
- 02EdgeAPI Gateway · WAFTLS, rate limiting, authentication, file size and abuse protection.
- 03OrchestrationNode.js · TypeScriptInteraction state, queues, jobs, controlled streaming, costs and safe retries.
- 04PolicyPDP · PAP · PIPCentralized decision, versioned policies, attributes and explanation.
- 05ProtectionDLP · OCR · AntivirusInspection of input, context, output, media and files.
- 06RetrievalConnectors · Vector index · SQLAuthorization filter before retrieval and provenance tracking.
- 07ModelsAdapter gatewayCommon contract, capability catalog, region, retention and telemetry.
- 08PersistencePostgreSQL · Encrypted objectsTenant isolation, keys, retention and immutability.
- 09ObservabilityOpenTelemetry · SIEMMetrics without sensitive content, events, correlation and detection.
Flow of an interaction
Authenticate and build context
SSO, MFA, tenant, group, role, device, network, session and purpose.
Interpret the task
Requested capability, model, tool, source, attachments and intended action.
Classify the input
DLP, OCR, metadata, sensitive personal data, secrets and prompt injection.
Decide before retrieval
Policy authorizes sources, fields, documents, filters and identification level.
Retrieve authorized content
ACL and attributes applied in SQL, in the index and in the connector before ranking.
Minimize and prepare
Redaction, tokenization, pseudonymization, aggregation and metadata removal.
Select the route
Allowed provider, model, region, retention, cost, capability and contract.
Execute the call
Corporate credential, timeout, tool limits and correlation.
Analyze the output
DLP, detection of forbidden data, links, files and media.
Decide delivery
Allow, block, redact, aggregate, request approval or redo with reduced context.
Display and record
Response with provenance, warnings, applied policy, feedback and audit trail.
- discoverCapabilities()
- validateRoute()
- invoke()
- pollJob()
- cancelJob()
- normalizeResponse()
- deleteRemoteArtifact()
- importRemoteArtifact()
04 — Non-functional requirements
Performance with security. Never the other way around.
Latency targets never authorize skipping inspection. Cache only for equivalent decisions, for a short period, invalidated immediately on revocation or critical policy change.
99.9%
monthly at first release, excluding scheduled maintenance.
P95 ≤ 150 ms
on cached policy; P99 up to 400 ms.
P95 ≤ 1.5 s
for text without OCR, on top of provider time.
AES-256 · TLS
at rest with KMS and in transit with current TLS.
Vault + rotation
no credential exposed to the frontend or the model.
RPO 15 min · RTO 4 h
as initial target, with periodic restore testing.
WCAG 2.2 AA
for essential flows.
100% own
production runs without third-party credentials, APIs or storage after cutover.
05 — Roles
Built-in separation of duties.
Whoever creates a critical policy does not approve it alone. Whoever manages infrastructure does not access prompts. Exceptional access requires justification, short duration, dual approval and full recording.
Corporate user
Chat, attach, query sources, generate content and follow blocks.
Department manager
Request policies, approve exceptions, review usage and costs.
Policy administrator
Simulate, version, approve, deploy and roll back policies.
Data Protection Officer
RoPA, DPIA, retention, data subjects, incidents and reports.
Security
Alerts, sessions, keys, events, export and response.
Auditor
Read-only access to decisions, versions, reports and evidence.
See the platform enforcing a real policy.
In 45 minutes, we show the full trace of an interaction in your scenario — from classification to audited delivery.