Xpersona
P

Pastewatch MCP

CLAWHUB · Unverified

Secret redaction MCP server for OpenClaw agents. Prevents API keys, DB credentials, SSH keys, emails, IPs, JWTs, and 30+ other secret types from leaking to L... Skill: Pastewatch MCP Owner: ppiankov Summary: Secret redaction MCP server for OpenClaw agents. Prevents API keys, DB credentials, SSH keys, emails, IPs, JWTs, and 30+ other secret types from leaking to L... Tags: latest:1.3.0 Version history: v1.3.0 | 2026-03-26T15:21:50.162Z | user v0.24.1: alert injection on proxy, standalone wl_sk_ detection fix, 36 secret types v1.2.3 | 2026-03-25T12:39:14.832Z | user Updated mi

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17fzet2pk4zvezemyabzwzp6x83kp5d:pastewatch-mcp
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-ppiankov-pastewatch-mcp/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

67,759 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: pastewatch-mcp
description: Secret redaction MCP server for OpenClaw agents. Prevents API keys, DB credentials, SSH keys, emails, IPs, JWTs, and 30+ other secret types from leaking to LLM providers. Includes guard command, API proxy, canary tokens, encrypted vault, git history scanning, org posture scanning, file watcher, and dashboard. Use when reading/writing files that may contain secrets, setting up agent security, or auditing for credential exposure.
metadata: {"openclaw":{"requires":{"bins":["pastewatch-cli","mcporter"]}}}
---

# Pastewatch MCP — Secret Redaction

Prevents secrets from reaching your LLM provider. The agent works with placeholders, secrets stay local.

**Source:** https://github.com/ppiankov/pastewatch

## Install

```bash
# macOS
brew install ppiankov/tap/pastewatch

# Linux (binary + checksum)
curl -fsSL https://github.com/ppiankov/pastewatch/releases/latest/download/pastewatch-cli-linux-amd64 \
  -o /usr/local/bin/pastewatch-cli
curl -fsSL https://github.com/ppiankov/pastewatch/releases/latest/download/pastewatch-cli-linux-amd64.sha256 \
  -o /tmp/pastewatch-cli.sha256
cd /usr/local/bin && sha256sum -c /tmp/pastewatch-cli.sha256
chmod +x /usr/local/bin/pastewatch-cli
```

Verify: `pastewatch-cli version` (expect 0.24.1+)

## MCP Server Setup

```bash
mcporter config add pastewatch --command "pastewatch-cli mcp --audit-log /var/log/pastewatch-audit.log"
mcporter list pastewatch --schema  # 6 tools
```

**Severity threshold:** `pastewatch-cli mcp --min-severity medium` or set `mcpMinSeverity` in `.pastewatch.json`.

## Agent Integration (one-command setup)

```bash
pastewatch-cli setup claude-code    # hooks + MCP + CLAUDE.md snippet + doctor check
pastewatch-cli setup cline          # MCP + hook instructions
pastewatch-cli setup cursor         # MCP + advisory
```

`--severity` aligns thresholds. `--project` for project-level config. Idempotent — safe to re-run.

## MCP Tools

| Tool | Purpose |
|------|---------|
| `pastewatch_read_file` | Read file with secrets replaced by placeholders |
| `pastewatch_write_file` | Write file, resolving placeholders back locally |
| `pastewatch_check_output` | Verify text contains no raw secrets |
| `pastewatch_scan` | Scan text for sensitive data |
| `pastewatch_scan_file` | Scan a file |
| `pastewatch_scan_dir` | Scan directory recursively |

**Placeholder format:** `__PW_TYPE_N__` (changed from `__PW{TYPE_N}__` in v0.19.7 for LLM proxy compatibility). Configurable via `placeholderPrefix`.

## API Proxy — Last Line of Defense

Catches secrets from sub-agents that bypass hooks and MCP. Sits between your agent and the LLM provider, scanning all outbound requests.

**v0.24.0+: Alert injection** — when secrets are redacted, a `[PASTEWATCH]` alert is prepended to the API response so the agent gets immediate feedback. Disable with `--no-alert`.

```bash
pastewatch-cli proxy                    # scans all outbound API requests
pastewatch-cli proxy --port 9998 --upstream https://api.

_meta.json

{
  "ownerId": "kn74fw5mx1yr4kb8ravpfz425d81wt92",
  "slug": "pastewatch-mcp",
  "version": "1.3.0",
  "publishedAt": 1774538510162
}

skill-card.md

## Description:

Secret redaction MCP server for OpenClaw agents. Prevents API keys, DB credentials, SSH keys, emails, IPs, JWTs, and 30+ other secret types from leaking to LLM providers. Includes guard command, API proxy, canary tokens, encrypted vault, git history scanning, org posture scanning, file watcher, and dashboard. Use when reading/writing files that may contain secrets, setting up agent security, or auditing for credential exposure.

This skill is ready for commercial/non-commercial use.

## Publisher:

[ppiankov](https://clawhub.ai/user/ppiankov)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and engineers use this skill to configure Pastewatch MCP and CLI workflows that redact secrets from file reads and writes, scan code or command output, and add a proxy guard before outbound LLM API traffic.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The release recommends installing an external binary that may not be pinned to an immutable artifact.

Mitigation: Install only from a trusted publisher and release process; prefer pinned, signed, checksum-verified, or package-manager-verifiable builds.

Risk: The proxy can inspect sensitive prompts, headers, and provider traffic that pass through it.

Mitigation: Run the proxy with the least privilege practical, limit it to required providers and ports, and review audit logging and retention settings before use.

Risk: The documented system-wide systemd setup creates a persistent service in the request path.

Mitigation: Use the system-wide service only when needed, document rollback steps, and prefer project-scoped or user-scoped operation for narrower deployments.

## Reference(s):

- [ClawHub Pastewatch MCP Release](https://clawhub.ai/ppiankov/skills/pastewatch-mcp)
- [Pastewatch Canonical Source](https://github.com/ppiankov/pastewatch)
- [Agent-Native CLI Convention](https://ancc.dev)

## Skill Output:

**Output Type(s):** [Text, Markdown, Shell commands, Configuration, Guidance]

**Output Format:** [Markdown with bash commands, configuration snippets, MCP tool descriptions, and operational guidance]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires pastewatch-cli and mcporter binaries; proxy mode can inspect outbound LLM API traffic.]

## Skill Version(s):

1.3.0 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Pastewatch MCP and adjacent AI workflows.