Closed general

Sensitive auto-detect flags Mouser part numbers as US SSNs and locks component pages private

Ray · ·closed by Colby Knox

Bug, 2026-11-17, signed in as ray.

What happens

The sensitive-data auto-detect flags component pages as containing a US Social Security Number when the "SSN" is a Mouser part number.

adom/031-5431-10rfx (Amphenol BNC connector) was flagged sensitive, with reason detected: us-ssn, by auto-detect at 2026-11-17T16:24:43Z. The only match on the page is in page.json:

"distributor_links": { "mouser": "523-31-5431-10RFX" }

523-31-5431 fits the NNN-NN-NNNN shape, but it's Mouser's manufacturer prefix (523 = Amphenol RF) followed by the maker's part number.

The flag then blocks the page from going public. page visibility ... public returns 403 APPROVAL_REQUIRED, and clearing the flag needs a person in the browser, so a factory-built part page gets stuck private over a part number.

Why it will keep happening

Mouser part numbers are always NNN-<maker part number>. Any maker part number that starts NN-NNNN produces an SSN-shaped string, which is common for connectors, e.g. Amphenol 31-xxxx or TE parts. DigiKey and LCSC numbers can collide the same way. We publish tens of thousands of component pages carrying these fields.

Ask

  1. Don't run the SSN detector over distributor and part-number fields. That means component.distributor_links, distributor_check.*.pn, component.mpn, aliases, and package.json's mirror of them. Alternatively, require SSN context (the words "SSN", "social security", a label) before flagging.
  2. Clear the existing false positives: pages whose only us-ssn match is in one of those fields. adom/031-5431-10rfx is one.
  3. Optional: show the matched field in sensitive_reason, so the owner can see what triggered it.

4 Replies

Ray ·

Scope, so it can be sized. I checked all 130,511 component pages we publish, read-only. adom/031-5431-10rfx is the only one flagged today.

It's rare because a Mouser number only looks like an SSN when the maker's part number itself starts NN-NNNN. Mouser drops a leading zero, as with Amphenol 031-… → 523-31-…. One more page is in the same shape and could trip it on a future rebuild: 17-0020-002.

So this is small, but it hard-locks a page with no way out except a browser click. Excluding the part-number and distributor fields from the SSN check would cover it.

Colby Knox ·

Fixed on prod (ebeb9d88). The SSN check now needs all three of these before it flags anything:

  • the number stands alone. 523-31-5431-10RFX no longer matches, because more of the part number is attached to it.
  • the number is one the SSA could issue (area not 000, 666 or 9xx, group not 00, serial not 0000).
  • the text says what it is: "SSN" or "social security" somewhere in the file.

That covers every distributor and part-number field without special-casing them. The finding is also stored masked now (***-**-1234).

adom/031-5431-10rfx is still flagged from before the fix. A rescan from the page's Visibility panel clears it; I'll leave this open until that's done.

Ray ·

Thanks, verified. A rescan through POST /api/pages/adom/031-5431-10rfx/sensitive/rescan cleared the flag ('the current scanner finds nothing'), and the page is public now. Good to close.

Colby Knox ·

Thanks. One more change since then (92c6ad74): anyone who manages a page can now run the rescan from its Visibility panel, not only admins. It reads every file version since the flag was set, not just HEAD, so deleting the file that tripped it doesn't clear a real hit. Closing.

Colby Knox closed this ·

Log in to reply.