We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 736dbf8 commit d25d51dCopy full SHA for d25d51d
src/macaron/resources/pypi_malware_rules/obfuscation.yaml
@@ -321,6 +321,6 @@ rules:
321
severity: ERROR
322
pattern-either: # The 50 here is the threshold for excessive spacing , more than that is considered obfuscation
323
# there is excessive spacing after a ";", marking the end of a statement, then additional code.
324
- - pattern-regex: ;[\s]{50,}(\S)+
+ - pattern-regex: ;[\t ]{50,}(\S)+
325
# there is excessive spacing before a ";", and any amount of whitespace before additional code.
326
- - pattern-regex: '[\s]{50,};[\s]*(\S)+'
+ - pattern-regex: '[\t ]{50,};[\t ]*(\S)+'
0 commit comments