US SSN recognizer accepts invalid 900-series area numbers
Describe the bug The US SSN recognizer currently accepts SSNs with area numbers 900–999, although the Social Security Administration identifies the entire 900 series as invalid.
To Reproduce Analyze an SSN with an area number in the 900–999 range, for example 900-12-3456. The recognizer returns it as a US_SSN entity.
Expected behavior SSNs with area numbers 900–999 should be rejected, while valid boundary values such as 899 should continue to be accepted.
Screenshots N/A
Additional context SSA references:
[...] Also, identify invalid SSNs with: The first three digits (former area number) as "000," "666,” or in the 900 series. [...]
What changes resulted from randomization? [...] Randomization also introduced previously unassigned area numbers for assignment excluding area numbers 000, 666 and 900-999.
Source: data-privacy-stack/presidio