Update python-scanner.yaml

- Fix minor syntax in last update
patch-1
Mehran Seifalinia 2023-08-04 12:59:31 +03:30 committed by GitHub
parent 0cc5a83e13
commit 97baa89b58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

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'