dsh-data-scan: Sensitive Data Discovery with Checksums
The DSH plugin dsh-data-scan by feely0208 (`@deepwhale-cn/dsh-data-scan`) discovers PII such as ID card numbers, bank card numbers, and mobile phone numbers in workspace text. It applies rules including GB 11643-1999 checksum, Luhn, number segment and boundary assertions to reduce false positives from pure regex matching. Reports only output file line numbers, type, and masked fragments, never the original values. It supports installation as a dsh plugin and use as a standalone npx CLI; commands include full directory scanning, `--demo`, and `--html` report generation. Binary files and `.git` history are not scanned. MIT licensed, Node >= 18.
Read More