DataTrust AI
A local PII (Personally Identifiable Information) scanner designed for AI chat interfaces.
It checks the text you are about to send to ChatGPT, Claude, or Gemini and warns you if it contains sensitive information like citizenship numbers, PANs, Aadhaar, or phone numbers. Everything runs locally on your device. No data is sent to any server.
Why this exists
People casually paste personal information into AI chats. Once it's in the context window, you can't take it back.
Most existing privacy tools are either enterprise-focused or heavily bloated. DataTrust AI is lightweight, built with Python's standard library, and specifically handles local formats like Nepali and Indian IDs. It also uses mathematical checksums to prevent false positives.
Current Features
- Nepal & India Patterns: Detects Citizenship, NID, PAN, Aadhaar, UPI, Passport, and mobile numbers.
- Devanagari Support: Automatically normalizes Devanagari digits (
१२३) to ASCII (123) before scanning. - Checksum Validation: Uses the Luhn algorithm for Credit Cards and the Verhoeff algorithm for Aadhaar to ignore fake numbers.
- Privacy-First: The scanner never returns the actual detected value. It only returns the type and position of the match.
- Lightweight: Zero heavy dependencies. Uses Python's built-in
remodule. - Browser Extension: Real-time warning banner directly inside the AI chat interface.
How to use it
1. Command Line Interface (CLI)
You can install the package locally and use the datatrust command.
git clone https://github.com/warriorxxzz/datatrust-ai.git
cd datatrust-ai
pip install -e .
Metadata
Release files for datatrust-privacy-guard 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| datatrust_privacy_guard-0.1.0.tar.gz | 7.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| datatrust_privacy_guard-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.5 kB
Release files / datatrust_privacy_guard-0.1.0.tar.gz
| Download URL | datatrust_privacy_guard-0.1.0.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed25067c1f6c414d4445e1b5b63919a1360ec6327bd6eba2fadedfb542b76528
|
|
BLAKE2b-256 checksum How to use checksums |
b4785d536cff36ee07ea76401384e40bfc339879dd79318f83eb94982b3c3c02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.34.2
|
Release files / datatrust_privacy_guard-0.1.0-py3-none-any.whl
| Download URL | datatrust_privacy_guard-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4816121306c318970ff8702f2df2304a5adcddd2745a4987d3f17a6e0e238f0
|
|
BLAKE2b-256 checksum How to use checksums |
1b860dd6aa9af2f7a7cce978b0e5edb64b37ffbb86d1cfa77542dd4e03c4362d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.34.2
|
Security for datatrust-privacy-guard 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.