From a1af8639c27bcb19ed8f5165ed1706d59a393d1d Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Fri, 19 Nov 2021 08:37:29 +0000 Subject: [PATCH] Bug 1738988 - mozlint: run trojan-source in the CI r=linter-reviewers,ahal DONTBUILD Depends on D131086 Differential Revision: https://phabricator.services.mozilla.com/D131087 --- taskcluster/ci/source-test/mozlint.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/taskcluster/ci/source-test/mozlint.yml b/taskcluster/ci/source-test/mozlint.yml index e1d2965bb936..b515a2ccc694 100644 --- a/taskcluster/ci/source-test/mozlint.yml +++ b/taskcluster/ci/source-test/mozlint.yml @@ -484,3 +484,20 @@ fluent-lint: - '**/*.ftl' - 'tools/lint/fluent-lint.yml' - 'tools/lint/fluent-lint/exclusions.yml' + +trojan-source: + description: Trojan Source attack - CVE-2021-42572 + platform: lint/opt + treeherder: + symbol: misc(trojan-source) + run: + mach: lint -v -l trojan-source -f treeherder -f json:/builds/worker/mozlint.json * + when: + files-changed: + - '**/*.c' + - '**/*.cc' + - '**/*.cpp' + - '**/*.h' + - '**/*.py' + - '**/*.rs' + - 'tools/lint/trojan-source.yml'