cognium-dev 3.187.0 → 3.189.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/cli.js +63 -2
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -9558,7 +9558,24 @@ var GO_OPAQUE_CODEC_METHODS = new Set([
|
|
|
9558
9558
|
"UnmarshalYAML",
|
|
9559
9559
|
"UnmarshalJSON",
|
|
9560
9560
|
"UnmarshalText",
|
|
9561
|
-
"UnmarshalBinary"
|
|
9561
|
+
"UnmarshalBinary",
|
|
9562
|
+
"BindJSON",
|
|
9563
|
+
"ShouldBindJSON",
|
|
9564
|
+
"Bind",
|
|
9565
|
+
"ShouldBind",
|
|
9566
|
+
"BindQuery",
|
|
9567
|
+
"ShouldBindQuery",
|
|
9568
|
+
"BindUri",
|
|
9569
|
+
"ShouldBindUri",
|
|
9570
|
+
"BindXML",
|
|
9571
|
+
"ShouldBindXML",
|
|
9572
|
+
"BindYAML",
|
|
9573
|
+
"ShouldBindYAML",
|
|
9574
|
+
"BindHeader",
|
|
9575
|
+
"ShouldBindHeader",
|
|
9576
|
+
"BodyParser",
|
|
9577
|
+
"QueryParser",
|
|
9578
|
+
"ParamsParser"
|
|
9562
9579
|
]);
|
|
9563
9580
|
function recordGoOpaqueCodecDestDef(call, defs, scopeStack) {
|
|
9564
9581
|
const fn = call.childForFieldName("function");
|
|
@@ -10614,6 +10631,14 @@ var DEFAULT_SOURCES = [
|
|
|
10614
10631
|
{ annotation: "Cookie", type: "http_cookie", severity: "high", param_tainted: true },
|
|
10615
10632
|
{ annotation: "Form", type: "http_param", severity: "high", param_tainted: true },
|
|
10616
10633
|
{ annotation: "File", type: "file_input", severity: "high", param_tainted: true },
|
|
10634
|
+
{ annotation: "Param", type: "http_path", severity: "high", param_tainted: true },
|
|
10635
|
+
{ annotation: "Req", type: "http_body", severity: "high", param_tainted: true },
|
|
10636
|
+
{ annotation: "Request", type: "http_body", severity: "high", param_tainted: true },
|
|
10637
|
+
{ annotation: "Session", type: "http_cookie", severity: "high", param_tainted: true },
|
|
10638
|
+
{ annotation: "Ip", type: "network_input", severity: "high", param_tainted: true },
|
|
10639
|
+
{ annotation: "HostParam", type: "http_path", severity: "high", param_tainted: true },
|
|
10640
|
+
{ annotation: "UploadedFile", type: "file_input", severity: "high", param_tainted: true },
|
|
10641
|
+
{ annotation: "UploadedFiles", type: "file_input", severity: "high", param_tainted: true },
|
|
10617
10642
|
{ method: "json", class: "Request", type: "http_body", severity: "high", return_tainted: true },
|
|
10618
10643
|
{ method: "form", class: "Request", type: "http_param", severity: "high", return_tainted: true },
|
|
10619
10644
|
{ method: "body", class: "Request", type: "http_body", severity: "high", return_tainted: true },
|
|
@@ -10686,6 +10711,42 @@ var DEFAULT_SOURCES = [
|
|
|
10686
10711
|
{ method_annotation: "GraphQLMutation", type: "http_body", severity: "high", languages: ["java"] },
|
|
10687
10712
|
{ annotation: "InputArgument", type: "http_param", severity: "high", param_tainted: true, languages: ["java"] },
|
|
10688
10713
|
{ annotation: "GraphQLArgument", type: "http_param", severity: "high", param_tainted: true, languages: ["java"] },
|
|
10714
|
+
{ method: "Query", class: "Context", type: "http_param", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10715
|
+
{ method: "Param", class: "Context", type: "http_path", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10716
|
+
{ method: "PostForm", class: "Context", type: "http_body", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10717
|
+
{ method: "GetHeader", class: "Context", type: "http_header", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10718
|
+
{ method: "Cookie", class: "Context", type: "http_cookie", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10719
|
+
{ method: "FormFile", class: "Context", type: "file_input", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10720
|
+
{ method: "BindJSON", class: "Context", type: "http_body", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10721
|
+
{ method: "ShouldBindJSON", class: "Context", type: "http_body", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10722
|
+
{ method: "Bind", class: "Context", type: "http_body", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10723
|
+
{ method: "BindQuery", class: "Context", type: "http_param", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10724
|
+
{ method: "ShouldBindQuery", class: "Context", type: "http_param", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10725
|
+
{ method: "BindUri", class: "Context", type: "http_path", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10726
|
+
{ method: "ShouldBindUri", class: "Context", type: "http_path", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10727
|
+
{ method: "MultipartForm", class: "Context", type: "http_body", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10728
|
+
{ method: "QueryParam", class: "Context", type: "http_param", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10729
|
+
{ method: "QueryParams", class: "Context", type: "http_param", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10730
|
+
{ method: "FormValue", class: "Context", type: "http_body", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10731
|
+
{ method: "FormParams", class: "Context", type: "http_body", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10732
|
+
{ method: "FormFile", class: "Context", type: "file_input", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10733
|
+
{ method: "Query", class: "Ctx", type: "http_param", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10734
|
+
{ method: "Params", class: "Ctx", type: "http_path", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10735
|
+
{ method: "FormValue", class: "Ctx", type: "http_body", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10736
|
+
{ method: "FormFile", class: "Ctx", type: "file_input", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10737
|
+
{ method: "Cookies", class: "Ctx", type: "http_cookie", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10738
|
+
{ method: "Get", class: "Ctx", type: "http_header", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10739
|
+
{ method: "Body", class: "Ctx", type: "http_body", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10740
|
+
{ method: "BodyParser", class: "Ctx", type: "http_body", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10741
|
+
{ method: "QueryParser", class: "Ctx", type: "http_param", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10742
|
+
{ method: "ParamsParser", class: "Ctx", type: "http_path", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10743
|
+
{ method: "URLParam", class: "chi", type: "http_path", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10744
|
+
{ method: "URLParamFromCtx", class: "chi", type: "http_path", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10745
|
+
{ method: "Vars", class: "mux", type: "http_path", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10746
|
+
{ method: "Query", class: "Input", type: "http_param", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10747
|
+
{ method: "Param", class: "Input", type: "http_path", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10748
|
+
{ method: "Header", class: "Input", type: "http_header", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10749
|
+
{ method: "Cookie", class: "Input", type: "http_cookie", severity: "high", return_tainted: true, languages: ["go"] },
|
|
10689
10750
|
{ method: "invocation_metadata", type: "http_header", severity: "high", return_tainted: true, languages: ["python"] },
|
|
10690
10751
|
{ method: "get", class: "Metadata", type: "http_header", severity: "high", return_tainted: true, languages: ["javascript", "typescript"] },
|
|
10691
10752
|
{ method: "getMap", class: "Metadata", type: "http_header", severity: "high", return_tainted: true, languages: ["javascript", "typescript"] },
|
|
@@ -45892,7 +45953,7 @@ var colors = {
|
|
|
45892
45953
|
};
|
|
45893
45954
|
|
|
45894
45955
|
// src/version.ts
|
|
45895
|
-
var version = "3.
|
|
45956
|
+
var version = "3.189.0";
|
|
45896
45957
|
|
|
45897
45958
|
// src/formatters.ts
|
|
45898
45959
|
var LIBRARY_API_SURFACE_TAG2 = "library-api-surface:caller-responsibility";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cognium-dev",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.189.0",
|
|
4
4
|
"description": "Static Application Security Testing CLI for detecting security vulnerabilities via taint tracking",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@cognium/project-profile-detect": "^1.1.0",
|
|
69
|
-
"circle-ir": "^3.
|
|
69
|
+
"circle-ir": "^3.189.0"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@types/node": "^25.5.0",
|