IdeaCredIdeaCred

byerlikaya/Septum

50

Privacy‑first AI middleware that anonymizes PII locally and only sends masked text to cloud LLMs when configured.

What's novel

Privacy‑first AI middleware that anonymizes PII locally and only sends masked text to cloud LLMs when configured.

Code Analysis

23 files read · 6 rounds

A privacy-first AI middleware that locally detects and masks PII (names, IDs, emails, locations) in documents and chat messages before they reach cloud LLMs, then restores original values from LLM responses using session-scoped anonymization maps with coreference resolution.

Strengths

Genuinely deep multi-layer PII detection pipeline (Presidio + multilingual NER ensembles + optional semantic validation) with real algorithmic checksums (TCKN, IBAN ISO 7064), domain-aware span absorption, and thread-safe session management — all in a zero-network-dependency core package with clean Protocol-based dependency injection. The air-gapped zone architecture with queue-based bridge to internet-facing gateway is a well-thought-out security boundary.

Weaknesses

The detector.py file at 75KB is a monolith that would benefit from further decomposition; test coverage is solid for the core engine but the 37 recognizer files and 7 national ID validators have limited dedicated test files visible. The coreference resolution is a simple token-subset heuristic that may miss or over-match in complex multilingual contexts.

Score Breakdown

Innovation
6 (25%)
Craft
45 (35%)
Traction
3 (15%)
Scope
49 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+2

Craft

Ci+5
Tests+8
Polish+1
Releases+1
Has License+5
Code Quality+26
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+0
Has Dependency Mgmt+5

Traction

Forks+0
Stars+6
Hn Points+0
Watchers+0
Early Traction+0
Devto Reactions+0
Community Contribs+0

Scope

Commits+8
Languages+8
Subsystems+10
Bloat Penalty+0
Completeness+7
Contributors+5
Authored Files+15
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

93

Contributors

1

Files

183

Active weeks

2

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

2

Forks

0

License

MIT