Skip to main content

maskflow-audit

Find every place your codebase sends text to an LLM — and prove which of those paths leak Indian PII.

pip install 'maskflow-cli[audit]'
maskflow audit .
3 of 5 LLM egress paths masked
1 unmasked · 1 unknown · 3 masked

UNMASKED             tickets/summarize.py:42  openai-client · 0a1b2c3d4e5f
                     from db_column:aadhaar, db_column:pan (+1) · conf: high
...
wrote audit.json

maskflow scan answers a retrospective question — what PII already reached a provider, from your logs. This answers the forward one, from your source: where can text leave, and is that path guarded?

  • Static discovery over Python via the standard library's ast — your code is parsed, never executed.
  • Recognises LLM SDKs (OpenAI, Anthropic, Google, LiteLLM, Cohere, Mistral), LangChain and LlamaIndex, raw HTTP to known provider hosts, vector-DB writes (Pinecone, Qdrant, Chroma, Weaviate, pgvector), prompt-carrying observability exporters (Langfuse, LangSmith, Helicone), and MCP tool results.
  • Classifies each path as masked via mask(), masked via the MaskFlow gateway, masked via a framework integration, unmasked, or unknown — and says unknown rather than guessing.
  • Traces each payload back to the DB column, request field or file it came from, so a finding names a cause, not just a line number.
  • The sink registry is data (sinks/registry.yaml): adding a provider is a YAML edit, not a code change.
  • Reports identifiers and counts only — never a value, a string literal's contents, or a line of your source.

Honest about what it is. Findings in this release are predicted from static analysis. The canary harness that proves a leak by observing a synthetic identity reach a provider — with the Python call stack captured at send time — lands next. The report always states which kind of finding you are looking at, and never calls something a confirmed leak without having watched it happen.

MIT, no telemetry, everything runs locally. Nothing is ever sent to MaskFlow.

Full reference: docs/audit.md

Metadata

Release files for maskflow-audit 0.1.0

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-audit 0.1.0
File Size Uploaded Provenance Actions
maskflow_audit-0.1.0.tar.gz 95.5 kB With provenance Details for maskflow_audit-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for maskflow-audit 0.1.0
File Interpreter ABI Platform Actions
maskflow_audit-0.1.0-py3-none-any.whl Python 3 none any Details for maskflow_audit-0.1.0-py3-none-any.whl

Total release size: 193.6 kB

Release files / maskflow_audit-0.1.0.tar.gz

Download URL maskflow_audit-0.1.0.tar.gz
Size 95.5 kB
Tags Source
SHA-256 checksum
How to use checksums
15d76df228451427bc6b0a0209ee03f4dbed1b9ce5ac0abafe3c1c26ff697435
BLAKE2b-256 checksum
How to use checksums
1225b8b0ddb4e318a0561115f6caacaa756b64ce8c788c123b0e1c5e7639a800
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 31, 2026.

Transparency log

Release files / maskflow_audit-0.1.0-py3-none-any.whl

Download URL maskflow_audit-0.1.0-py3-none-any.whl
Size 98.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9a3ea54f589578d03a0bb5923e53a19c5ff65474b4521d19a88e8050b92df72
BLAKE2b-256 checksum
How to use checksums
feb7ea2f39da7f6a5afe53804ff3e1d852fd5a2817c1fa01fc1cf7896ce6a26f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 31, 2026.

Transparency log

Security for maskflow-audit 0.1.0

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for maskflow_audit-0.1.0.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 31, 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full 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