Listed from the MCP registry; nobody on Odel publishes it.
Reversible local secret sanitizer & placeholder vault for AI coding prompts (zero cloud uploads).
Runs on your machine from its package; the steps are below.

At most: creates or changes data: records, files, settings.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Distributed as an MCP bundle (`https://github.com/963239327/pasteshield-secret-sanitizer/releases/download/v1.2.0/pasteshield-secret-sanitizer.mcpb`) — download it and import the bundle in your MCP client.
Redact API keys, .env secrets, JWTs, database URIs, cloud connection strings & internal IPs before prompting ChatGPT, Claude, Cursor, or Copilot — and auto-unmask AI code replies in 1 hotkey (Cmd+Alt+V).
VS Code Marketplace → · Open VSX (Cursor / VSCodium) → · Live Playground → · CLI & MCP ↓ · PasteShield Pro ($9) ↓
***REDACTED***Every day, developers paste .env configs, Kubernetes manifests, crash logs, and curl traces into ChatGPT, Claude, DeepSeek, or Cursor. Manually replacing values with ***REDACTED*** breaks two things:
*** strings are the same database host or two different tokens).PasteShield solves both in <1ms with zero cloud calls:
<OPENAI_KEY_1>, <DB_URI_1>, <GITHUB_TOKEN_1>, <INTERNAL_IP_1>).Cmd+Alt+R in VS Code / Cursor, or pasteshield restore in CLI) when you paste the AI's solution back.
# Production Checkout Service (.env)
OPENAI_API_KEY=sk-proj-EXAMPLE000000000000000000000001
GITHUB_DEPLOY_TOKEN=ghp_EXAMPLE00000000000000000000000001
DATABASE_URL="postgresql://svc_orders:Pr0dP4ss!@10.24.8.15:5432/orders_db"
ONCALL_EMAIL=secops@acme-fintech.example
Cmd+Alt+C)# Production Checkout Service (.env)
OPENAI_API_KEY=<OPENAI_KEY_1>
GITHUB_DEPLOY_TOKEN=<GITHUB_TOKEN_1>
DATABASE_URL="<DB_URI_1>"
ONCALL_EMAIL=<EMAIL_1>
Cmd+Alt+R)// AI outputs placeholders -> PasteShield restores real credentials locally in <1ms:
export const checkoutEnv = {
openAiKey: "sk-proj-EXAMPLE000000000000000000000001",
databaseUrl: "postgresql://svc_orders:Pr0dP4ss!@10.24.8.15:5432/orders_db",
deployToken: "ghp_EXAMPLE00000000000000000000000001",
alertEmail: "secops@acme-fintech.example",
};
Run PasteShield as a zero-dependency local stdio MCP Server (sanitize_snippet, restore_snippet, audit_workspace_secrets) with zero npm signup required:
{
"mcpServers": {
"pasteshield": {
"command": "npx",
"args": ["-y", "github:963239327/pasteshield-secret-sanitizer", "--mcp"]
}
}
}
Also installable in 1 click from the Official Visual Studio Marketplace and Verified Open VSX Registry (Cursor / Windsurf / VSCodium).
verified publisher craftleaf-studio), or download pasteshield-ai-secret-sanitizer-1.2.0.vsix from GitHub Releases.Cmd+Shift+P / Ctrl+Shift+P) -> Extensions: Install from VSIX... -> select the .vsix file (or run code --install-extension pasteshield-ai-secret-sanitizer-1.2.0.vsix).Cmd+Alt+C (Ctrl+Alt+C) — Copy Sanitized Selection for AICmd+Alt+V (Ctrl+Alt+V) — Paste & Auto-Unmask AI Reply at CursorCmd+Alt+R (Ctrl+Alt+R) — Restore Original Values from Clipboard / SelectionCmd+Alt+S (Ctrl+Alt+S) — Sanitize Current Editor In-Place<CATEGORY_N> token — View safe masked preview (sk-p••••abcd) from local RAM.pasteshield.json + Pre-Commit Gate — Run pasteshield init-policy --install-hook to enforce repo-level redaction rules across your team ($29 5-Seat Team Policy Pack / $9 Solo Pro)Need to scrub a crash log or .env snippet right now without installing anything?
👉 Open Live PasteShield Browser Playground (100% client-side JS, works offline after page load).
git clone https://github.com/963239327/pasteshield-secret-sanitizer.git
cd pasteshield-secret-sanitizer
# Run interactive roundtrip demo in your terminal:
node bin/pasteshield-cli.js demo
# Sanitize clipboard on macOS before pasting into ChatGPT / Claude:
pbpaste | node bin/pasteshield-cli.js sanitize --vault .pasteshield-vault.json | pbcopy
# Restore real values into the AI's code reply on your clipboard:
pbpaste | node bin/pasteshield-cli.js restore --vault .pasteshield-vault.json | pbcopy
# Scan workspace or uncommitted `git diff` for accidental secret leaks:
node bin/pasteshield-cli.js scan --git-diff
Use sanitizer-core.js directly as a zero-dependency CommonJS or browser module:
const PasteShieldCore = require('./sanitizer-core');
const vault = PasteShieldCore.createVault();
const { sanitizedText, totalRedactions } = vault.sanitize(process.env.RAW_LOG_SNIPPET || 'OPENAI_API_KEY=sk-proj-1234567890abcdefghijklm');
console.log(sanitizedText); // OPENAI_API_KEY=<OPENAI_KEY_1>
const { restoredText } = vault.restore(`export const key = "${sanitizedText.split('=')[1]}";`);
| Semantic Token | Detected Credentials & Formats |
|---|---|
<OPENAI_KEY_N> | OpenAI (sk-..., sk-proj-..., sk-svcacct-...) & Anthropic (sk-ant-...) LLM keys |
<AWS_ACCESS_KEY_N> | AWS IAM Access Key IDs (AKIA..., ASIA..., ABIA..., ACCA...) |
<GITHUB_TOKEN_N> | GitHub Classic PATs (ghp_), OAuth/App (gho_, ghu_, ghs_, ghr_), Fine-Grained (github_pat_) |
<BEARER_JWT_N> | 3-part signed JWTs (eyJ...) & HTTP Authorization: Bearer <token> headers |
<AZURE_CONN_STR_N> | Azure Storage, Service Bus, Cosmos DB, IoT Hub & Azure SQL connection strings |
<DB_URI_N> | PostgreSQL, MySQL, MariaDB, MongoDB, Redis, AMQP & ClickHouse URIs with embedded credentials |
<PRIVATE_KEY_BLOCK_N> | Multi-line PEM, RSA, EC, OpenSSH & PGP BEGIN ... PRIVATE KEY blocks |
<INTERNAL_IP_N> | RFC1918 (10.x, 172.16-31.x, 192.168.x) & Tailscale/CGNAT (100.64-127.x) private IPv4s |
<EMAIL_N> | Internal & customer email addresses |
<ENV_SECRET_N> | .env / YAML / JSON assignments (*_SECRET, *_PASSWORD, *_TOKEN, *_API_KEY) + Stripe, Slack, Google API, SendGrid, npm & PyPI tokens |
| Feature | Free Community ($0) | PasteShield Pro ($9 One-Time) | Studio All-Access ($19 One-Time) |
|---|---|---|---|
| 10 Built-In Cloud, LLM, DB, JWT & PEM Detectors | ✅ | ✅ | ✅ |
1-Click Reversible Session Vault (Cmd+Alt+C / Cmd+Alt+R) | ✅ | ✅ | ✅ |
| Zero-Dependency Node/Bun CLI & Browser Playground | ✅ | ✅ | ✅ |
| 100% Offline Air-Gapped Execution (Zero Telemetry) | ✅ | ✅ | ✅ |
Custom Corporate Domain Redaction (*.corp.acme.internal -> <COMPANY_DOMAIN_1>) | — | ✅ | ✅ |
| Custom Regex Rules (Jira/Linear IDs, Customer Keys, Proprietary Tokens) | — | ✅ | ✅ |
| Multi-File Sanitized AI Markdown Context Pack Exporter | — | ✅ | ✅ |
Workspace & git diff Markdown Security Audit Report | — | ✅ | ✅ |
| Also Unlocks 4 Sister CraftLeaf Pro Tools (CleanPrint, IDPhoto 4×6, Invoice CRM, CardSheet Duplex) | — | — | ✅ (Gumroad Master Key) |
👉 Get PasteShield Pro ($9 Lifetime Offline Key) · Get Studio All-Access Pass ($19 — Unlocks All 5 Tools)
All CraftLeaf tools run 100% client-side in your browser or local IDE with zero file uploads:
$0.39 4×6" print sheet.MIT © CraftLeaf & Pixel Studio