Skip to content

Commit

Permalink
chore: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
gotbadger committed Feb 21, 2023
1 parent dbbdf04 commit 246e5cb
Show file tree
Hide file tree
Showing 171 changed files with 343 additions and 343 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
warning:
- rule_dsrid: ""
rule_display_id: javascript_express_exposed_dir_listing
rule_description: Ensure directory listing is not inappropriately exposed.
rule_description: Missing access restriction to directory listing detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_express_exposed_dir_listing
line_number: 5
filename: serve_index_in_app_use.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
low:
- rule_dsrid: DSR-3
rule_display_id: express_insecure_cookie
rule_description: Ensure cookies are sent over HTTPS.
rule_description: Missing secure options for cookie detected.
rule_documentation_url: https://curio.sh/reference/rules/express_insecure_cookie
line_number: 9
filename: http_only.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
low:
- rule_dsrid: DSR-3
rule_display_id: express_insecure_cookie
rule_description: Ensure cookies are sent over HTTPS.
rule_description: Missing secure options for cookie detected.
rule_documentation_url: https://curio.sh/reference/rules/express_insecure_cookie
line_number: 9
filename: insecure_cookie.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
low:
- rule_dsrid: DSR-3
rule_display_id: express_insecure_xml_ref
rule_description: Ensure proper restriction of XML external entity references.
rule_description: Missing proper restriction of XML external entity references detected.
rule_documentation_url: https://curio.sh/reference/rules/express_insecure_xml_ref
line_number: 4
filename: lib_xml_with_noent_true.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
critical:
- rule_dsrid: DSR-5
rule_display_id: javascript_lang_exception
rule_description: Do not send sensitive data to exceptions.
rule_description: Sensitive data in a exception message detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_lang_exception
line_number: 5
filename: promise_reject.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
critical:
- rule_dsrid: DSR-5
rule_display_id: javascript_lang_exception
rule_description: Do not send sensitive data to exceptions.
rule_description: Sensitive data in a exception message detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_lang_exception
line_number: 5
filename: reject.js
Expand All @@ -11,7 +11,7 @@ critical:
parent_content: reject("Error with user " + user)
- rule_dsrid: DSR-5
rule_display_id: javascript_lang_exception
rule_description: Do not send sensitive data to exceptions.
rule_description: Sensitive data in a exception message detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_lang_exception
line_number: 14
filename: reject.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
critical:
- rule_dsrid: DSR-5
rule_display_id: javascript_lang_exception
rule_description: Do not send sensitive data to exceptions.
rule_description: Sensitive data in a exception message detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_lang_exception
line_number: 5
filename: throw_custom_exception.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
critical:
- rule_dsrid: DSR-5
rule_display_id: javascript_lang_exception
rule_description: Do not send sensitive data to exceptions.
rule_description: Sensitive data in a exception message detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_lang_exception
line_number: 5
filename: throw_string.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
critical:
- rule_dsrid: DSR-4
rule_display_id: javascript_lang_file_generation
rule_description: Do not write sensitive data to static files.
rule_description: Sensitive data detected as part of a dynamic file generation.
rule_documentation_url: https://curio.sh/reference/rules/javascript_lang_file_generation
line_number: 8
filename: file_generation.js
Expand All @@ -15,7 +15,7 @@ critical:
})
- rule_dsrid: DSR-4
rule_display_id: javascript_lang_file_generation
rule_description: Do not write sensitive data to static files.
rule_description: Sensitive data detected as part of a dynamic file generation.
rule_documentation_url: https://curio.sh/reference/rules/javascript_lang_file_generation
line_number: 11
filename: file_generation.js
Expand All @@ -29,7 +29,7 @@ critical:
})
- rule_dsrid: DSR-4
rule_display_id: javascript_lang_file_generation
rule_description: Do not write sensitive data to static files.
rule_description: Sensitive data detected as part of a dynamic file generation.
rule_documentation_url: https://curio.sh/reference/rules/javascript_lang_file_generation
line_number: 12
filename: file_generation.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
low:
- rule_dsrid: DSR-5
rule_display_id: javascript_http_insecure
rule_description: Only communicate using HTTPS connections.
rule_description: Connection with an unsecure HTTP communication detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_http_insecure
line_number: 2
filename: axios_insecure.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
low:
- rule_dsrid: DSR-5
rule_display_id: javascript_http_insecure
rule_description: Only communicate using HTTPS connections.
rule_description: Connection with an unsecure HTTP communication detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_http_insecure
line_number: 3
filename: fetch_insecure.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
low:
- rule_dsrid: DSR-5
rule_display_id: javascript_http_insecure
rule_description: Only communicate using HTTPS connections.
rule_description: Connection with an unsecure HTTP communication detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_http_insecure
line_number: 5
filename: request_insecure.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
low:
- rule_dsrid: DSR-5
rule_display_id: javascript_jwt
rule_description: Do not store sensitive data in jwt.
rule_description: Sensitive data in a JWT detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_jwt
line_number: 2
filename: unsecure.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
low:
- rule_dsrid: DSR-5
rule_display_id: javascript_lang_logger
rule_description: Do not send sensitive data to loggers.
rule_description: Sensitive data in a logger message detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_lang_logger
line_number: 3
filename: child.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
critical:
- rule_dsrid: DSR-5
rule_display_id: javascript_lang_logger
rule_description: Do not send sensitive data to loggers.
rule_description: Sensitive data in a logger message detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_lang_logger
line_number: 3
filename: child_level.js
Expand All @@ -11,7 +11,7 @@ critical:
parent_content: logger.child(ctx)
- rule_dsrid: DSR-5
rule_display_id: javascript_lang_logger
rule_description: Do not send sensitive data to loggers.
rule_description: Sensitive data in a logger message detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_lang_logger
line_number: 7
filename: child_level.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
critical:
- rule_dsrid: DSR-5
rule_display_id: javascript_lang_logger
rule_description: Do not send sensitive data to loggers.
rule_description: Sensitive data in a logger message detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_lang_logger
line_number: 1
filename: console.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
critical:
- rule_dsrid: DSR-5
rule_display_id: javascript_lang_logger
rule_description: Do not send sensitive data to loggers.
rule_description: Sensitive data in a logger message detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_lang_logger
line_number: 1
filename: datatype_leak.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
critical:
- rule_dsrid: DSR-5
rule_display_id: javascript_lang_logger
rule_description: Do not send sensitive data to loggers.
rule_description: Sensitive data in a logger message detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_lang_logger
line_number: 1
filename: log.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
critical:
- rule_dsrid: DSR-5
rule_display_id: javascript_session
rule_description: Do not set sensitive data to session.
rule_description: Sensitive data stored in HTML local storage detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_session
line_number: 1
filename: session_leak.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
critical:
- rule_dsrid: DSR-5
rule_display_id: javascript_weak_encryption
rule_description: Do not weak encrypt sensitive information
rule_description: Weak encryption library usage detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_weak_encryption
line_number: 4
filename: md5.js
Expand All @@ -11,7 +11,7 @@ critical:
parent_content: crypto.createHmac("md5", key).update(user.password)
- rule_dsrid: DSR-5
rule_display_id: javascript_weak_encryption
rule_description: Do not weak encrypt sensitive information
rule_description: Weak encryption library usage detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_weak_encryption
line_number: 5
filename: md5.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
critical:
- rule_dsrid: DSR-5
rule_display_id: javascript_weak_encryption
rule_description: Do not weak encrypt sensitive information
rule_description: Weak encryption library usage detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_weak_encryption
line_number: 4
filename: sha1.js
Expand All @@ -11,7 +11,7 @@ critical:
parent_content: crypto.createHmac("sha1", key).update(user.password)
- rule_dsrid: DSR-5
rule_display_id: javascript_weak_encryption
rule_description: Do not weak encrypt sensitive information
rule_description: Weak encryption library usage detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_weak_encryption
line_number: 5
filename: sha1.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
critical:
- rule_dsrid: DSR-1
rule_display_id: javascript_react_google_analytics
rule_description: Do not send sensitive data to Google Analytics.
rule_description: Sensitive data sent to Google Analytics detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_react_google_analytics
line_number: 1
filename: insecure.js
Expand All @@ -16,7 +16,7 @@ critical:
})
- rule_dsrid: DSR-1
rule_display_id: javascript_react_google_analytics
rule_description: Do not send sensitive data to Google Analytics.
rule_description: Sensitive data sent to Google Analytics detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_react_google_analytics
line_number: 5
filename: insecure.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
high:
- rule_dsrid: DSR-1
rule_display_id: javascript_third_parties_airbrake
rule_description: Do not send sensitive data to Airbrake.
rule_description: Sensitive data sent to Airbrake detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_third_parties_airbrake
line_number: 18
filename: datatype_in_notify.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
critical:
- rule_dsrid: DSR-6
rule_display_id: javascript_third_parties_algolia
rule_description: Do not store sensitive data in Algolia.
rule_description: Sensitive data sent to Algolia detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_third_parties_algolia
line_number: 4
filename: datatype_in_index.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
critical:
- rule_dsrid: DSR-6
rule_display_id: javascript_third_parties_algolia
rule_description: Do not store sensitive data in Algolia.
rule_description: Sensitive data sent to Algolia detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_third_parties_algolia
line_number: 7
filename: datatype_in_save_object.js
Expand All @@ -14,7 +14,7 @@ critical:
.saveObject(userObj, { autoGenerateObjectIDIfNotExist: true })
- rule_dsrid: DSR-6
rule_display_id: javascript_third_parties_algolia
rule_description: Do not store sensitive data in Algolia.
rule_description: Sensitive data sent to Algolia detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_third_parties_algolia
line_number: 12
filename: datatype_in_save_object.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
critical:
- rule_dsrid: DSR-1
rule_display_id: javascript_third_parties_bugsnag
rule_description: Do not send sensitive data to Bugsnag.
rule_description: Sensitive data sent to Bugsnag detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_third_parties_bugsnag
line_number: 1
filename: datatype_in_breadcrumb.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
high:
- rule_dsrid: DSR-1
rule_display_id: javascript_third_parties_bugsnag
rule_description: Do not send sensitive data to Bugsnag.
rule_description: Sensitive data sent to Bugsnag detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_third_parties_bugsnag
line_number: 5
filename: datatype_in_notify.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
critical:
- rule_dsrid: DSR-1
rule_display_id: javascript_third_parties_bugsnag
rule_description: Do not send sensitive data to Bugsnag.
rule_description: Sensitive data sent to Bugsnag detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_third_parties_bugsnag
line_number: 4
filename: datatype_in_session.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
critical:
- rule_dsrid: DSR-1
rule_display_id: javascript_third_parties_bugsnag
rule_description: Do not send sensitive data to Bugsnag.
rule_description: Sensitive data sent to Bugsnag detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_third_parties_bugsnag
line_number: 3
filename: datatype_in_start.js
Expand All @@ -22,7 +22,7 @@ critical:
})
- rule_dsrid: DSR-1
rule_display_id: javascript_third_parties_bugsnag
rule_description: Do not send sensitive data to Bugsnag.
rule_description: Sensitive data sent to Bugsnag detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_third_parties_bugsnag
line_number: 5
filename: datatype_in_start.js
Expand All @@ -43,7 +43,7 @@ critical:
})
- rule_dsrid: DSR-1
rule_display_id: javascript_third_parties_bugsnag
rule_description: Do not send sensitive data to Bugsnag.
rule_description: Sensitive data sent to Bugsnag detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_third_parties_bugsnag
line_number: 9
filename: datatype_in_start.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
critical:
- rule_dsrid: DSR-1
rule_display_id: javascript_third_parties_datadog
rule_description: Do not send sensitive data to Datadog.
rule_description: Sensitive data sent to Datadog detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_third_parties_datadog
line_number: 3
filename: unsecure.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
low:
- rule_dsrid: DSR-1
rule_display_id: javascript_third_parties_datadog_browser
rule_description: Do not send sensitive data to Datadog.
rule_description: Sensitive data sent to Datadog detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_third_parties_datadog_browser
line_number: 2
filename: unsecure.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
critical:
- rule_dsrid: DSR-1
rule_display_id: javascript_elasticsearch
rule_description: Do not send sensitive data to ElasticSearch.
rule_description: Sensitive data sent to ElasticSearch detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_elasticsearch
line_number: 1
filename: unsecure.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
low:
- rule_dsrid: DSR-1
rule_display_id: javascript_google_analytics
rule_description: Do not send sensitive data to Google Analytics.
rule_description: Sensitive data sent to Google Analytic detected.
rule_documentation_url: https://curio.sh/reference/rules/javascript_google_analytics
line_number: 3
filename: unsecure.js
Expand Down
Loading

0 comments on commit 246e5cb

Please sign in to comment.