Detects Vehicle Identification Numbers (VINs) in scanned content.
- 17-character alphanumeric VINs (ISO 3779 / SAE J853)
- Excludes characters I, O, Q per VIN standard
- Validates the check digit at position 9 using the weighted transliteration algorithm
- Regex match - 17 alphanumeric characters (A-H, J-N, P-R, S-Z, 0-9)
- Early rejection - All-repeating characters, known test patterns
- Check digit validation - Mod-11 weighted checksum (position 9)
- Encoded data filter - Rejects matches embedded in hex dumps or longer tokens
- Confidence scoring - Base confidence + WMI lookup + model year + context keywords
| Factor | Weight | Description |
|---|---|---|
| Format | 65% base | Valid 17-char VIN format |
| Check digit | +20% | Position 9 check digit passes |
| Known WMI | +10% | Recognized manufacturer prefix |
| Model year | +5% | Valid year code at position 10 |
| Context | +/-50% max | Keyword analysis of surrounding text |
ferret-scan --file vehicle-records.txt --checks VIN
ferret-scan --file fleet-data.csv --checks VIN --confidence high