feat:添加正则条目
All checks were successful
Python application test / build (pull_request) Successful in 19s

This commit is contained in:
2024-04-25 21:28:26 +08:00
parent ae2ee482ad
commit dd109e5f5d
2 changed files with 4 additions and 1 deletions

View File

@@ -44,6 +44,9 @@ def find_dangerous_functions(
r"\bpopen\(": "medium",
r"\beval\(": "high",
r"\bsubprocess\.run\(": "medium",
r"\b__getattribute__\(": "high",
r"\bgetattr\(": "medium",
r"\b__import__\(": "high",
},
".js": {
r"\beval\(": "high",