Skip to content

Releases: hyeonsangjeon/pyveil

pyveil v0.1.2

Choose a tag to compare

@hyeonsangjeon hyeonsangjeon released this 28 Jun 07:14

pyveil v0.1.2 is an adoption-polish patch release.\n\nHighlights:\n- Adds practical examples for agent context wrapping, FastAPI middleware, LiteLLM-style proxy filtering, and MCP-style server result wrapping.\n- Adds CONTRIBUTING.md, issue templates, PR template, FAQ, and roadmap.\n- Fixes email detection when an address is followed by sentence punctuation such as alice@example.com.\n- Keeps core dependency-free and tested on Python 3.8 through 3.14.\n\nUsage guide videos are attached in English and Korean.

pyveil v0.1.1

Choose a tag to compare

@hyeonsangjeon hyeonsangjeon released this 27 Jun 13:06

pyveil v0.1.1 starts the agent-native redaction package line on PyPI.\n\nThis release supersedes the legacy 0.1.0 PyPI metadata and positions pyveil as redaction middleware for prompts, tool calls, MCP resources, memory, traces, and logs.\n\nHighlights:\n- Agent-native Veil.high() and Veil.low() APIs\n- Channel-aware policy for prompt, tool, MCP, memory, trace, and log surfaces\n- Stable HMAC placeholders with no raw sensitive values in findings by default\n- High-precision detectors for email, phone, cards, JWTs, auth headers, private keys, API keys, URL query secrets, and key-value secrets\n- CLI commands: redact, scan, init, and test-config\n- Tested on Python 3.8 through 3.14\n\nUsage guide videos are attached in English and Korean.

pyveil v0.1.0

Choose a tag to compare

@hyeonsangjeon hyeonsangjeon released this 27 Jun 10:58

pyveil v0.1.0

Redact secrets before your AI agent sees them.

pyveil is agent-native redaction middleware for prompts, tool calls, MCP resources, logs, traces, and memory. v0.1.0 focuses on a tiny standard-library core, high-precision detectors, stable HMAC placeholders, channel-aware policy, and agent-readable docs.

Highlights

  • Agent-native channels: prompt.input, prompt.output, tool.call.arguments, tool.call.result, mcp.resource.content, memory.write, trace.span.attributes, and log.record
  • Public API: Veil.high(), Veil.low(), redact_text(), redact_data(), Policy, Finding, RedactionResult
  • Stable placeholders: [TYPE:12hexchars] from HMAC-SHA256 with caller-provided secret and scope
  • High-precision detectors: email, phone, credit card with Luhn, JWT, auth headers, private key blocks, provider API-key prefixes, URL query secrets, and structured key-value secrets
  • Structured redaction for dict/list/JSON payloads while preserving shape
  • CLI: pyveil redact, pyveil scan, pyveil init, pyveil test-config
  • Agent-facing docs: AGENTS.md, llms.txt, threat model, known limitations, detector provenance, and integration examples

Guides

  • English usage guide: see attached pyveil-usage-guide-en.mp4
  • Korean usage guide: see attached pyveil-usage-guide-ko.mp4

Safety Notes

pyveil does not store raw sensitive values in findings by default. It is not a DLP suite, compliance guarantee, prompt-injection firewall, secret-scanning replacement, or reversible vault.

Verification

  • ruff check .
  • mypy pyveil tests
  • pytest: 34 passed, 91% coverage
  • Python 3.8 through 3.14 compatibility matrix passed locally
  • sdist/wheel build and twine check passed
  • isolated wheel import and CLI smoke tests passed