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
  • 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.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 maskflow-agent 0.1.1
File Size Uploaded Provenance Actions
maskflow_agent-0.1.1.tar.gz 33.6 kB With provenance Details for maskflow_agent-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 59.1 kB

Release files / maskflow_agent-0.1.1.tar.gz

Download URL maskflow_agent-0.1.1.tar.gz
Size 33.6 kB
Tags Source
SHA-256 checksum
How to use checksums
53c6a8fd800a6a9d1186f0788e461064e6479d666432d50a522e4c3d9bd1a603
BLAKE2b-256 checksum
How to use checksums
fe1fac91c3e650f69fcf4f8450ba2d9a3a10eb1f61fa2db5639e20c381a0b009
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.1-py3-none-any.whl

Download URL maskflow_agent-0.1.1-py3-none-any.whl
Size 25.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ecce89805ee124ae003e6a372da80d1fa59d189bf8a787451de9b74b29fe468
BLAKE2b-256 checksum
How to use checksums
08dea6132468225c79b2b9af1261a7c94c30d13b975c2562b3d7962ff74bf666
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.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.

Full provenance

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

Select from 2 files

Attestation for maskflow_agent-0.1.1.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