diff --git a/rules/javascript/lang/dynamic_os_command.yml b/rules/javascript/lang/dynamic_os_command.yml index 1541c4362..759ee6c52 100644 --- a/rules/javascript/lang/dynamic_os_command.yml +++ b/rules/javascript/lang/dynamic_os_command.yml @@ -20,7 +20,7 @@ patterns: detection: javascript_lang_dynamic_os_command_dynamic_input scope: cursor - pattern: | - $$($<...>$$<...>) + $.$($<...>$$<...>) filters: - variable: CHILD_PROCESS detection: javascript_lang_dynamic_os_command_child_process