File tree Expand file tree Collapse file tree 7 files changed +25
-5
lines changed
tests/npm/2024.testerrrrrrrrrr Expand file tree Collapse file tree 7 files changed +25
-5
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,7 @@ rule unsigned_bitwise_math_excess: high {
141141 $ not_elastic1 = " /*! Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one or more contributor license agreements. "
142142 $ not_elastic2 = " * Licensed under the Elastic License 2.0; you may not use this file except in compliance with the Elastic License 2.0. */ "
143143 $ not_webpack = " webpack-api-runtime.js " fullword
144+ $ not_wso2is = " (self.webpackChunk_wso2is_console=self.webpackChunk_wso2is_console||[]) "
144145
145146 condition :
146147 filesize < 5MB and $ function and $ charAt and (# left > 50 or # right > 50 ) and none of ($ not * )
Original file line number Diff line number Diff line change 11import " math "
22
3- rule decode_url_component_char_code : high {
3+ rule decode_url_component_char_code : medium {
44 meta :
55 description = " decodes obfuscated URL components "
66 filetypes = " js,ts "
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ rule readdir_dlsym_interceptor: high {
5858 $ f_readlink_maybe_not_needed = " readlink "
5959 $ f_proc = " /proc "
6060
61- $ not_j9 = " j9port_ " fullword
61+ $ not_j9 = " j9port_ "
6262 $ not_sbcl = " SBCL_HOME " fullword
6363
6464 condition :
Original file line number Diff line number Diff line change @@ -5,8 +5,9 @@ rule fastfetch_override: override {
55 proc_d_exe_high = " medium "
66
77 strings :
8- $ repo = " https://github.com/fastfetch-cli/fastfetch "
8+ $ fastfetch = " fastfetch/packages/%s.txt "
9+ $ repo = " https://github.com/fastfetch-cli/fastfetch "
910
1011 condition :
11- $ repo
12+ any of them
1213 }
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ rule vimeo_psalm_md_php_override: override {
22 meta :
33 description = " Psalm MD files with PHP code excerpts "
44 SIGNATURE_BASE_WEBSHELL_PHP_Dynamic = " harmless "
5+ SIGNATURE_BASE_WEBSHELL_PHP_Generic = " harmless "
56 remote_eval_close = " harmless "
67
78 strings :
Original file line number Diff line number Diff line change 1+ rule pouchdb_override : override {
2+ meta :
3+ description = " pouchdb.min.js "
4+ unsigned_bitwise_math_excess = " medium "
5+ js_many_parseInt = " medium "
6+
7+ strings :
8+ $ comment_1 = " // PouchDB 8.0.1 "
9+ $ comment_2 = " // "
10+ $ comment_3 = " // (c) 2012-2023 Dale Harvey and the PouchDB team "
11+ $ comment_4 = " // PouchDB may be freely distributed under the Apache license, version 2.0. "
12+ $ comment_5 = " // For all details and documentation: "
13+ $ comment_6 = " // http://pouchdb.com "
14+
15+ condition :
16+ all of them
17+ }
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ anti-static/obfuscation/bool: medium
33anti-static/obfuscation/hex: medium
44anti-static/obfuscation/js: high
55anti-static/obfuscation/math: medium
6- anti-static/obfuscation/url: high
6+ anti-static/obfuscation/url: medium
77c2/addr/server: medium
88data/encoding/int: medium
99data/encoding/url: medium
You can’t perform that action at this time.
0 commit comments