Open-source MCP sanitizer strips white-on-white text and 3 Tr glyph PDF prompt injections pre-LLM
EstablishmentTough18 · reddit · 2026-11-25
CleanWeb v3.0.1 is an MCP gateway that neutralizes hidden PDF prompt injections at the content-stream level before text reaches your model's context. It targets white-on-white fills, PDF's invisible 3 Tr text rendering mode, sub-2pt micro-fonts, and off-page/CropBox coordinates — all of which standard extractors like pypdf and pdfminer pass through silently. It also strips HTML boilerplate (87% token reduction) and blocks 1x1 tracking pixels and Markdown image exfiltration links. Available as a remote SSE MCP server for Cursor/Windsurf/Claude or a local uvx thin client, priced per call ($0.001/page, $0.005/PDF via x402 in USDC) with 3 free trials and SDKs for LangChain, LlamaIndex and more.
More from coding & agent
- Extraction agent stalled at 777/1,561 rows — here's what fixed the missing-field loop — Ok_Shopping_6997 · 2026-11-25
- "There is no decentralized AI, only personal local AI" — dev urges going local over cloud agents — AIFlow_ML · 2026-11-25
- Editing a D&D actual play with Claude + free invideo editor over MCP: 2h50m saved per 3.5h session — ThunderBirdzzz · 2026-11-25
- Software architecture is all about tradeoffs: the five-way impacts diagram — bibryam · 2026-11-25
- Open-sourcing verilays: catch agent DB writes that report success but never landed correctly — Ok-Machine7983 · 2026-11-25
- AI agent fights a $999 wrongful subscription charge, files FTC and BBB complaints overnight — tetsuoai · 2026-11-25