cognium-dev 3.186.0 → 3.188.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 +55 -1
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -10614,6 +10614,14 @@ var DEFAULT_SOURCES = [
|
|
|
10614
10614
|
{ annotation: "Cookie", type: "http_cookie", severity: "high", param_tainted: true },
|
|
10615
10615
|
{ annotation: "Form", type: "http_param", severity: "high", param_tainted: true },
|
|
10616
10616
|
{ annotation: "File", type: "file_input", severity: "high", param_tainted: true },
|
|
10617
|
+
{ annotation: "Param", type: "http_path", severity: "high", param_tainted: true },
|
|
10618
|
+
{ annotation: "Req", type: "http_body", severity: "high", param_tainted: true },
|
|
10619
|
+
{ annotation: "Request", type: "http_body", severity: "high", param_tainted: true },
|
|
10620
|
+
{ annotation: "Session", type: "http_cookie", severity: "high", param_tainted: true },
|
|
10621
|
+
{ annotation: "Ip", type: "network_input", severity: "high", param_tainted: true },
|
|
10622
|
+
{ annotation: "HostParam", type: "http_path", severity: "high", param_tainted: true },
|
|
10623
|
+
{ annotation: "UploadedFile", type: "file_input", severity: "high", param_tainted: true },
|
|
10624
|
+
{ annotation: "UploadedFiles", type: "file_input", severity: "high", param_tainted: true },
|
|
10617
10625
|
{ method: "json", class: "Request", type: "http_body", severity: "high", return_tainted: true },
|
|
10618
10626
|
{ method: "form", class: "Request", type: "http_param", severity: "high", return_tainted: true },
|
|
10619
10627
|
{ method: "body", class: "Request", type: "http_body", severity: "high", return_tainted: true },
|
|
@@ -11884,9 +11892,36 @@ var DEFAULT_SINKS = [
|
|
|
11884
11892
|
];
|
|
11885
11893
|
var DEFAULT_SANITIZERS = [
|
|
11886
11894
|
{ method: "setString", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11895
|
+
{ method: "setNString", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11887
11896
|
{ method: "setInt", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11888
11897
|
{ method: "setLong", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11898
|
+
{ method: "setShort", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11899
|
+
{ method: "setByte", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11900
|
+
{ method: "setBoolean", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11901
|
+
{ method: "setDouble", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11902
|
+
{ method: "setFloat", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11903
|
+
{ method: "setBigDecimal", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11904
|
+
{ method: "setBytes", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11905
|
+
{ method: "setDate", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11906
|
+
{ method: "setTime", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11907
|
+
{ method: "setTimestamp", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11908
|
+
{ method: "setObject", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11909
|
+
{ method: "setNull", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11910
|
+
{ method: "setArray", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11911
|
+
{ method: "setBlob", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11912
|
+
{ method: "setClob", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11913
|
+
{ method: "setNClob", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11914
|
+
{ method: "setRef", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11915
|
+
{ method: "setRowId", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11916
|
+
{ method: "setSQLXML", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11917
|
+
{ method: "setURL", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11918
|
+
{ method: "setBinaryStream", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11919
|
+
{ method: "setCharacterStream", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11920
|
+
{ method: "setAsciiStream", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11921
|
+
{ method: "setNCharacterStream", class: "PreparedStatement", removes: ["sql_injection"] },
|
|
11889
11922
|
{ method: "setParameter", class: "Query", removes: ["sql_injection"] },
|
|
11923
|
+
{ method: "setParameter", class: "TypedQuery", removes: ["sql_injection"] },
|
|
11924
|
+
{ method: "addValue", class: "MapSqlParameterSource", removes: ["sql_injection"] },
|
|
11890
11925
|
{ annotation: "Param", removes: ["sql_injection"] },
|
|
11891
11926
|
{ method: "escapeHtml", removes: ["xss"] },
|
|
11892
11927
|
{ method: "encodeForHTML", removes: ["xss"] },
|
|
@@ -11904,6 +11939,25 @@ var DEFAULT_SANITIZERS = [
|
|
|
11904
11939
|
{ method: "render", class: "Template", removes: ["xss"] },
|
|
11905
11940
|
{ method: "encodeForJavaScript", removes: ["xss"] },
|
|
11906
11941
|
{ method: "encodeForCSS", removes: ["xss"] },
|
|
11942
|
+
{ method: "escape", class: "Escaper", removes: ["xss"] },
|
|
11943
|
+
{ method: "escape", class: "HtmlEscapers", removes: ["xss"] },
|
|
11944
|
+
{ method: "escapeJson", class: "StringEscapeUtils", removes: ["xss"] },
|
|
11945
|
+
{ method: "escapeEcmaScript", class: "StringEscapeUtils", removes: ["xss"] },
|
|
11946
|
+
{ method: "escapeXml11", class: "StringEscapeUtils", removes: ["xss"] },
|
|
11947
|
+
{ method: "escapeXml10", class: "StringEscapeUtils", removes: ["xss"] },
|
|
11948
|
+
{ method: "escapeCsv", class: "StringEscapeUtils", removes: ["xss"] },
|
|
11949
|
+
{ method: "escapeXsi", class: "StringEscapeUtils", removes: ["xss"] },
|
|
11950
|
+
{ method: "escapeJava", class: "StringEscapeUtils", removes: ["xss"] },
|
|
11951
|
+
{ method: "escapeJson", removes: ["xss"] },
|
|
11952
|
+
{ method: "escapeEcmaScript", removes: ["xss"] },
|
|
11953
|
+
{ method: "escapeCsv", removes: ["xss"] },
|
|
11954
|
+
{ method: "sanitize", class: "PolicyFactory", removes: ["xss"] },
|
|
11955
|
+
{ method: "encodeToString", class: "Encoder", removes: ["sql_injection", "command_injection", "xss", "path_traversal", "code_injection"] },
|
|
11956
|
+
{ method: "encode", class: "Encoder", removes: ["sql_injection", "command_injection", "xss", "path_traversal", "code_injection"] },
|
|
11957
|
+
{ method: "encodeHexString", class: "Hex", removes: ["sql_injection", "command_injection", "xss", "path_traversal", "code_injection"] },
|
|
11958
|
+
{ method: "digest", class: "MessageDigest", removes: ["sql_injection", "command_injection", "xss", "path_traversal", "code_injection"] },
|
|
11959
|
+
{ method: "encodeToString", removes: ["sql_injection", "command_injection", "xss", "path_traversal", "code_injection"] },
|
|
11960
|
+
{ method: "encodeHexString", removes: ["sql_injection", "command_injection", "xss", "path_traversal", "code_injection"] },
|
|
11907
11961
|
{ method: "encodeForURL", removes: ["xss", "ssrf", "open_redirect"] },
|
|
11908
11962
|
{ method: "encodeURL", removes: ["xss", "ssrf", "open_redirect"] },
|
|
11909
11963
|
{ method: "urlEncode", removes: ["xss", "ssrf", "open_redirect"] },
|
|
@@ -45846,7 +45900,7 @@ var colors = {
|
|
|
45846
45900
|
};
|
|
45847
45901
|
|
|
45848
45902
|
// src/version.ts
|
|
45849
|
-
var version = "3.
|
|
45903
|
+
var version = "3.188.0";
|
|
45850
45904
|
|
|
45851
45905
|
// src/formatters.ts
|
|
45852
45906
|
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.188.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.188.0"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@types/node": "^25.5.0",
|