Skip to main content Switch to mobile version asiri-guard 0.1.0 Keep secrets out of AI chats: scan text before it is sent to an LLM.
pip install asiri-guard Copy PIP instructions
àṣírí is Yoruba for "secret." asiri keeps secrets out of AI chats.
It scans text for secret-looking values before a prompt is sent, and it stores named secrets in your OS keychain so you can refer to them by name instead of pasting them.
Status: early version. Claude Code only, macOS-tested.
uv tool install asiri-guard asiri install claude asiri install claude adds a UserPromptSubmit hook to ~/.claude/settings.json. It makes a timestamped backup first, and asiri uninstall claude removes only asiri's entries.
asiri set stripe-test # value is prompted, never echoed asiri list # names only asiri check stripe-test # confirms a name exists, never prints the value asiri rm stripe-test asiri scan notes.md # scan a file or stdin for secret-looking values If you paste a live key into Claude Code, the hook blocks the prompt and tells you to store the value with asiri set.
Stripe live keys, Anthropic and OpenAI keys, GitHub tokens, AWS access keys, Slack tokens, Google API keys, private key headers, and api_key = "..."-style assignments. Stripe test keys (sk_test_) are allowed on purpose.
Pattern matching only catches known formats. A custom key with no recognizable shape can get through.
The hook covers messages typed into Claude Code. It can't see text in other apps, and it can't remove anything already sent.
Anything a tool can read from your environment can still be read by that tool.
uv venv .venv && uv pip install -e . PYTHONPATH=src .venv/bin/python -m unittest discover -s tests -v License
Both files in this release have provenance metadata.
MIT View SPDX License List
Release files for asiri-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)
Built distribution (wheel)
Total release size: 16.4 kB
Release files / asiri_guard-0.1.0.tar.gz
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.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.
Release files / asiri_guard-0.1.0-py3-none-any.whl
Security for asiri-guard 0.1.0
Both files in this release have been uploaded with provenance metadata.
With provenance asiri_guard-0.1.0.tar.gz Dec 2, 2026
With provenance asiri_guard-0.1.0-py3-none-any.whl Dec 2, 2026
Attestation for asiri_guard-0.1.0.tar.gz
Attestation for asiri_guard-0.1.0-py3-none-any.whl
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
Dec 2, 2026 2 release files Full provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




