@codacy/tools-flawfinder-2 0.6.2 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +29 -14
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -84,7 +84,8 @@ var patterns_default = [
|
|
|
84
84
|
title: "Avoid unsafe use of bcopy",
|
|
85
85
|
enabled: false,
|
|
86
86
|
languages: ["C", "CPP"],
|
|
87
|
-
parameters: []
|
|
87
|
+
parameters: [],
|
|
88
|
+
tags: ["cwe120"]
|
|
88
89
|
},
|
|
89
90
|
{
|
|
90
91
|
id: "flawfinder_char",
|
|
@@ -516,7 +517,8 @@ var patterns_default = [
|
|
|
516
517
|
title: "Avoid Unsafe getopt_long Calls",
|
|
517
518
|
enabled: false,
|
|
518
519
|
languages: ["C", "CPP"],
|
|
519
|
-
parameters: []
|
|
520
|
+
parameters: [],
|
|
521
|
+
tags: ["cwe120", "cwe20"]
|
|
520
522
|
},
|
|
521
523
|
{
|
|
522
524
|
id: "flawfinder_getpass",
|
|
@@ -1227,7 +1229,8 @@ var patterns_default = [
|
|
|
1227
1229
|
title: "Avoid insecure usage of snprintf",
|
|
1228
1230
|
enabled: false,
|
|
1229
1231
|
languages: ["C", "CPP"],
|
|
1230
|
-
parameters: []
|
|
1232
|
+
parameters: [],
|
|
1233
|
+
tags: ["cwe134"]
|
|
1231
1234
|
},
|
|
1232
1235
|
{
|
|
1233
1236
|
id: "flawfinder__snprintf",
|
|
@@ -1254,7 +1257,8 @@ var patterns_default = [
|
|
|
1254
1257
|
title: "Avoid Unsafe Use of sprintf",
|
|
1255
1258
|
enabled: false,
|
|
1256
1259
|
languages: ["C", "CPP"],
|
|
1257
|
-
parameters: []
|
|
1260
|
+
parameters: [],
|
|
1261
|
+
tags: ["cwe120"]
|
|
1258
1262
|
},
|
|
1259
1263
|
{
|
|
1260
1264
|
id: "flawfinder_srand",
|
|
@@ -1326,7 +1330,8 @@ var patterns_default = [
|
|
|
1326
1330
|
title: "Avoid Unsafe Use of strcat",
|
|
1327
1331
|
enabled: false,
|
|
1328
1332
|
languages: ["C", "CPP"],
|
|
1329
|
-
parameters: []
|
|
1333
|
+
parameters: [],
|
|
1334
|
+
tags: ["cwe120"]
|
|
1330
1335
|
},
|
|
1331
1336
|
{
|
|
1332
1337
|
id: "flawfinder_StrCatA",
|
|
@@ -1623,7 +1628,8 @@ var patterns_default = [
|
|
|
1623
1628
|
title: "Detect Potential Buffer Overflow in swprintf Calls",
|
|
1624
1629
|
enabled: false,
|
|
1625
1630
|
languages: ["C", "CPP"],
|
|
1626
|
-
parameters: []
|
|
1631
|
+
parameters: [],
|
|
1632
|
+
tags: ["cwe120"]
|
|
1627
1633
|
},
|
|
1628
1634
|
{
|
|
1629
1635
|
id: "flawfinder_syslog",
|
|
@@ -1632,7 +1638,8 @@ var patterns_default = [
|
|
|
1632
1638
|
title: "Avoid Untrusted Input in syslog Format Strings",
|
|
1633
1639
|
enabled: false,
|
|
1634
1640
|
languages: ["C", "CPP"],
|
|
1635
|
-
parameters: []
|
|
1641
|
+
parameters: [],
|
|
1642
|
+
tags: ["cwe134"]
|
|
1636
1643
|
},
|
|
1637
1644
|
{
|
|
1638
1645
|
id: "flawfinder_system",
|
|
@@ -1668,7 +1675,8 @@ var patterns_default = [
|
|
|
1668
1675
|
title: "Avoid Potential Security Problems in TCHAR Calls",
|
|
1669
1676
|
enabled: false,
|
|
1670
1677
|
languages: ["C", "CPP"],
|
|
1671
|
-
parameters: []
|
|
1678
|
+
parameters: [],
|
|
1679
|
+
tags: ["tchar"]
|
|
1672
1680
|
},
|
|
1673
1681
|
{
|
|
1674
1682
|
id: "flawfinder__tcscat",
|
|
@@ -1857,7 +1865,8 @@ var patterns_default = [
|
|
|
1857
1865
|
title: "Avoid insecure usage of vsnprintf",
|
|
1858
1866
|
enabled: false,
|
|
1859
1867
|
languages: ["C", "CPP"],
|
|
1860
|
-
parameters: []
|
|
1868
|
+
parameters: [],
|
|
1869
|
+
tags: ["cwe134"]
|
|
1861
1870
|
},
|
|
1862
1871
|
{
|
|
1863
1872
|
id: "flawfinder__vsntprintf",
|
|
@@ -1875,7 +1884,8 @@ var patterns_default = [
|
|
|
1875
1884
|
title: "Avoid using vsprintf",
|
|
1876
1885
|
enabled: false,
|
|
1877
1886
|
languages: ["C", "CPP"],
|
|
1878
|
-
parameters: []
|
|
1887
|
+
parameters: [],
|
|
1888
|
+
tags: ["cwe120"]
|
|
1879
1889
|
},
|
|
1880
1890
|
{
|
|
1881
1891
|
id: "flawfinder_vsscanf",
|
|
@@ -1884,7 +1894,8 @@ var patterns_default = [
|
|
|
1884
1894
|
title: "Avoid Unsafe vsscanf Usage",
|
|
1885
1895
|
enabled: false,
|
|
1886
1896
|
languages: ["C", "CPP"],
|
|
1887
|
-
parameters: []
|
|
1897
|
+
parameters: [],
|
|
1898
|
+
tags: ["cwe120", "cwe20"]
|
|
1888
1899
|
},
|
|
1889
1900
|
{
|
|
1890
1901
|
id: "flawfinder__vstprintf",
|
|
@@ -1902,7 +1913,8 @@ var patterns_default = [
|
|
|
1902
1913
|
title: "Avoid Unsafe vswprintf Usage",
|
|
1903
1914
|
enabled: false,
|
|
1904
1915
|
languages: ["C", "CPP"],
|
|
1905
|
-
parameters: []
|
|
1916
|
+
parameters: [],
|
|
1917
|
+
tags: ["cwe120"]
|
|
1906
1918
|
},
|
|
1907
1919
|
{
|
|
1908
1920
|
id: "flawfinder_vswscanf",
|
|
@@ -1947,7 +1959,8 @@ var patterns_default = [
|
|
|
1947
1959
|
title: "Avoid Unsafe Usage of wchar_t Arrays",
|
|
1948
1960
|
enabled: false,
|
|
1949
1961
|
languages: ["C", "CPP"],
|
|
1950
|
-
parameters: []
|
|
1962
|
+
parameters: [],
|
|
1963
|
+
tags: ["wchart"]
|
|
1951
1964
|
},
|
|
1952
1965
|
{
|
|
1953
1966
|
id: "flawfinder_wcscat",
|
|
@@ -2019,7 +2032,8 @@ var patterns_default = [
|
|
|
2019
2032
|
title: "Avoid unsafe usage of wscanf with %s specifier",
|
|
2020
2033
|
enabled: false,
|
|
2021
2034
|
languages: ["C", "CPP"],
|
|
2022
|
-
parameters: []
|
|
2035
|
+
parameters: [],
|
|
2036
|
+
tags: ["cwe120", "cwe20"]
|
|
2023
2037
|
},
|
|
2024
2038
|
{
|
|
2025
2039
|
id: "flawfinder__wtoi",
|
|
@@ -2096,6 +2110,7 @@ async function resolveBinaryPath(ctx) {
|
|
|
2096
2110
|
}
|
|
2097
2111
|
var adapter = {
|
|
2098
2112
|
...descriptor,
|
|
2113
|
+
patternsMetadata: patterns_default,
|
|
2099
2114
|
compatibleVersions: ">=2.0.0",
|
|
2100
2115
|
website: "https://dwheeler.com/flawfinder/",
|
|
2101
2116
|
prerequisites: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codacy/tools-flawfinder-2",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Flawfinder adapter — CLI-mode C/C++ security analyzer",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@codacy/tooling": "0.
|
|
11
|
+
"@codacy/tooling": "0.8.0"
|
|
12
12
|
},
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"author": "Codacy <support@codacy.com> (https://www.codacy.com)",
|