feat: (UNFINISH) 正则匹配检测测试

This commit is contained in:
2024-06-03 13:44:03 +08:00
parent da9b2b52ac
commit 1a71a72ddf
4 changed files with 35 additions and 10 deletions

View File

@@ -12,7 +12,7 @@ def find_dangerous_functions(
r"\bexec\(": "high",
r"\bpopen\(": "medium",
r"\beval\(": "high",
r"\bsubprocess\.run\(": "medium",
r"\bsubprocess": "medium",
r"\b__getattribute__\(": "high",
r"\bgetattr\(": "medium",
r"\b__import__\(": "high",