Skip to main content

esys-watch

Catch secrets and PII before you paste them into ChatGPT, Cursor, Copilot, or any AI tool — locally, with zero setup, zero account, zero data ever leaving your machine. $ echo "my key is AKIAIQK2919AHEJ8CX9J" | esys-watch ESYS WATCH

1 finding(s):

[secret] aws_access_key -> AK****************9J (pos 10-30)

Decisão: BLOCK

NÃO cola isto num prompt de IA contém dados sensíveis que não deviam sair da tua máquina.

Why

Every team using AI is leaking data through it and most don't know it yet — a stack trace with an AWS key in it, a support ticket with a customer's card number, a log line with a database password. esys-watch is the first line of defense: a local check, before anything gets pasted anywhere.

What it catches

  • Secrets: AWS/GCP/Azure keys, GitHub tokens, JWTs, OAuth tokens (Stripe, SendGrid, Slack, Twilio), DB connection strings, SSH keys — including base64-encoded and split/obfuscated variants
  • PII, across 4 regions: emails, phones, credit cards, US SSN, Angola national ID, Brazil CPF/CNPJ (checksum-validated), South Africa national ID (checksum-validated), Nigeria NIN, EU IBAN (checksum-validated)

Validated against a 320-case labeled dataset: 100% recall, 0% false positives. See the root README.md for the full methodology. Testing this for the founder? See TESTING.md for what to actually try and how to report what you find.

Install

git clone https://github.com/osvaldoC-Dev/ESYS.git
cd ESYS/detector
pip install -e .

No external dependencies — pure Python standard library. Works offline.

Use

esys-watch path/to/file.txt          # scan a file
cat something.log | esys-watch       # or pipe anything into it
echo "some text" | esys-watch

Exit codes (useful for scripting / git hooks / CI): 0 = clean, 1 = blocked (secret or high-sensitivity PII found), 2 = redactable PII found (a safe version is printed for you to copy).

Review past blocks

Every block gets logged locally (never sent anywhere). If you ever need to check what got flagged, or decide something was a false positive:

esys-review              # list pending blocks
esys-review show <id>    # see the full original content
esys-review approve <id> # mark as reviewed / false positive

What this is not (yet)

This is v0 — it proves the core detection works, reused from the same engine that powers the full ESYS gateway. It doesn't yet watch your clipboard automatically, and it's not published to PyPI (you install from source). Both are on the roadmap once this gets real usage.

Metadata

Release files for esys-watch 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for esys-watch 0.1.1
File Size Uploaded Provenance Actions
esys_watch-0.1.1.tar.gz 24.8 kB Without provenance Details for esys_watch-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for esys-watch 0.1.1
File Interpreter ABI Platform Actions
esys_watch-0.1.1-py3-none-any.whl Python 3 none any Details for esys_watch-0.1.1-py3-none-any.whl

Total release size: 52.7 kB

Release files / esys_watch-0.1.1.tar.gz

Download URL esys_watch-0.1.1.tar.gz
Size 24.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e99f85ef5937a45eeb2ecfecb27906349f75e292b6f12d235523e585fddd3d32
BLAKE2b-256 checksum
How to use checksums
4b5fce32becfa53907dd193158c8cc2068bcdc5d98fe815d169f97fe7523d35f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Release files / esys_watch-0.1.1-py3-none-any.whl

Download URL esys_watch-0.1.1-py3-none-any.whl
Size 28.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
25ea51dc924796447d73f362bfecf0e03dc7058a681c0c7c77d4e34049933d07
BLAKE2b-256 checksum
How to use checksums
6e7e9c6e26e47183ba624acb9fedddbacfda30ac4da7787d47bd0ab53cab9510
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Security for esys-watch 0.1.1

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page