summaryrefslogtreecommitdiffstats
path: root/comm/tools/lint/trojan-source.yml
diff options
context:
space:
mode:
Diffstat (limited to 'comm/tools/lint/trojan-source.yml')
-rw-r--r--comm/tools/lint/trojan-source.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/comm/tools/lint/trojan-source.yml b/comm/tools/lint/trojan-source.yml
new file mode 100644
index 0000000000..ba030bff28
--- /dev/null
+++ b/comm/tools/lint/trojan-source.yml
@@ -0,0 +1,17 @@
+---
+trojan-source:
+ description: Trojan Source attack - CVE-2021-42572
+ include:
+ - comm/
+ extensions:
+ - .c
+ - .cc
+ - .cpp
+ - .h
+ - .py
+ - .rs
+ support-files:
+ - 'tools/lint/trojan-source/**'
+ type: external
+ payload: commlint:lint_wrapper
+ wraps: trojan-source:lint