Skip to main content

maskflow-agent

Use Claude Code on production data without Indian PII reaching the model.

Claude Code hooks that mask personal data (Aadhaar, PAN, UPI IDs, mobile numbers, bank accounts, names, ...) in every tool result before the model sees it. Real values are restored only inside allowlisted database/kubectl commands, at run time, in a separate process. The agent can still run UPDATE kyc ... WHERE pan='<PAN_3>' against the right row without ever seeing the PAN.

pip install maskflow-agent
maskflow-agent install        # adds hooks to .claude/settings.json
maskflow-agent doctor         # proves it end to end with synthetic canaries

Or as a Claude Code plugin, with no pip and no settings edits:

/plugin marketplace add maskflow/maskflow
/plugin install maskflow-agent@maskflow
  • Tool output masked: Bash, Read, Grep, WebFetch, MCP, ...
  • One placeholder per value for the whole session. A value identified once is masked everywhere after that.
  • Fails closed: if the guard can't run, the tool doesn't either.
  • Never grants permissions you didn't already have.
  • The transcript on disk, the permission prompt and logs only ever see placeholders.
  • MIT, no telemetry, everything runs locally.

Requires Claude Code 2.1.295+ on macOS or Linux. Full documentation, threat model and limits: docs/agent.md.

Metadata

Release files for maskflow-agent 0.1.3

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

Source distribution (sdist)

Source distribution for maskflow-agent 0.1.3
File Size Uploaded Provenance Actions
maskflow_agent-0.1.3.tar.gz 37.4 kB With provenance Details for maskflow_agent-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for maskflow-agent 0.1.3
File Interpreter ABI Platform Actions
maskflow_agent-0.1.3-py3-none-any.whl Python 3 none any Details for maskflow_agent-0.1.3-py3-none-any.whl

Total release size: 64.8 kB

Release files / maskflow_agent-0.1.3.tar.gz

Download URL maskflow_agent-0.1.3.tar.gz
Size 37.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0f445e7b39df6b54dc65c57e1c7d4e2206f8d8a4380bdd9097c30ea56cd3cfc6
BLAKE2b-256 checksum
How to use checksums
cf3206a89aefb4db9d9f071bdd2fb450cbdd99af1ab7737b5e6c1d05acd95725
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.

Transparency log

Release files / maskflow_agent-0.1.3-py3-none-any.whl

Download URL maskflow_agent-0.1.3-py3-none-any.whl
Size 27.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a9d2f25ee487c99d65b305e498408c7bb051b99cf57287b809986ea1f6de026
BLAKE2b-256 checksum
How to use checksums
29581f06e9988b680bae5751ccea374f406cf5e68388fc3ac7749e99cc2019b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.

Transparency log

Security for maskflow-agent 0.1.3

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for maskflow_agent-0.1.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.

Transparency log

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.

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