Update python-scanner.yaml

- Fix minor syntax in last update
This commit is contained in:
Mehran Seifalinia
2023-08-04 12:59:31 +03:30
committed by GitHub
parent 0cc5a83e13
commit 97baa89b58

View File

@@ -38,19 +38,17 @@ file:
- 'pickle\.loads'
- 'c?Pickle\.loads?'
- 'marshal\.loads'
- 'pickle\.Unpickler
- 'pickle\.Unpickler'
- type: regex
name: dangerous-yaml
regex:
regex:
- 'yaml\.load'
- 'yaml\.safe_load'
- type: regex
name: sqli
regex:
regex:
- 'cursor\.execute'
- 'sqlite3\.execute'
- 'MySQLdb\.execute'