audit_pdf_forensics
Audit local or Base64 PDFs to expose fake black-box redactions, hidden ghost revisions, metadata leaks, JavaScript triggers, and surviving target secrets before sharing.
Instructions
Audit a local PDF file path or Base64-encoded PDF binary to detect fake black-box redactions (dark 0 0 0 rg ... re f rectangles over copyable BT...Tj/TJ text streams), incremental %%EOF ghost revisions, UTF-16BE/octal /Info fields, XMP workstation paths, unapplied /Subtype /Redact boxes, reviewer /Annots, /JavaScript triggers, and surviving target secrets.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "audit_pdf_forensics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | Local filesystem path to the .pdf file to inspect (provide filePath or pdfBase64). | |
| pdfBase64 | No | Base64-encoded PDF binary payload when auditing in-memory bytes without touching disk. | |
| targetTerms | No | Optional list of sensitive terms, SSNs, or amounts to test for survival across active streams, ghost revisions, and metadata. |