Page MenuHomePhabricator

Enable seccheck for MW core
Closed, ResolvedPublic

Description

The config was added in T203630, and as of July we had 187 warnings, reported at T216348#5332594. As I wrote there, I'd suggest to wait for seccheck 3.0 before moving on, and start with DoubleEscaped checks disabled, if there'll still be too many of them.

Event Timeline

sbassett triaged this task as Medium priority.Oct 15 2019, 7:07 PM

FTR: I think the target version for this should be the next major version of taint-check. Lately, I've been focusing on core issues, so several false positives are now gone. I think a necessary (and perhaps also sufficient) condition is to have https://gerrit.wikimedia.org/r/#/c/mediawiki/tools/phan/SecurityCheckPlugin/+/605551/ included in the target version.

Change 652553 had a related patch set uploaded (by Umherirrender; owner: Umherirrender):
[mediawiki/core@master] build: Enable phan-taint-check-plugin and suppress issues

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

Change 652574 had a related patch set uploaded (by Umherirrender; owner: Umherirrender):
[mediawiki/core@master] build: Enable SecurityCheck-DoubleEscaped and suppress issues

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

Change 652574 merged by jenkins-bot:
[mediawiki/core@master] build: Enable SecurityCheck-DoubleEscaped and suppress issues

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

Do we want to keep this open for the tree of sub-tasks?

Do we want to keep this open for the tree of sub-tasks?

It's done now, I would close it. The sub task needs to be work on even if this is resolved or open

Daimona assigned this task to Umherirrender.

Do we want to keep this open for the tree of sub-tasks?

It's done now, I would close it. The sub task needs to be work on even if this is resolved or open

Agreed.