Skip to main content

Local Claude Code privacy wrapper: value-first secret redaction proxy.

Project description

Shutapp CLI

Shutapp CLI is a local privacy wrapper for Claude Code. It runs claude through a localhost Anthropic-compatible proxy so secrets are redacted before they reach Anthropic, then rehydrated only for local tool execution.

It is separate from the Shutapp hosted API/SDK flow. The CLI is for developers who want local value-first redaction around Claude Code sessions.

Install

py -m pip install --user pipx
py -m pipx ensurepath
py -m pipx install "git+https://github.com/Itaib24/Guardom.git#subdirectory=shutapp"
shutapp-cli --version

pipx install shutapp-cli is the intended PyPI command, but it only works after the public PyPI package is published.

For local development:

pip install -e .[dev]
shutapp-cli status

Run Claude Code

shutapp-cli claude

Useful commands:

shutapp-cli session list
shutapp-cli session show <session-id>
shutapp-cli session purge <session-id> --yes
shutapp-cli detectors list --batch A
shutapp-cli status

Security Model

  • Shutapp never needs your Anthropic provider key.
  • Anthropic-bound text receives stable placeholders such as [ANTHROPIC_KEY_1].
  • The reversible vault stays local and session-scoped.
  • Normal assistant text remains placeholdered; local tool inputs are rehydrated so Bash, Write, and similar tools can still run.
  • --no-redact is a debug escape hatch and should not be used for real secret handling.

Detector Coverage

The bundled registry uses value-first rules:

  • Strong vendor prefixes redact immediately.
  • Checksum-backed financial, identity, crypto, and regulated values use validators.
  • Weak shapes require context within the engine window.
  • Generic fallbacks are last-resort only.

Start with:

  • docs/CLI.md
  • docs/SECURITY.md
  • docs/DETECTORS.md
  • docs/PACKAGING.md
  • docs/DETECTOR_VERIFICATION.md

Build And Test

python -m pytest tests -q
python -m build
python -m twine check dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shutapp_cli-0.1.0.tar.gz (94.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shutapp_cli-0.1.0-py3-none-any.whl (78.9 kB view details)

Uploaded Python 3

File details

Details for the file shutapp_cli-0.1.0.tar.gz.

File metadata

  • Download URL: shutapp_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 94.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for shutapp_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5356627a33a3c4521c873404752a8869f536c246e837e3c2fc07928572c9f58c
MD5 13b25959bc560b474c3b44238125dc8d
BLAKE2b-256 afab10cbf4f1dc593fd57e72a8b65c68daf093c77707a32672193986dc527152

See more details on using hashes here.

File details

Details for the file shutapp_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: shutapp_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 78.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for shutapp_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1f26b6001dd41c48f96003d0d305a105eb566413507be815aa63966c4710bb9
MD5 ab293d26f58052b0a6e9669b065223a7
BLAKE2b-256 26fd6d92538adf2b37e698623b680c5d5f21f533b91eddf0cfc29e322457b2ba

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page