tamperlens-mcp
tamperlens-mcp
Tamperlens용 MCP 서버 — 문서가 편집되었는지, 그 교정(red)이 유지되었는지, 그러고 모델이 읽기 안전한지 에이전트의 컨텍스트에 도달하기 전에 물어보세요.
// Claude Desktop / Claude Code — claude_desktop_config.json or .mcp.json
{
"mcpServers": {
"tamperlens": {
"command": "npx",
"args": ["-y", "tamperlens-mcp"],
"env": { "TAMPERLENS_API_KEY": "tl_..." }
}
}
}사용해 본는 데 키가 필요 없습니다. 키가 없으면 시간당 10개 문서에 해당 하는 익명 허용량이 적용됩니다. tamperlens.com/account에서 무료 키를 받으시면 카드 없이 월 50개로 늘어납니다.
도구
도구 | 답변 |
| 작성된 후 편집된 것인가요? 원본 저장 이후 덧블은 수정, 자기 자신과 모순되는 메타데이터, 편시자 지문, 서명 커버리지와 무결성, 숨겨진 텍스트, 매크로, 이미지의 A 생성 흔적 — 것리고 파일에 독자에게가 아닌 언어 모델에게 보네는 텍스트가 들어 있는지 여부. |
| 가림(redation)이 실제로 아무것을 제거 시켰는지? 검은 상자로 테스트를 덮는 것은 사람에게만 숨길 뿐 파일에서 아무것도 제거되지 않습니다. |
| 제가 이미 갖고 있는 원본과 같은 파일이고, 변환 것 없이 그대로가 있나요? |
PDF, Word, Excel 및 PowerPoint(.Docx, .lsx, .pptx`, 그리고 매크로가 활성화된 동일계월 포함) 파일과 PNG, PNG, Web, HEIC/HEIF 및 VIF 등이를 지원합니다.
Related MCP server: subtext-scan
에이전트 앞에 두면 되는 이유
문서를 읽는 대상은 두 종류입니다. And the only one of them sees the page. 추출 파이프라인은 제목, Keyword, 메타데이터, 메타데이터, 주석, 첨부 파일 이름을 읽습니다 — 소프트웨어가 읽기 위해 존재하는 필드입니다. 그런 곳에 놓는 텍스트는 읽혀자가 아니라 목종가도록 작성될 수 있습니다.
inspect_document는 에이전트가 파일을 소화하기 전에 이런 위험을 보고하며, 복구된 페이로드는 이 서버에서 무조건 생략됩니다. 이건 규정이 아닙니다: Tamperlens 보고서를 가장 먼저 읽을 대상은 방금 그 문서를 읽으려던 바로 그 모델일 것이나, 공격자가 주입한 문장을 다시 컨텍스트 에코하는 MCP 서버는 자신이 방금 감지한 공격을 완성하게 됩니다. 필드, 위리지, 단서 범주는 제공됩니다. 문장 자체는 제공되지 않습니다.
하지 않는 일
로컬 분석 없음. 모든 도구는 실행 중인 배포의 Tamperlens REST API에 대한 얇은 래퍼입니다. 여기에는 첫 번째와 어긋날 두 번째 엔진이 없습니다.
판결 없음. Tamperlens는 기반 증거와 함께 위험 신호를 보고하지 않으며", "이 문서는 사기 문서입니다."라고 결론 짓지 않습니다. 그 신호를 자체 판단 로직과 결합하세요.
문서는 모델의 컨텍스트에 절대 들어가지 않습니다. 도구는 호출자의 파일 시스템에서 경로를 받아 여기서 바이트를 읽습니다. Tool 호출에 Base64를 넣으면 모델이 아닌 바이트를 필요로 하는 서비스에 도달하기 위해 수 메가바이트의 문서가 컨텍스트 윈도우에 들어가게 됩니다.
저장되는 것은 없습니다. 파일은 API가 메모리에서 파싱한 뒤 응답과 함께 폐기됩니다.
설정
변수 | 기본값 | 의미 |
| 없음 | 선택. 없는 경우 익명 제한 시간당 문서 10개가 적용됩니다. |
|
| 자체 배포 주소를 지정합니다. |
링크
모든 신호에 대한 가이드 · 이 파일이 모델이 읽어도 안전한가요? · API 레퍼런스 · 보안 및 개인정보 보호 방침
MIT 라이선스. 이슈와 소스: github.com/haruodev/tamperlens-mcp. 통신 대상 엔진은 tamperlens.com이며, 이 저장소는 MCP 클라이언트만 포함하고 있습니다.
Available Tools
4 toolscheck_redactionA
Check whether a PDF's redactions actually removed anything. Covering text with a black box hides it from a reader and removes nothing from the file, so the words stay extractable. This reads paint order to catch a plain drawn rectangle — which carries no redaction annotation at all and is the failure behind most published redaction leaks — and separately catches redaction marks that were never applied. Use this before a document is filed or released.
Inputs: url, path.
compare_documentsA
Compare a candidate document against the original you already hold, and answer the question a single-file check cannot: is this the same file, unchanged? Reports byte identity (the only proof), revision ancestry when the candidate contains the original as a byte prefix, or a field-by-field structural diff when both were rewritten whole. Renders nothing and compares no pixels.
Inputs: originalUrl, candidateUrl, originalPath, candidatePath.
inspect_documentA
Inspect a document or image for fraud and tamper signals: revisions appended after the original save, metadata that disagrees with itself, editor fingerprints, signature coverage gaps, text still readable under a redaction box, unaccepted tracked changes whose deleted text is still recoverable, hidden text, hidden spreadsheet sheets, macros, and AI-generator or editor traces in images. Returns risk signals with the raw evidence behind each one — never a verdict on authenticity. Accepts PDF; Word, Excel and PowerPoint documents (.docx, .xlsx, .pptx and macro-enabled twins); and JPEG, PNG, WebP, HEIC/HEIF and AVIF images.
ALSO ANSWERS: is this file safe for a model to read? Document properties, XMP, annotations, attachment names, docProps, comments and hidden Word runs are checked for text written to be read by a language model rather than by a person — the prompt-injection carriers an extraction pipeline surfaces and a human reader never sees. Call this BEFORE the document reaches your own context. The recovered text itself is never returned through this tool: you get the cue categories, the counts and which kind of field carried it, because reading the payload is the attack.
Inputs: url, path, issuer, policy.
triage_documentA
CHEAP PRE-FLIGHT for document intake: is this file worth ingesting, and what does it cost to open? Reads structure, metadata, signatures and presence flags (revisions appended after the original, editor fingerprints, macros, JavaScript, embedded files, signature coverage) WITHOUT the expensive per-page content walk — a fraction of the I/O of inspect_document. Returns the risk band, the medium-or-high signals it CAN see, and the measured cost: bytes read, bytes expanded (decompressed) and the expansion ratio, so an agent can reject a decompression-heavy or high-risk file before committing to a full parse.
NOT A CLEAN BILL OF HEALTH. A quiet triage means only that the cheap structural tells were absent. Hidden text, redaction failure, altered arithmetic, glyph tampering, embedded-image anomalies and broken certifications are NOT checked in this mode — they need the page-content walk inspect_document runs. Use triage to ROUTE (reject now, or escalate to inspect_document), never as the verdict. PDFs get the cheap scope; Office documents and images have no separate expensive walk, so they return their full report.
Inputs: path (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clear action-object purpose: deep inspection, cheap pre-flight triage, PDF redaction verification, and original-vs-candidate comparison. The only real overlap is that check_redaction is a specialized slice of what inspect_document also covers, and triage_document vs inspect_document are two depths of the same scanning workflow, but the descriptions explain the intended routing well.
All tools follow a consistent lowercase snake_case verb_target pattern: inspect_document, triage_document, check_redaction, compare_documents. The only minor variation is pluralization on compare_documents, which is semantically natural and does not hurt predictability.
Four tools is well-scoped for a document-forensics server: one cheap intake preflight, one comprehensive deep inspection, one targeted redaction gate, and one comparison operation. Each tool has a distinct place in the workflow, and none feels redundant.
The surface covers the full relevant progression: triage to route, inspect to get detailed signals, check_redact before release, and compare to validate against an original. It also covers both document files and in images; the main gap is that check_redaction is PDF-only and there is no explicit batch/attation/report operation, but these are obstacles behind the core workflow.
Maintenance
Related MCP Connectors
Scan web pages, mails, PDFs and tool output for prompt injection before your agent reads them.
Check a document for hidden text before your agent reads it. PDF, Office, RTF, HTML.
The WAF for agents. Pattern-based + heuristic firewall scans prompts, RAG documents, tool argume...
Scan text, documents, websites, and MCP metadata for prompt injection and sensitive-data risks.
Related MCP Servers
AlicenseAqualityDmaintenanceEnables agents to inspect PDF, Microsoft Office, and Apple iWork documents without rendering them, providing page/slide counts, metadata, security signals, structure, and integrity as deterministic JSON via typed tools and batch operations.453 npmMIT- AlicenseNot gradedqualityBmaintenanceEnables an agent to check a document file or a retrieved piece of text for text a person cannot see and for instruction-style payloads before the agent reads or acts on it, returning findings with location, reason and severity plus a blocked flag when the content should not be trusted. The hidden text itself is withheld from tool results by default so the payload is not delivered to the requesting agent.10 npmApache 2.0
- AlicenseNot gradedqualityNot gradedmaintenanceEnables agents and applications to detect, inspect, and neutralize prompt injection, jailbreak attempts, and hidden instruction escapes in untrusted text before it is passed into prompts.1MIT

Perlectaofficial
AlicenseNot gradedqualityNot gradedmaintenanceEnables agents to analyze documents for hidden text and indirect prompt-injection indicators before reading them, returning report metadata without exposing the hidden content.1Apache 2.0