cognium-dev 3.189.0 → 3.191.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 +30 -3
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -10665,6 +10665,14 @@ var DEFAULT_SOURCES = [
|
|
|
10665
10665
|
{ method: "text", class: "Request", type: "http_body", severity: "high", return_tainted: true },
|
|
10666
10666
|
{ property: "query", object: "request", type: "http_param", severity: "high", property_tainted: true },
|
|
10667
10667
|
{ property: "match_info", object: "request", type: "http_path", severity: "high", property_tainted: true },
|
|
10668
|
+
{ property: "rel_url", object: "request", type: "http_body", severity: "high", property_tainted: true },
|
|
10669
|
+
{ property: "remote", object: "request", type: "network_input", severity: "high", property_tainted: true },
|
|
10670
|
+
{ property: "raw_headers", object: "request", type: "http_header", severity: "high", property_tainted: true },
|
|
10671
|
+
{ property: "transport", object: "request", type: "network_input", severity: "medium", property_tainted: true },
|
|
10672
|
+
{ method: "get_json", class: "Request", type: "http_body", severity: "high", return_tainted: true },
|
|
10673
|
+
{ method: "get_data", class: "Request", type: "http_body", severity: "high", return_tainted: true },
|
|
10674
|
+
{ method: "form", class: "Request", type: "http_param", severity: "high", return_tainted: true },
|
|
10675
|
+
{ method: "files", class: "Request", type: "file_input", severity: "high", return_tainted: true },
|
|
10668
10676
|
{ method: "query_string", class: "HttpRequest", type: "http_param", severity: "high", return_tainted: true },
|
|
10669
10677
|
{ method: "match_info", class: "HttpRequest", type: "http_param", severity: "high", return_tainted: true },
|
|
10670
10678
|
{ method: "into_inner", class: "Path", type: "http_param", severity: "high", return_tainted: true },
|
|
@@ -10777,6 +10785,11 @@ var DEFAULT_SOURCES = [
|
|
|
10777
10785
|
{ method: "get", class: "Jedis", type: "db_input", severity: "medium", return_tainted: true, languages: ["java"] },
|
|
10778
10786
|
{ method: "hget", class: "Jedis", type: "db_input", severity: "medium", return_tainted: true, languages: ["java"] },
|
|
10779
10787
|
{ method: "mget", class: "Jedis", type: "db_input", severity: "medium", return_tainted: true, languages: ["java"] },
|
|
10788
|
+
{ property: "nextUrl", object: "req", type: "http_body", severity: "high", property_tainted: true, languages: ["javascript", "typescript"] },
|
|
10789
|
+
{ property: "nextUrl", object: "request", type: "http_body", severity: "high", property_tainted: true, languages: ["javascript", "typescript"] },
|
|
10790
|
+
{ property: "snapshot", object: "route", type: "http_path", severity: "high", property_tainted: true, languages: ["javascript", "typescript"] },
|
|
10791
|
+
{ property: "paramMap", object: "route", type: "http_path", severity: "high", property_tainted: true, languages: ["javascript", "typescript"] },
|
|
10792
|
+
{ property: "queryParamMap", object: "route", type: "http_param", severity: "high", property_tainted: true, languages: ["javascript", "typescript"] },
|
|
10780
10793
|
{ property: "body", object: "event", type: "http_body", severity: "high", property_tainted: true, languages: ["javascript", "typescript"] },
|
|
10781
10794
|
{ property: "queryStringParameters", object: "event", type: "http_query", severity: "high", property_tainted: true, languages: ["javascript", "typescript"] },
|
|
10782
10795
|
{ property: "multiValueQueryStringParameters", object: "event", type: "http_query", severity: "high", property_tainted: true, languages: ["javascript", "typescript"] },
|
|
@@ -24842,7 +24855,16 @@ var JS_TAINTED_PATTERNS = [
|
|
|
24842
24855
|
{ pattern: /\bevent\.multiValueQueryStringParameters\b/, type: "http_param" },
|
|
24843
24856
|
{ pattern: /\bevent\.pathParameters\b/, type: "http_path" },
|
|
24844
24857
|
{ pattern: /\bevent\.headers\b/, type: "http_header" },
|
|
24845
|
-
{ pattern: /\bevent\.multiValueHeaders\b/, type: "http_header" }
|
|
24858
|
+
{ pattern: /\bevent\.multiValueHeaders\b/, type: "http_header" },
|
|
24859
|
+
{ pattern: /\breq(?:uest)?\.nextUrl\b/, type: "http_body" },
|
|
24860
|
+
{ pattern: /\.searchParams\s*\.\s*get\b/, type: "http_param" },
|
|
24861
|
+
{ pattern: /\bevent\.params\b/, type: "http_path" },
|
|
24862
|
+
{ pattern: /\bevent\.url\b/, type: "http_body" },
|
|
24863
|
+
{ pattern: /\bevent\.request\b/, type: "http_body" },
|
|
24864
|
+
{ pattern: /\broute\.snapshot\.params\b/, type: "http_path" },
|
|
24865
|
+
{ pattern: /\broute\.snapshot\.queryParams\b/, type: "http_param" },
|
|
24866
|
+
{ pattern: /\broute\.paramMap\b/, type: "http_path" },
|
|
24867
|
+
{ pattern: /\broute\.queryParamMap\b/, type: "http_param" }
|
|
24846
24868
|
];
|
|
24847
24869
|
var PYTHON_TAINTED_PATTERNS2 = [
|
|
24848
24870
|
{ pattern: /\brequest\.args\b/, type: "http_param" },
|
|
@@ -24867,7 +24889,12 @@ var PYTHON_TAINTED_PATTERNS2 = [
|
|
|
24867
24889
|
{ pattern: /\binput\s*\(/, type: "io_input" },
|
|
24868
24890
|
{ pattern: /\.receive_text\s*\(/, type: "network_input" },
|
|
24869
24891
|
{ pattern: /\.receive_bytes\s*\(/, type: "network_input" },
|
|
24870
|
-
{ pattern: /\.receive_json\s*\(/, type: "http_body" }
|
|
24892
|
+
{ pattern: /\.receive_json\s*\(/, type: "http_body" },
|
|
24893
|
+
{ pattern: /\brequest\.rel_url\b/, type: "http_body" },
|
|
24894
|
+
{ pattern: /\brequest\.remote\b/, type: "network_input" },
|
|
24895
|
+
{ pattern: /\brequest\.match_info\b/, type: "http_path" },
|
|
24896
|
+
{ pattern: /\.get_json\s*\(/, type: "http_body" },
|
|
24897
|
+
{ pattern: /\.get_data\s*\(/, type: "http_body" }
|
|
24871
24898
|
];
|
|
24872
24899
|
|
|
24873
24900
|
class LanguageSourcesPass {
|
|
@@ -45953,7 +45980,7 @@ var colors = {
|
|
|
45953
45980
|
};
|
|
45954
45981
|
|
|
45955
45982
|
// src/version.ts
|
|
45956
|
-
var version = "3.
|
|
45983
|
+
var version = "3.191.0";
|
|
45957
45984
|
|
|
45958
45985
|
// src/formatters.ts
|
|
45959
45986
|
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.191.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.191.0"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@types/node": "^25.5.0",
|