User:Niharika/Community message

From Wikipedia, the free encyclopedia
Failed login attempt notification on Echo
Login attempt notification as seen on a different wiki
Here’s what you would see in Special:Notifications, or in the panel, after you mark the bundle as Read. Since the above notification is a bundle of 6 individual notifications, they disperse after you mark the bundle as "Read" and you see a generic message for each of them.

Hi all. The Community Tech team has almost wrapped up work on wish #7 on the 2016 Community Wishlist Survey -- Warning on unsuccessful login attempts. We want to give you a preview of how the new feature will work, and get your feedback.

The project aims to improve security on Wikimedia sites by notifying users when there are unsuccessful attempts to login with their username from both known and unknown IPs and devices. This project builds on the LoginNotify extension which was created by Brian Wolff in 2016.

How does it work? The extension keeps track of known devices (browsers really) by placing a cookie in the browser. This cookie automatically expires in 180 days. If a failed login attempt happens from a new browser, it generates an Echo notification alerting the user about the login attempt. The other way that we identify known devices is by checking the current IP address subnet against the IP addresses that have been used recently (as stored in a temporary server cache). None of the information is stored in a database and at no point is any private information revealed publicly, including the attacker’s IP address/location. The WMF Legal and Security teams have reviewed the implementation for both compliance with our Privacy Policy and security considerations.

For known devices/IPs, we allow up to 5 login attempts before alerting the user about the login attempt, since it's fairly common to mistype or forget a password. If there are 5 or more failed attempts, the notification will say: "There have been 5 failed attempts to log in to your account since the last time you logged in. If this wasn't you, please make sure your account has a strong password." There would be another notification at 10 attempts, 15 attempts and so on.

For unknown devices/IPs, we alert on every failed attempt. The extension bundles these notifications to avoid spamming users with too many notifications. For example, if there are 3 failed attempts from an unknown device, there will be a single notification, which says: "There have been 3 failed attempts to log in to your account from a new device since the last time you logged in. If this wasn't you, please make sure your account has a strong password." On further attempts, that notification would update to say "4 failed attempts," "5 failed attempts", and so on.

How does it look? The first picture on the right is what the notification looks like if the attack happened on the wiki that you're currently on; the second picture is what it would look like if you view it on a different wiki. The notification is issued from the wiki where the attack happened.

There are two ways for the user to get these notifications - either by web Echo notifications or by email. By default, the web notifications are on for everyone and email ones are turned off. This is configurable in the notification preferences.

The text for the notifications as well as the threshold for when you get the notifications is subject to changes, based on your feedback.

This extension does not give you notifications when somebody successfully logs into your account from an unknown device or IP. It is technically possible to generate those, but if somebody else has logged in, they could just as easily see those notifications and do a password reset (which the notification encourages you to do). The ideal way to handle this is to issue email notifications for this case, but since most Wikipedia accounts do not have emails associated with them, this wouldn't be useful to majority of the users. So for the time being, we have settled for not issuing these notifications.

We'd love to hear what you think of this so far, and what you think we should change, if anything. Thanks for your time! -- Niharika (talk) 19:57, 24 April 2017 (UTC)