| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-01-26 | 1.7 kB | |
| v0.3.0 source code.tar.gz | 2026-01-26 | 10.1 MB | |
| v0.3.0 source code.zip | 2026-01-26 | 10.2 MB | |
| Totals: 3 Items | 20.3 MB | 0 | |
Highlights
🔧 Generic Mask API — New /api/mask endpoint for standalone text masking without chat context
📊 Dashboard Source Tracking — See which endpoint (OpenAI, Anthropic, Mask API) each request came from
🏷️ Cleaner Placeholders — Secrets now use [[TYPE_N]] format (e.g., [[API_KEY_SK_1]]) matching PII placeholders
New Features
Generic Mask API
Mask any text without the chat completions structure:
:::bash
curl -X POST http://localhost:3000/api/mask \
-H "Content-Type: application/json" \
-d '{"text": "Contact John at john@example.com"}'
Response:
:::json
{
"masked_text": "Contact [[PERSON_1]] at [[EMAIL_ADDRESS_1]]",
"entities": [...]
}
Dashboard Improvements
- Source column shows request origin (OpenAI, Anthropic, Mask API)
- Better visibility into which integration is being used
Breaking Changes
Placeholder Format for Secrets
Secrets now use [[TYPE_N]] format instead of [[SECRET_MASKED_TYPE_N]]:
| Before | After |
|---|---|
[[SECRET_MASKED_API_KEY_SK_1]] |
[[API_KEY_SK_1]] |
[[SECRET_MASKED_PEM_PRIVATE_KEY_1]] |
[[PEM_PRIVATE_KEY_1]] |
Secret Type Renamed
API_KEY_OPENAI → API_KEY_SK (now covers OpenAI, Anthropic, Stripe, RevenueCat)
Update your config if you explicitly list secret entities:
:::yaml
secrets_detection:
entities:
- API_KEY_SK # was: API_KEY_OPENAI
Fixes
- Increased Presidio startup timeout for multi-language images
- Fixed entity extraction for consistent API responses
Documentation
📚 Full documentation: https://pasteguard.com/docs
Full Changelog: https://github.com/sgasser/pasteguard/compare/v0.2.1...v0.3.0