Library

Sign in required

Sign in to view and search the registry and your saved rules.
Sign in
rules:
- id: untitled_rule
pattern: print("...")
message: |
Semgrep found a match
severity: WARNING
languages: [python]
languages: [python]
severity: WARNING
Semgrep found a match
message: |
pattern: print("...")
- id: untitled_rule
rules:
languages: [python]
severity: WARNING
Semgrep found a match
message: |
pattern: print("...")
- id: untitled_rule
rules:
print("Welcome to Semgrep!" + "Use our Run button to start experimenting -->")
print("...")
# To detect ALL calls to the print() function, change the Semgrep Rule from print("...") to print(...)
print(not_a_string)
print(first_var, second_var)
print()
# print("This is commented out so it will never be found")
# print("This is commented out so it will never be found")
print()
print(first_var, second_var)
print(not_a_string)
# To detect ALL calls to the print() function, change the Semgrep Rule from print("...") to print(...)
print("...")
print("Welcome to Semgrep!" + "Use our Run button to start experimenting -->")
# print("This is commented out so it will never be found")
print()
print(first_var, second_var)
print(not_a_string)
# To detect ALL calls to the print() function, change the Semgrep Rule from print("...") to print(...)
print("...")
print("Welcome to Semgrep!" + "Use our Run button to start experimenting -->")