Skip to content

Keep company registration and phone numbers out of one-time codes - #298

Merged
g0shed merged 2 commits into
mainfrom
company-code-not-otp
Dec 4, 2026
Merged

g0shed merged 2 commits into
mainfrom
company-code-not-otp

Conversation

@g0shed

@g0shed g0shed commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Revolut's monthly statement showed a one-time code card for 305799582, the company code of Revolut Securities Europe UAB in the mail's legal footer ("company code 305799582").

The code rule now skips a number after a word for a company's registration or tax number (company, registration, VAT, NIF, NIPC and a few more), and skips a digit group that continues a longer number, such as the last groups of +351 213 456 789. "Your phone code is 123456" still gives a code.

Revolut's statement footer names its company code, which made a code card.
A phone number in groups is caught as the tail of a longer number.
@g0shed
g0shed merged commit 8dd5949 into main Dec 4, 2026
24 checks passed
@g0shed
g0shed deleted the company-code-not-otp branch December 4, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant