Scrubshot: Redact Phone Numbers and API Keys in a Screenshot in the Browser, Without Uploading the Image — A 10-Digit Order Number Was Missed

18 Views
No Comments

When you need to send a screenshot of a ticket, an admin panel, or a chat, the image often still shows a phone number, an ID number, an email address, or an API key. Painting over it by hand is easy to miss, and uploading the original to a random online redaction site is hard to trust. On November 27, 2026, we cloned the Scrubshot repository, ran pnpm install and pnpm dev, and opened it locally at http://127.0.0.1:5173/, without signing up or logging in. The test images were homemade and fictional. In the pixels we wrote the marker BAFFOX-SCRUB-20261127-QX7, plus placeholder phone numbers, email addresses, API keys, and a fictional ID number whose birth year was written as 2099. What follows is only the steps we saw on localhost that day, the exported files, and what we observed on the network.

The repository README also lists a demo at http://121.40.98.30:8080 — a bare IP address over HTTP. Traffic to an address like that can be seen by a middleman. Do not paste a real ID, a real phone number, or a real secret into that demo. We did not use that address for this test. The project itself has published a figure of “30 synthetic images, 98.7% text-detection recall.” That number is from the repository’s own evaluation set, not a result we reproduced, and we do not treat it as a test from this site.

What it addresses is the text that is visible in a screenshot. If what you need to handle is a piece of text before you send it to an AI, we have already written about Offthread. If you need to redact a PDF and then check whether the original wording can still be extracted from the export, that is AnyRedact. Those are different paths, and we did not retest them here.

Who it is for, and which page we opened

It is for someone who already has a screenshot to send out, wants to find phone numbers, ID numbers, or secrets in the browser first, then export a redacted image, and can accept that the work happens on this computer, in this browser. It is not an image editor, and it will not help you change a PDF.

The homepage is in Simplified Chinese, with lang set to zh-CN. The browser title is “Scrubshot · 截图脱敏” (screenshot redaction). The top bar repeats that name and adds “全部本地处理” (processed entirely on this device); on the right it shows v0.1 · W3 and a “评测” (evaluation) link. When we opened it, there was no sign-in box and no paid upgrade. In the middle is a dashed drop zone that says you can press Ctrl+V, drag a screenshot in, or paste, and that you can drop several images at once. It also says the images will not leave your browser. In the right-hand column, the default redaction style is “涂黑” (black out), marked as recommended and not reversible; “模糊” (blur) and “像素化” (pixelate) are also offered, both marked as potentially reversible. Export can be PNG, JPEG, or WebP. With no image loaded, the footer says it is waiting for an image.

Scrubshot: Redact Phone Numbers and API Keys in a Screenshot in the Browser, Without Uploading the Image — A 10-Digit Order Number Was Missed
Scrubshot homepage in Simplified Chinese: it asks you to drag a screenshot in or paste, and the right-hand column defaults to blacking out (baffox test, November 27, 2026, localhost)

Checking detection and export with a fictional ticket image

The first test image was made to look like a ticket detail page. It is not a screenshot of a real system. On it we wrote the placeholder Chinese-style mobile number 13800138000, the fictional email [email protected], the fictional key sk-BAFFOXTEST20261127QX7, and the marker BAFFOX-SCRUB-20261127-QX7 twice.

The first time we added an image, the right-hand column first showed “下载识别模型(首次约 15MB)…” (download the recognition model, about 15 MB the first time), then “初始化…” (initializing). Recognition finished in about 5.5 seconds. In the local model directory we could see PP-OCRv5 detection and recognition files, totaling about 21 MB; the page also loaded the ONNX Runtime wasm from the local development server. The page copy says “about 15 MB”; go by what your own load actually transfers. The model load only happened on the first recognition.

After recognition, the right-hand column showed 3 / 3 items, and the footer said “3 处待打码” (3 areas waiting to be redacted). The three items were:

  • The phone number 13800138000, high risk, redacted by default, shown on the canvas as a reddish solid box;
  • The email [email protected], medium risk, also checked by default, shown as a yellowish dashed box;
  • The API key sk-BAFFOXTEST20261127QX7, high risk, checked by default, also a reddish solid box.

Neither copy of the marker was treated as sensitive. After expanding “识别到的文字(9 行)” (recognized text, 9 lines), we could see that OCR had read the ticket title, the number, the marker, and the fields above, with confidences shown between 97 and 100. The medium-risk email is labeled as something to double-check, but that day it was still blacked out by default. If you only want to cover the phone number and the key, you have to uncheck this item yourself in the list.

Scrubshot: Redact Phone Numbers and API Keys in a Screenshot in the Browser, Without Uploading the Image — A 10-Digit Order Number Was Missed
On the fictional ticket image, the phone number and API key were marked high risk, the email medium risk; the marker BAFFOX-SCRUB-20261127-QX7 was not boxed (baffox test, November 27, 2026. All fields in the image are fictional placeholders)

After we checked “预览最终效果” (preview the final result), the three boxes became opaque black patches, and the marker was still there. We exported as the default PNG. The browser saved a file named scrub-ticket_redacted.png, 108,681 bytes, at 1280×800 — the same size as the original. Looking at the export: the phone number, email, and key were under solid black boxes, and the characters underneath could not be read directly; both copies of the marker were still there, and there was no site watermark. A pixel comparison with the original showed that the differences were concentrated on those three black boxes.

Scrubshot: Redact Phone Numbers and API Keys in a Screenshot in the Browser, Without Uploading the Image — A 10-Digit Order Number Was Missed
The exported PNG: the three sensitive fields are covered by opaque black boxes, both copies of the marker are still there, and there is no site watermark (baffox test, November 27, 2026. Fictional test image)

In the same session, we also added a second fictional registration form. An ID number, a phone number written with hyphens as 138-0013-8000, an email, and an API key — 4 items in total — were all listed and redacted by default. The fictional name “测试用户甲” (Test User A) and the marker were not boxed. The exported PNG was 1200×860 and 102,085 bytes; the JPEG was 94,094 bytes. The black boxes covered the same four items, and the marker was still there. The ID field was labeled “身份证号” (Chinese national ID number), high risk, and the tool showed the complete 18-digit test string. To be clear again: this is a fictional string we wrote into the image, with a birth year of 2099. It is not anyone’s real ID.

If what you are sending is not a screenshot, but location data inside a photo file, see keeplocal. That tool clears EXIF; it does not redact text that is visible in the picture.

A wrapped ID number, and a 10-digit order number we planted

The third image was made to look like a fictional chat, to see what would be missed and what would be joined across lines. A chat bubble split the 18-digit test ID across two lines: 1101012099 and 01011239. In the upper left there was also a 10-digit numeric order number, 2026112701. The footer repeated the complete ID on one line.

After recognition, the right-hand column showed 2 / 2 items, both labeled as a Chinese national ID, and both details showed the complete 18-digit test string. One box corresponded to the number that had been wrapped in the bubble: on the export it was a single black patch spanning both lines, covering the upper and lower halves, not only one of them. The other corresponded to the complete string in the footer. In the raw OCR text we could still see the two split lines, but the rule layer had joined them.

The 10-digit order number 2026112701 appeared twice. It was not listed either time, and it could still be read as-is on the export. That matches a known limitation in the repository: “10–11 digit pure numbers are not recognized.” If the important information in your screenshot is a short order number, a serial number, or something that looks like a timestamp, do not assume it will be boxed automatically. You will need to add a box yourself, or use another method. The marker was still not redacted.

Scrubshot: Redact Phone Numbers and API Keys in a Screenshot in the Browser, Without Uploading the Image — A 10-Digit Order Number Was Missed
The wrapped fictional ID was merged into one black box spanning two lines, and the complete string in the footer was covered too; the 10-digit order number 2026112701 is still visible (baffox test, November 27, 2026. Fictional chat, not a real ID)

After all three images had been recognized, the right-hand column offered “导出全部(3 张,zip)” (export all, 3 images, zip). We clicked it once and got scrubshot.zip, 323,161 bytes, containing three _redacted.png files.

What we saw on the network this time

While we opened the page, added the three images, ran recognition, previewed, and exported several times, the browser’s requests all went to http://127.0.0.1:5173/, including the page scripts, the local OCR models, and the ONNX wasm. There was no POST, PUT, or PATCH. The three originals were not sent to an external address; the thumbnails in the queue used local blob: URLs.

So this localhost session can be written as: during recognition and export, we did not see the originals uploaded to an external host. It cannot be written as “the official demo also makes 0 requests,” and we cannot treat the README’s claim that it “does not upload, does not need the network, and can be used offline” as a test we ran on the bare-IP demo. We did not retest with the network turned off, and we did not upload images to that HTTP demo address. If you deploy it yourself or run it locally, go by your own network panel.

Common failures and limits

  • The 10-digit numeric order number was not detected that day. Do not rely on automatic recognition alone for short order numbers, medical record numbers, and similar fields.
  • Medium-risk items (the email, in this test) are still redacted by default, but the rating and the box color are different from high risk. Scan the list yourself before you export.
  • The default style is an opaque black box. The page itself warns that blur and pixelation may be reversible. We exported with the default black boxes and did not test whether blur or pixelation could still be read.
  • The first recognition has to load the local model. That day, from the “download the recognition model” message to a result took about 5.5 seconds; with the model already cached, the three images together took about 9.4 seconds. Your machine will differ.
  • The official demo is a bare IP address over HTTP. Do not paste a real ID or a real secret there. We only tested on localhost.
  • We did not test touch on a phone, pasting from the clipboard, mirrored images, or the evaluation page, and we did not switch the engine to Tesseract as a fallback. The WebP option was visible; we did not export a WebP separately that day.
  • The repository license is MIT. Third-party pieces such as the OCR models also carry licenses such as Apache-2.0; see the repository LICENSE and README.

If you only need to cover a phone number, an ID number, an email, or a key that is already in a screenshot at hand, and you do not want to upload the original to an online redaction site first, you can run this page locally, or use an instance you have deployed yourself after you understand the risks. Start with a marked fictional image, then open the export yourself and check that what should be hidden is no longer readable, and that a marker that should remain is still there. For plain text you are about to send to an AI, or for a PDF where you need to check whether a text layer is still present, see Offthread and AnyRedact respectively. Do not treat this screenshot test as a substitute conclusion for those two articles.

END
 0
liujiana
Copyright Notice: Our original article was published by liujiana on 2026-11-27, total 9707 words.
Reproduction Note: Compiled by baffox.com from official project pages, open-source communities and public sources. Features, pricing, licenses and terms can change over time, so check the official pages for the latest. If you quote this post, please credit the source and link back here. Spotted an error or a copyright issue? Email us and we will look into it right away.
SponsoredRecommended by Baffox: Bandwagon Host VPS with CN2 GIA routesSponsoredRecommended by Baffox: DMIT premium VPS in Hong Kong, Tokyo and Los Angeles
Comments(No Comments)
Captcha