Core Technology

How the PrivoNest Engine Works

PrivoNest combines a layered multilingual privacy engine with a separate API Security Engine for AST, cross-file route/data-flow analysis and private dependency intelligence.

01 · NORMALIZE

Unicode & Script Normalization

The engine reports NFKC + native-digit + script canonicalization so matching is less dependent on how a user typed the same identifier.

02 · INFER

Language & Country Context

Automatic inference uses scripts, language signals, aliases, calling codes, TLD-style hints and strong identifiers to activate relevant recognition packs.

03 · DETECT

Hybrid Recognition

Deterministic patterns and validators handle structured IDs while optional spaCy NER helps with names and organizations. Rules carry priority, confidence and context controls.

04 · VALIDATE

Checksum & Local-ID Validators

The capabilities endpoint exposes validators including Luhn, IBAN, CPF/CNPJ, DNI, national IDs, tax identifiers and other country-specific checksum families.

05 · TRANSFORM

Multiple Privacy Strategies

Choose label masking, redact, partial, hash, tokenize, detokenize or remove. The engine also contains a format-preserving replacement path for applicable internal workflows.

06 · PRESERVE STRUCTURE

Documents & Structured Data

JSON path policies, spreadsheet column policies, DOCX run-aware changes, PDF/image OCR, email/DICOM processing and transcript handling avoid forcing every workload into plain text.

Machine-Readable Coverage

Use the live capabilities endpoint instead of relying on marketing copy for exact runtime coverage.

Open /v1/capabilities →
API Security Engine v1.0.5

Code context before production

The security engine is separate from the PII engine. It receives logical project files through the authenticated preflight API, builds code/route context, runs detector passes, reads private dependency intelligence and returns findings without using an external AI model.

01 · PARSE

AST & structural analysis

Python AST plus dependency-free ordered JS/TS structural traces identify sources, sinks, validation boundaries and route logic.

02 · CONNECT

Cross-file project graph

Resolve local imports/router mounts and inherited authentication, authorization and rate-limit context across Flask, FastAPI and Express-style projects.

03 · CHECK

62 detector categories

Security checks cover API logic, unsafe data flows, injection/configuration signals, debug bypasses, secrets and dependency risks.

04 · INTELLIGENCE

Private dependency snapshot

Customer scans query PrivoNest-owned snapshot data rather than live npm/PyPI endpoints, reducing source/dependency metadata exposure during the scan.

05 · TRIAGE

Root causes, not alert spam

Repeated fields/routes are grouped with related-location metadata, while runtime-sensitive findings outside known entrypoint/import chains are retained as dormant risk at a lower effective severity.

06 · RELEASE

Baseline & policy gate

Compare new/fixed/unchanged findings, enforce severity/confidence policy and export JSON or SARIF for CI tooling.

Need integration, AI guardrail or production support?