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,18 +38,16 @@ file:
- 'pickle\.loads' - 'pickle\.loads'
- 'c?Pickle\.loads?' - 'c?Pickle\.loads?'
- 'marshal\.loads' - 'marshal\.loads'
- 'pickle\.Unpickler - 'pickle\.Unpickler'
- type: regex - type: regex
name: dangerous-yaml name: dangerous-yaml
regex:
regex: regex:
- 'yaml\.load' - 'yaml\.load'
- 'yaml\.safe_load' - 'yaml\.safe_load'
- type: regex - type: regex
name: sqli name: sqli
regex:
regex: regex:
- 'cursor\.execute' - 'cursor\.execute'
- 'sqlite3\.execute' - 'sqlite3\.execute'