Page MenuHomePhabricator

Catrope (Roan Kattouw)
Software engineer, Design Systems Team

Today

  • No visible events.

Tomorrow

  • No visible events.

Monday

  • No visible events.

User Details

User Since
Oct 8 2014, 8:32 PM (609 w, 2 d)
Availability
Available
IRC Nick
RoanKattouw
LDAP User
Catrope
MediaWiki User
Roan Kattouw (WMF) [ Global Accounts ]

Recent Activity

Yesterday

Catrope added a subtask for T197160: All security-sensitive MediaWiki functionality should require elevated security: T427955: Prompt for reauthentication after submitting a site JS edit, not before.
Fri, Jun 12, 9:38 PM · MediaWiki-Platform-Team (Radar), Security, User-Tgr, Epic, MediaWiki-Core-AuthManager
Catrope added a parent task for T427955: Prompt for reauthentication after submitting a site JS edit, not before: T197160: All security-sensitive MediaWiki functionality should require elevated security.
Fri, Jun 12, 9:38 PM · Patch-For-Review, MediaWiki-Platform-Team (Radar), MediaWiki-User-Interface, MediaWiki-Core-AuthManager

Thu, Jun 11

Catrope added a subtask for T197160: All security-sensitive MediaWiki functionality should require elevated security: T428982: Reauthentication should not allow recovery codes.
Thu, Jun 11, 11:46 PM · MediaWiki-Platform-Team (Radar), Security, User-Tgr, Epic, MediaWiki-Core-AuthManager
Catrope added a parent task for T428982: Reauthentication should not allow recovery codes: T197160: All security-sensitive MediaWiki functionality should require elevated security.
Thu, Jun 11, 11:46 PM · Product Safety and Integrity, MediaWiki-extensions-OATHAuth
Catrope created T428982: Reauthentication should not allow recovery codes.
Thu, Jun 11, 11:46 PM · Product Safety and Integrity, MediaWiki-extensions-OATHAuth
Catrope added a subtask for T420792: Allow 2FA to be enforced for all accounts on a private wiki: T428980: Managing 2FA after logging in with a recovery code should not require another recovery code.
Thu, Jun 11, 11:43 PM · MW-1.47-notes (1.47.0-wmf.5; 2026-06-02), Patch-For-Review, Product Safety and Integrity (Sprint lily-of-the-valley (May 4 - May 22)), SecTeam-Processed, Security-Team, MediaWiki-extensions-OATHAuth
Catrope added a parent task for T428980: Managing 2FA after logging in with a recovery code should not require another recovery code: T420792: Allow 2FA to be enforced for all accounts on a private wiki.
Thu, Jun 11, 11:43 PM · Product Safety and Integrity, MediaWiki-extensions-OATHAuth
Catrope created T428980: Managing 2FA after logging in with a recovery code should not require another recovery code.
Thu, Jun 11, 11:43 PM · Product Safety and Integrity, MediaWiki-extensions-OATHAuth
Catrope closed T423116: FY25-26 Q4: 2FA enforcement for local and global groups in Wikimedia production, a subtask of T150898: Force OATHAuth (2FA) for certain user groups in Wikimedia production and Beta wikis, as Resolved.
Thu, Jun 11, 10:26 PM · User-notice, Sustainability (Incident Followup), Security, Stewards-and-global-tools, Wikimedia-Site-requests, MediaWiki-User-login-and-signup
Catrope closed T423116: FY25-26 Q4: 2FA enforcement for local and global groups in Wikimedia production as Resolved.
Thu, Jun 11, 10:26 PM · Product Safety and Integrity (Sprint lily-of-the-valley (May 4 - May 22)), Stewards-and-global-tools

Wed, Jun 10

Catrope added a comment to T427902: Expose LiftWing API for serving the openapi-specs through the /docs yaml files..

(For completeness, the above error was at https://www.mediawiki.org/w/index.php?api=lift-wing&title=Special%3ARestSandbox , so the problem was that we were hitting the API from www.mediawiki.org but the ACAO header was for test.wikipedia.org)

Wed, Jun 10, 8:59 PM · Patch-For-Review, ServiceOps new, ServiceOps-SharedInfra, Machine-Learning-Team (Q4 FY2025-26), Lift-Wing
Catrope closed T428064: Security Issue Access Request for Cparle as Declined.

In a private message to Cormac I explained that we're about to announce a new, more restrictive policy for security task access. Based on the new policy, he agreed that he would not need proactive access to all security tasks, but could be CCed on tasks as they are assigned to him, and said I could decline this request.

Wed, Jun 10, 5:37 PM · SecTeam-Processed, Security-Team, Security

Mon, Jun 8

Catrope moved T404328: Lookup: expose focus() method from Backlog to Pending Release on the Codex board.
Mon, Jun 8, 6:52 PM · Moderator-Tools-Team (Kanban), Essential-Work, Codex

Wed, Jun 3

Catrope updated the task description for T428104: Notify users on phase 1 private wikis that 2FA enforcement is coming.
Wed, Jun 3, 10:41 PM · SecTeam-Processed, Wikimedia-maintenance-script-run, Product Safety and Integrity, Security-Team
Catrope created T428104: Notify users on phase 1 private wikis that 2FA enforcement is coming.
Wed, Jun 3, 10:40 PM · SecTeam-Processed, Wikimedia-maintenance-script-run, Product Safety and Integrity, Security-Team
Catrope removed a subtask for T150898: Force OATHAuth (2FA) for certain user groups in Wikimedia production and Beta wikis: T420792: Allow 2FA to be enforced for all accounts on a private wiki.
Wed, Jun 3, 10:37 PM · User-notice, Sustainability (Incident Followup), Security, Stewards-and-global-tools, Wikimedia-Site-requests, MediaWiki-User-login-and-signup
Catrope edited parent tasks for T420792: Allow 2FA to be enforced for all accounts on a private wiki, added: T428103: Enforce 2FA for all users on private wikis in WMF production; removed: T150898: Force OATHAuth (2FA) for certain user groups in Wikimedia production and Beta wikis.
Wed, Jun 3, 10:37 PM · MW-1.47-notes (1.47.0-wmf.5; 2026-06-02), Patch-For-Review, Product Safety and Integrity (Sprint lily-of-the-valley (May 4 - May 22)), SecTeam-Processed, Security-Team, MediaWiki-extensions-OATHAuth
Catrope added a subtask for T428103: Enforce 2FA for all users on private wikis in WMF production: T420792: Allow 2FA to be enforced for all accounts on a private wiki.
Wed, Jun 3, 10:37 PM · Patch-For-Review, SecTeam-Processed, Wikimedia-Site-requests, Product Safety and Integrity, Security-Team
Catrope created T428103: Enforce 2FA for all users on private wikis in WMF production.
Wed, Jun 3, 10:37 PM · Patch-For-Review, SecTeam-Processed, Wikimedia-Site-requests, Product Safety and Integrity, Security-Team

Tue, Jun 2

Catrope closed T419152: Editing user JS/CSS pages of another user should require elevated security as Resolved.
Tue, Jun 2, 9:35 PM · MediaWiki-Platform-Team (Radar), Sustainability (Incident Followup), 2026-user-javascript-incident, Product Safety and Integrity, Security, MediaWiki-Core-AuthManager
Catrope closed T419152: Editing user JS/CSS pages of another user should require elevated security, a subtask of T197160: All security-sensitive MediaWiki functionality should require elevated security, as Resolved.
Tue, Jun 2, 9:35 PM · MediaWiki-Platform-Team (Radar), Security, User-Tgr, Epic, MediaWiki-Core-AuthManager
Catrope created T427957: Display an icon on the publish button if the user needs to reauthenticate in order to save the edit.
Tue, Jun 2, 4:29 PM · MediaWiki-Platform-Team (Radar), MediaWiki-User-Interface, MediaWiki-Core-AuthManager
Catrope created T427955: Prompt for reauthentication after submitting a site JS edit, not before.
Tue, Jun 2, 4:26 PM · Patch-For-Review, MediaWiki-Platform-Team (Radar), MediaWiki-User-Interface, MediaWiki-Core-AuthManager
Catrope created T427950: Simplify login form when reauthenticating.
Tue, Jun 2, 4:22 PM · MediaWiki-Platform-Team (Radar), MediaWiki-extensions-OATHAuth, Product Safety and Integrity, MediaWiki-Core-AuthManager
Catrope edited projects for T427947: Display banner about elevated security when editing site JS/CSS, added: MediaWiki-User-Interface; removed MediaWiki-extensions-OATHAuth.
Tue, Jun 2, 4:13 PM · Patch-For-Review, MediaWiki-User-Interface, Product Safety and Integrity
Catrope created T427947: Display banner about elevated security when editing site JS/CSS.
Tue, Jun 2, 4:12 PM · Patch-For-Review, MediaWiki-User-Interface, Product Safety and Integrity

Mon, Jun 1

Catrope closed Restricted Task, a subtask of T424851: Create notification to tell user to remove (and potentially replace) WebAuthn keys that don't meet our current criteria for registration, as Resolved.
Mon, Jun 1, 9:56 PM · Product Safety and Integrity, MediaWiki-extensions-OATHAuth
Catrope added a comment to T427023: Improve safe mode feature for better security.

I agree with @mszwarc's comments: I think it makes more sense to group all sitewide scripts together (Common.js + gadgets) and all sitewide styles together.

I agree it should be possible to disable JS gadgets but not CSS gadgets. Instead of grouping together it might be a good idea to separating these out as well for consistency (either as part of this phase or a later phase).
e.g.

  • Gadget CSS
  • Gadget JS
  • Site CSS
  • Site JS
Mon, Jun 1, 6:32 PM · MediaWiki-Platform-Team (Radar), MediaWiki-ResourceLoader, Security, SecTeam-Processed, Product Safety and Integrity, Security-Team
Catrope added a comment to T426804: filerevision view should not filter out deleted file revisions.

OK, as long as it's consistent with what we're already doing for other types of content, I'm fine with it.

Mon, Jun 1, 6:30 PM · DBA, SecTeam-Processed, Privacy Engineering, cloud-services-team, Data-Services

Fri, May 29

Catrope claimed T427692: Special:AccountRecovery never allows itself to be used.
Fri, May 29, 9:50 PM · Product Safety and Integrity, MediaWiki-extensions-EmailAuth
Catrope created T427692: Special:AccountRecovery never allows itself to be used.
Fri, May 29, 9:50 PM · Product Safety and Integrity, MediaWiki-extensions-EmailAuth

Thu, May 28

Catrope closed T427505: TypeError: Wikimedia\Mime\MimeAnalyzer::getMimeTypeFromExtensionOrNull(): Argument #1 ($ext) must be of type string, false given, called in /srv/mediawiki/php-1.47.0-wmf.4/extensions/MediaModeration/src/Services/MediaModeration as Resolved.
Thu, May 28, 9:56 PM · Product Safety and Integrity (Sprint Iris (May 25 - Jun 12)), Wikimedia-production-error
Catrope closed T426787: Editing raw HTML messages does not require reauthentication, a subtask of T197160: All security-sensitive MediaWiki functionality should require elevated security, as Resolved.
Thu, May 28, 7:03 PM · MediaWiki-Platform-Team (Radar), Security, User-Tgr, Epic, MediaWiki-Core-AuthManager
Catrope closed T426787: Editing raw HTML messages does not require reauthentication as Resolved.
Thu, May 28, 7:03 PM · Vuln-MissingAuthz, SecTeam-Processed, User-SomeRandomDeveloper, 2026-user-javascript-incident, Security, Security-Team

Wed, May 27

Catrope closed T427419: Unable to finish 2FA as Resolved.
Wed, May 27, 10:59 PM · Regression, Wikimedia-production-error, MediaWiki-extensions-OATHAuth, Product Safety and Integrity
Catrope claimed T427419: Unable to finish 2FA.

Thanks for pointing me in the right direction. The issue was that we were requesting conditional mediation (for passwordless login) on the second page of the login process, in parallel with the main (non-conditional) WebAuthn request. We had a check to prevent this code from running when the username field isn't present, but I accidentally deleted that check recently.

Wed, May 27, 9:42 PM · Regression, Wikimedia-production-error, MediaWiki-extensions-OATHAuth, Product Safety and Integrity
Catrope closed T427398: Unable to edit pages on Mediawiki namespace on 1.47.0-wmf.4, redirects to Verify your Identity page as Resolved.
Wed, May 27, 7:04 PM · MediaWiki-Core-AuthManager, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, Regression, Product Safety and Integrity, MediaWiki-User-login-and-signup
Catrope closed T427398: Unable to edit pages on Mediawiki namespace on 1.47.0-wmf.4, redirects to Verify your Identity page, a subtask of T423913: 1.47.0-wmf.4 deployment blockers, as Resolved.
Wed, May 27, 7:04 PM · Release-Engineering-Team (Priority Backlog 📥), Essential-Work, Release, Train Deployments

Tue, May 26

Catrope added a comment to T424560: Drop $wgWebAuthnNewCredsDisabled.

Right now its function is to prevent WebAuthn creds from being registered when you're on an SUL wiki but not on the central domain (auth.wm.o). This is done through a confusing layered config: InitialiseSettings sets it to false on non-SUL wikis and true on SUL wikis, but then CommonSettings sets it back to false when on the central domain. However, we now have code always redirecting Special:AccountSecurity to the central domain, so we probably don't need this anymore.

Tue, May 26, 11:45 PM · Patch-For-Review, Product Safety and Integrity, MediaWiki-extensions-OATHAuth
Catrope added a comment to T423120: FY25-26 Q4: Phase 3 of 2FA enforcement in Wikimedia production.

A more user-friendly view of $wgRestrictedGroups is available at https://meta.wikimedia.org/wiki/Special:ListGroupRights#restricted_groups (note this is only for local groups, so it differs from wiki to wiki)

Tue, May 26, 8:10 PM · MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), Product Safety and Integrity, Stewards-and-global-tools
Catrope added a comment to T426804: filerevision view should not filter out deleted file revisions.

What does fr_deleted=1 mean? It's not super clear to me from reading the code, but it seems to me that it might mean that the file's entire history is deleted. If that's the case, should we still exclude rows with fr_deleted=1 entirely?

Tue, May 26, 4:51 PM · DBA, SecTeam-Processed, Privacy Engineering, cloud-services-team, Data-Services
Catrope added a comment to T427023: Improve safe mode feature for better security.

I agree with @mszwarc's comments: I think it makes more sense to group all sitewide scripts together (Common.js + gadgets) and all sitewide styles together.

Tue, May 26, 4:47 PM · MediaWiki-Platform-Team (Radar), MediaWiki-ResourceLoader, Security, SecTeam-Processed, Product Safety and Integrity, Security-Team
Catrope added a comment to T426787: Editing raw HTML messages does not require reauthentication.

https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikimediaCustomizations/+/1293764

Tue, May 26, 4:37 PM · Vuln-MissingAuthz, SecTeam-Processed, User-SomeRandomDeveloper, 2026-user-javascript-incident, Security, Security-Team
Catrope claimed T426787: Editing raw HTML messages does not require reauthentication.

Whoops, you're right, I forgot that that existed. And it looks like editing these does indeed require the editsitejs right. I'll write a patch for this today then.

Tue, May 26, 4:05 PM · Vuln-MissingAuthz, SecTeam-Processed, User-SomeRandomDeveloper, 2026-user-javascript-incident, Security, Security-Team
Catrope added a comment to T426787: Editing raw HTML messages does not require reauthentication.

That's right, reauthentication is currently only required for editing .js pages in the MW namespace. We'll consider whether to expand reauth to the entire MW namespace in the near future. I don't think it would be feasible to require it only for raw HTML messages, because MW doesn't really track those as such.

Tue, May 26, 3:58 PM · Vuln-MissingAuthz, SecTeam-Processed, User-SomeRandomDeveloper, 2026-user-javascript-incident, Security, Security-Team

Fri, May 22

Catrope added a comment to T427023: Improve safe mode feature for better security.

Changing the Safe mode preference should require 2FA when enabled.

@Catrope Would this better said as, "If a user has 2FA enabled, then disabling the Safe Mode checkbox should be considered a privilege-elevation-worthy check"? A couple things in that are 1) not sure why we'd need to check anything for enabling Safe Mode

Fri, May 22, 11:12 PM · MediaWiki-Platform-Team (Radar), MediaWiki-ResourceLoader, Security, SecTeam-Processed, Product Safety and Integrity, Security-Team

Thu, May 21

Catrope added a project to T207557: Don't count initial login as valid for any operation that requires reauth: User-notice.
Thu, May 21, 6:23 AM · User-notice, MediaWiki-Platform-Team (Radar), Product Safety and Integrity, Security, Patch-For-Review, Restricted Project, MediaWiki-Core-AuthManager
Catrope added a project to T208667: Tie reauthentication (login with elevated security) to a specific security level: User-notice.
Thu, May 21, 6:22 AM · User-notice, Patch-Needs-Improvement, MediaWiki-Platform-Team, Security, MediaWiki-Core-AuthManager

Wed, May 20

Catrope reassigned T424251: Make a maintenance script version of Special:Recover2FAForUser from Catrope to Reedy.
Wed, May 20, 11:38 PM · MW-1.47-notes (1.47.0-wmf.1; 2026-05-05), Product Safety and Integrity, MediaWiki-extensions-OATHAuth
Catrope changed the status of Restricted Task, a subtask of T424851: Create notification to tell user to remove (and potentially replace) WebAuthn keys that don't meet our current criteria for registration, from Open to In Progress.
Wed, May 20, 8:39 PM · Product Safety and Integrity, MediaWiki-extensions-OATHAuth
Catrope closed T424251: Make a maintenance script version of Special:Recover2FAForUser, a subtask of T420792: Allow 2FA to be enforced for all accounts on a private wiki, as Resolved.
Wed, May 20, 3:57 PM · MW-1.47-notes (1.47.0-wmf.5; 2026-06-02), Patch-For-Review, Product Safety and Integrity (Sprint lily-of-the-valley (May 4 - May 22)), SecTeam-Processed, Security-Team, MediaWiki-extensions-OATHAuth
Catrope closed T424251: Make a maintenance script version of Special:Recover2FAForUser as Resolved.
Wed, May 20, 3:57 PM · MW-1.47-notes (1.47.0-wmf.1; 2026-05-05), Product Safety and Integrity, MediaWiki-extensions-OATHAuth
Catrope closed T424252: Create a maintenance script to make 2FA stats for a wiki (non blocked users), a subtask of T420792: Allow 2FA to be enforced for all accounts on a private wiki, as Resolved.
Wed, May 20, 3:57 PM · MW-1.47-notes (1.47.0-wmf.5; 2026-06-02), Patch-For-Review, Product Safety and Integrity (Sprint lily-of-the-valley (May 4 - May 22)), SecTeam-Processed, Security-Team, MediaWiki-extensions-OATHAuth
Catrope closed T424252: Create a maintenance script to make 2FA stats for a wiki (non blocked users) as Resolved.

@mszwarc has already done this: https://gitlab.wikimedia.org/msz2001/2fa_less

Wed, May 20, 3:57 PM · Product Safety and Integrity, MediaWiki-extensions-OATHAuth
Catrope closed T207557: Don't count initial login as valid for any operation that requires reauth, a subtask of T197160: All security-sensitive MediaWiki functionality should require elevated security, as Resolved.
Wed, May 20, 12:01 AM · MediaWiki-Platform-Team (Radar), Security, User-Tgr, Epic, MediaWiki-Core-AuthManager
Catrope closed T207557: Don't count initial login as valid for any operation that requires reauth as Resolved.
Wed, May 20, 12:01 AM · User-notice, MediaWiki-Platform-Team (Radar), Product Safety and Integrity, Security, Patch-For-Review, Restricted Project, MediaWiki-Core-AuthManager
Catrope closed T208667: Tie reauthentication (login with elevated security) to a specific security level, a subtask of T197160: All security-sensitive MediaWiki functionality should require elevated security, as Resolved.
Wed, May 20, 12:01 AM · MediaWiki-Platform-Team (Radar), Security, User-Tgr, Epic, MediaWiki-Core-AuthManager
Catrope closed T208667: Tie reauthentication (login with elevated security) to a specific security level as Resolved.
Wed, May 20, 12:01 AM · User-notice, Patch-Needs-Improvement, MediaWiki-Platform-Team, Security, MediaWiki-Core-AuthManager
Catrope added a subtask for T197160: All security-sensitive MediaWiki functionality should require elevated security: T426787: Editing raw HTML messages does not require reauthentication.
Wed, May 20, 12:00 AM · MediaWiki-Platform-Team (Radar), Security, User-Tgr, Epic, MediaWiki-Core-AuthManager
Catrope added a parent task for T426787: Editing raw HTML messages does not require reauthentication: T197160: All security-sensitive MediaWiki functionality should require elevated security.
Wed, May 20, 12:00 AM · Vuln-MissingAuthz, SecTeam-Processed, User-SomeRandomDeveloper, 2026-user-javascript-incident, Security, Security-Team

Mon, May 18

Catrope closed T423900: Create notification to tell users they need to enable 2FA on the wiki, a subtask of T423899: Create maintenance script to send notifications that they need to enable 2FA for continued access to the wiki, as Resolved.
Mon, May 18, 10:12 PM · MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), Product Safety and Integrity (Sprint lily-of-the-valley (May 4 - May 22)), SecTeam-Processed, Security-Team, MediaWiki-extensions-OATHAuth
Catrope closed T423900: Create notification to tell users they need to enable 2FA on the wiki as Resolved.
Mon, May 18, 10:12 PM · MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), Product Safety and Integrity (Sprint lily-of-the-valley (May 4 - May 22)), SecTeam-Processed, Security-Team, MediaWiki-extensions-OATHAuth
Catrope closed T423900: Create notification to tell users they need to enable 2FA on the wiki, a subtask of T125653: Create new types of notifications, as Resolved.
Mon, May 18, 10:12 PM · Tracking-Neverending, Notifications (Echo)
Catrope closed T423899: Create maintenance script to send notifications that they need to enable 2FA for continued access to the wiki as Resolved.
Mon, May 18, 10:12 PM · MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), Product Safety and Integrity (Sprint lily-of-the-valley (May 4 - May 22)), SecTeam-Processed, Security-Team, MediaWiki-extensions-OATHAuth
Catrope closed T423899: Create maintenance script to send notifications that they need to enable 2FA for continued access to the wiki, a subtask of T420792: Allow 2FA to be enforced for all accounts on a private wiki, as Resolved.
Mon, May 18, 10:12 PM · MW-1.47-notes (1.47.0-wmf.5; 2026-06-02), Patch-For-Review, Product Safety and Integrity (Sprint lily-of-the-valley (May 4 - May 22)), SecTeam-Processed, Security-Team, MediaWiki-extensions-OATHAuth
Catrope changed the visibility for T426466: SecurePoll should reject votes with CSRF issues.
Mon, May 18, 4:34 PM · Vuln-CSRF, MediaWiki-extensions-SecurePoll, Product Safety and Integrity, Security
Catrope removed a project from T426466: SecurePoll should reject votes with CSRF issues: Security-Team.
Mon, May 18, 4:34 PM · Vuln-CSRF, MediaWiki-extensions-SecurePoll, Product Safety and Integrity, Security
Catrope moved T426323: CX dashboard can't load page collections on some wikis (blocked by CORS) from Incoming to Our Part Is Done on the Security-Team board.
Mon, May 18, 4:32 PM · MW-1.47-notes (1.47.0-wmf.4; 2026-05-26), ServiceOps new, ServiceOps-SharedInfra, SecTeam-Processed, Product Safety and Integrity (Sprint lily-of-the-valley (May 4 - May 22)), Traffic, LPL Hypothesis, Security-Team, ContentTranslation

May 8 2026

Catrope created T425800: AccountRecovery description field should be delimited in Zendesk ticket.
May 8 2026, 5:06 PM · MediaWiki-extensions-EmailAuth, MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), SecTeam-Processed, Product Safety and Integrity, Security, Security-Team
Catrope assigned T425796: Special:AccountRecovery should verify that there was an EmailAuth challenge to ASanford-WMF.
May 8 2026, 4:33 PM · MediaWiki-extensions-EmailAuth, SecTeam-Processed, Security, Security-Team
Catrope created T425796: Special:AccountRecovery should verify that there was an EmailAuth challenge.
May 8 2026, 4:33 PM · MediaWiki-extensions-EmailAuth, SecTeam-Processed, Security, Security-Team

May 7 2026

Catrope added a comment to T425722: Pushing to Gerrit returns an error, but succeeds anyway.

Pushing a new change did not produce this error (trace ID 778187236011-bbfaed23). But pushing https://gerrit.wikimedia.org/r/c/mediawiki/core/+/471664/29 and https://gerrit.wikimedia.org/r/c/mediawiki/core/+/471664/30 did (trace IDs 1778190246679-3985a3f5 and 1778190340140-35c006fa).

May 7 2026, 9:48 PM · Gerrit, collaboration-services, Release-Engineering-Team
Catrope created T425722: Pushing to Gerrit returns an error, but succeeds anyway.
May 7 2026, 6:13 PM · Gerrit, collaboration-services, Release-Engineering-Team

May 5 2026

Catrope added a comment to T425460: Unable to change content model to javascript in mediawiki space.

This will be somewhat improved next week with this patch, which includes a link to the reauthentication form in the error message. That's still not exactly what we want, and we'll keep working on more improvements, but it should be slightly better and slightly less confusing than the current situation,

May 5 2026, 6:47 PM · WikimediaCustomizations, SecTeam-Processed, Security-Team
Catrope added a subtask for T197136: Tie certain user rights to elevated security: T425460: Unable to change content model to javascript in mediawiki space.
May 5 2026, 6:36 PM · Patch-For-Review, Security, MediaWiki-User-management
Catrope added a parent task for T425460: Unable to change content model to javascript in mediawiki space: T197136: Tie certain user rights to elevated security.
May 5 2026, 6:36 PM · WikimediaCustomizations, SecTeam-Processed, Security-Team

Apr 28 2026

Catrope added a comment to T424361: Create a value object for cache requests.

Since the key is always required, could we simplify $cache->newCacheCall()->key( $key )->... to $cache->newCacheCall( $key )->... ? Or were you thinking you would handle the local/global key distinction by having the caller call either ->key() or ->globalKey()?

Apr 28 2026, 8:46 PM · MediaWiki-Platform-Team (Radar), MediaWiki-libs-BagOStuff

Apr 27 2026

Catrope added a comment to T424285: Flow ships Handlebars 3.0.0 with known security vulnerabilities.

I don't think these vulnerabilities affect us directly, but it doesn't hurt to upgrade. I've submitted a public patch to upgrade Handlebars at https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Flow/+/1277782 , without reference to security vulnerabilities or to this task. Once that has ridden the train I think we can make this task public.

Apr 27 2026, 11:37 PM · Vuln-VulnComponent, SecTeam-Processed, Security-Team, Security, StructuredDiscussions
Catrope added a member for WMF-NDA: ASanford-WMF.
Apr 27 2026, 7:18 PM

Apr 24 2026

Catrope added a comment to T424313: [MEX] Fixing the failed editTimeDatatype.cy.ts after Codex 2.5.0 upgrade.

Thank you, this was really helpful! It allowed me to track down the bug and upload a fix. I'll get this reviewed soon and do a follow-up release (2.5.1).

Apr 24 2026, 6:50 PM · Wikidata-Omega (Completed Tasks), MW-1.46-notes (1.46.0-wmf.26; 2026-04-28), Wikidata

Apr 23 2026

Catrope added a project to T424285: Flow ships Handlebars 3.0.0 with known security vulnerabilities: Security-Team.
Apr 23 2026, 11:49 PM · Vuln-VulnComponent, SecTeam-Processed, Security-Team, Security, StructuredDiscussions
Catrope changed the visibility for T424285: Flow ships Handlebars 3.0.0 with known security vulnerabilities.
Apr 23 2026, 11:48 PM · Vuln-VulnComponent, SecTeam-Processed, Security-Team, Security, StructuredDiscussions
Catrope removed a project from T424285: Flow ships Handlebars 3.0.0 with known security vulnerabilities: WMF-NDA.
Apr 23 2026, 11:47 PM · Vuln-VulnComponent, SecTeam-Processed, Security-Team, Security, StructuredDiscussions
Catrope added a project to T424285: Flow ships Handlebars 3.0.0 with known security vulnerabilities: Security.
Apr 23 2026, 11:47 PM · Vuln-VulnComponent, SecTeam-Processed, Security-Team, Security, StructuredDiscussions

Apr 21 2026

Catrope reassigned T423537: Site JS reauth hack can be bypassed using 'centralauthtoken' from Catrope to Mstyles.
Apr 21 2026, 5:46 PM · WikimediaCustomizations, Vuln-MissingAuthz, SecTeam-Processed, MediaWiki-Platform-Team, MediaWiki-Core-AuthManager, 2026-user-javascript-incident, Security, Security-Team

Apr 20 2026

Catrope created T423965: "Use your security key or follow your browser's instructions" appears on the login form.
Apr 20 2026, 11:04 PM · MW-1.46-notes (1.46.0-wmf.26; 2026-04-28), Product Safety and Integrity, MediaWiki-extensions-OATHAuth
Catrope added a comment to T420604: Deduplicate CSP between VCL and MediaWiki.

Furthermore, I verified that the correct CSP headers appear at https://en.wikipedia.beta.wmcloud.org/w/?oldid=2 (I remember a bug where the VCL logic doesn't apply to URLs like that), but the old ones appear at https://en.wikipedia.beta.wmcloud.org/w/index.php?oldid=2

Apr 20 2026, 10:29 PM · Traffic, Sustainability (Incident Followup), SecTeam-Processed, ContentSecurityPolicy, 2026-user-javascript-incident, Product Safety and Integrity, Security, Security-Team

Apr 16 2026

Catrope added a comment to T423537: Site JS reauth hack can be bypassed using 'centralauthtoken'.

Relatedly, we plan to do T206012, which in my view means that CentralAuthTokenSessionProvider should never allow editing site JS.

Apr 16 2026, 12:14 AM · WikimediaCustomizations, Vuln-MissingAuthz, SecTeam-Processed, MediaWiki-Platform-Team, MediaWiki-Core-AuthManager, 2026-user-javascript-incident, Security, Security-Team
Catrope added a project to T423537: Site JS reauth hack can be bypassed using 'centralauthtoken': 2026-user-javascript-incident.
Apr 16 2026, 12:11 AM · WikimediaCustomizations, Vuln-MissingAuthz, SecTeam-Processed, MediaWiki-Platform-Team, MediaWiki-Core-AuthManager, 2026-user-javascript-incident, Security, Security-Team

Apr 15 2026

Catrope added a comment to T197137: Editing sitewide JS/CSS pages should require elevated security.

I still prefer the "disable execution of JS from wiki pages" approach (though would it be sufficient?), but if "re-auth" is kept, we could reduce its friction:

  • Ask for re-auth only when publishing, not when opening the edit page.

This is a good idea, and probably the best solution to T423193. This would be a bit complicated because we have to preserve/stash the submitted edit while going through the reauth process, but we will have to do that regardless (to handle the case where your reauth times out after you click edit but before you click submit), and we're already planning to do it soon. I think we should be able to do this in the next month or two.

Apr 15 2026, 8:52 PM · 2026-user-javascript-incident, Security, MediaWiki-User-management, MediaWiki-User-Interface

Apr 14 2026

Catrope updated the task description for T423118: FY25-26 Q4: Phase 1 of 2FA enforcement in Wikimedia production.
Apr 14 2026, 9:05 PM · Product Safety and Integrity (Sprint lily-of-the-valley (May 4 - May 22)), MW-1.46-notes (1.46.0-wmf.24; 2026-04-14), Stewards-and-global-tools
Catrope moved T207557: Don't count initial login as valid for any operation that requires reauth from Inbox to Later sprints on the Product Safety and Integrity board.
Apr 14 2026, 8:59 PM · User-notice, MediaWiki-Platform-Team (Radar), Product Safety and Integrity, Security, Patch-For-Review, Restricted Project, MediaWiki-Core-AuthManager
Catrope added a subtask for T197160: All security-sensitive MediaWiki functionality should require elevated security: T207557: Don't count initial login as valid for any operation that requires reauth.
Apr 14 2026, 8:59 PM · MediaWiki-Platform-Team (Radar), Security, User-Tgr, Epic, MediaWiki-Core-AuthManager
Catrope added a parent task for T207557: Don't count initial login as valid for any operation that requires reauth: T197160: All security-sensitive MediaWiki functionality should require elevated security.
Apr 14 2026, 8:59 PM · User-notice, MediaWiki-Platform-Team (Radar), Product Safety and Integrity, Security, Patch-For-Review, Restricted Project, MediaWiki-Core-AuthManager
Catrope moved T168557: "Keep me logged in" check box shouldn't be shown when a logged-in user is being verified from Inbox to Later sprints on the Product Safety and Integrity board.
Apr 14 2026, 8:58 PM · MW-1.47-notes (1.47.0-wmf.4; 2026-05-26), MediaWiki-Platform-Team (Radar), Product Safety and Integrity, Patch-Needs-Improvement, MediaWiki-Core-AuthManager
Catrope moved T423223: Trying to undelete site JS fails when you need to reauth fails without explaining why from Backlog to Q4 on the 2026-user-javascript-incident board.
Apr 14 2026, 8:55 PM · 2026-user-javascript-incident, Product Safety and Integrity, WikimediaCustomizations
Catrope moved T423223: Trying to undelete site JS fails when you need to reauth fails without explaining why from Inbox to Later sprints on the Product Safety and Integrity board.
Apr 14 2026, 8:55 PM · 2026-user-javascript-incident, Product Safety and Integrity, WikimediaCustomizations
Catrope removed projects from T423223: Trying to undelete site JS fails when you need to reauth fails without explaining why: MW-Interfaces-Team, MediaWiki-Page-deletion.
Apr 14 2026, 8:54 PM · 2026-user-javascript-incident, Product Safety and Integrity, WikimediaCustomizations
Catrope added a comment to T423223: Trying to undelete site JS fails when you need to reauth fails without explaining why.

There are probably other bugs like this, all caused by the fact that the current mechanism for requiring reauth to edit sitewide JS pages is hacky. Integrating reauth into the permissions system (T197136) should fix this category of bugs, and we plan to work on this in the next few months.

Apr 14 2026, 8:54 PM · 2026-user-javascript-incident, Product Safety and Integrity, WikimediaCustomizations
Catrope added a parent task for T423223: Trying to undelete site JS fails when you need to reauth fails without explaining why: T197136: Tie certain user rights to elevated security.
Apr 14 2026, 8:51 PM · 2026-user-javascript-incident, Product Safety and Integrity, WikimediaCustomizations