diff --git a/assets/semgrep_rules/web/nodejs-insecure-url-parse b/assets/semgrep_rules/web/nodejs-insecure-url-parse.yaml similarity index 96% rename from assets/semgrep_rules/web/nodejs-insecure-url-parse rename to assets/semgrep_rules/web/nodejs-insecure-url-parse.yaml index 8a3e3ae5..f21669f4 100644 --- a/assets/semgrep_rules/web/nodejs-insecure-url-parse +++ b/assets/semgrep_rules/web/nodejs-insecure-url-parse.yaml @@ -10,5 +10,6 @@ rules: - pattern: url.parse(...) - pattern: require('url').parse(...) message: Avoid using url.parse() as it may cause security issues. Consider using the URL class instead. + severity: ERROR languages: - javascript