MasqueradeBLOCK
The Privacy Firewall for LLMs
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://github.com/user-attachments/assets/80b1d8ac-a012-41ce-8e92-64d567f2427f)
🤐 Problem: Tools like Claude or GPT are incredibly powerful, but they require raw input. If you're dealing with contracts, medical records, or internal documents, that's risky.
🛡️ Solution: Masquerade acts as a privacy firewall for your files. Just paste in the file path to a PDF, and Masquerade will:
- Automatically detect sensitive data (names, emails, dates, entities)
- Redact the sensitive data
- Let you preview before sending to an LLM
Architecture
- User Input: The user asks Claude to redact a PDF by providing its file path.
- PDF Processing: MCP reads the PDF and converts it to text.
- Sensitive Data Detection: The text is sent to Tinfoil (an isolated AI platform using Llama 3.3 70B) to identify sensitive data.
- Redaction: MCP removes the sensitive data and creates a redacted PDF.
- Summary Return: MCP sends Claude a summary with:
- Masked versions of the sensitive data
- Redaction counts per page
- The path to the redacted file
- Quering PDF with Claude: The user can upload the redacted PDF to Claude if satisfied with the redactions.
Installation
[](https://github.com/user-attachments/assets/76dedb64-1ef5-4ab4-afe1-11f399b3653b)
- Install Claude desktop
- Get Tinfoil API key (create account and API key)
- Configure environment
Option 1: Automated
curl -O https://raw.githubusercontent.com/postralai/masquerade/main/setup.sh && bash setup.sh
- Restart Claude d
2de6658fccc1OBSERVED · 2026-10-07Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add masquerade --env TINFOIL_API_KEY=${TINFOIL_API_KEY} -- uvx masquerade{
"mcpServers": {
"masquerade": {
"command": "uvx",
"args": [
"masquerade"
],
"env": {
"TINFOIL_API_KEY": "${TINFOIL_API_KEY}"
}
}
}
}Exposed tools (1)
1 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
redact_pdf | read | pdf_path = None |
Trust audit
BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | FAIL |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (2 observation(s))
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (2)
sudo apt-get install -y python3.12 python3.12-venv python3.12-dev
system use found in code, not declared in the description
Gates applied: no_behavioural_pass.
2de6658fccc1full audit observations/trust-audit/mcp-server/postralai__masquerade.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-07 | 2de6658fccc1 | BLOCK | D | 69 | first audit |
Questions
What is the Masquerade MCP server?
The Privacy Firewall for LLMs
What tools does Masquerade expose?
1 in total: 1 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Masquerade safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on.
What credentials does Masquerade need?
It reads TINFOIL_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How current is this page?
The grade is for one exact copy of the source (2de6658fccc1), read on 2026-10-07. The repository is watched and re-audited when it changes.