Page MenuHomePhabricator

Account consisting of spacelike characters (Hangul fillers) only
Open, Needs TriagePublicBUG REPORT

Description

Hello,

Can you please explain how this account was created? Also how can this be avoided? Because it's affected the logs
For reference please see CentralAuth

Screenshot 2023-10-12 231214.png (780×1 px, 52 KB)

Screenshot 2023-10-12 231522.png (537×1 px, 63 KB)

Thanks

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Tgr subscribed.

ChatGPT is a bit off, it's actually a series of Hangul fillers (U+3164).

Equivset/Antispoof only groups together the Hangul filler with the half-width Hangul filler, which is not super useful. I guess we'd need an equivalence set of spacelike/invisible characters, so we can ban them at the beginning or end of a username?

Not really a problem with CentralAuth, in any case.

Tgr renamed this task from Account created with blank username to Account consisting of spacelike characters (Hangul fillers) only.Oct 12 2023, 9:46 PM

Change 1004323 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/libs/Equivset@master] Add more space-a-like and invisible letters

https://gerrit.wikimedia.org/r/1004323

Change 1004323 merged by jenkins-bot:

[mediawiki/libs/Equivset@master] Add space-like and more invisible letters

https://gerrit.wikimedia.org/r/1004323

The linked patch sets needs a new release of the equivset package, that could be happen in some months.

I have tested it with AntiSpoof and the error handling is not nice:

To prevent confusion, the username "ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ" cannot be used: Your provided username is too short. Please choose another username.

But at least it cannot be created.
The hangul filler is now replaced with spaces and AntiSpoof removed all spaces in the validation step, making the user name the empty string within the checks.