feat(guardrails): injection domain (INJ-*): per-language SQL concat and raw escapes, dynamic EXECUTE, PostgREST, NoSQL, shell into DB tools; shared code_files/hits/dedupe helpers
This commit is contained in:
1 parent
988038cce3
commit
7500a618fe
4 files changed
+235
-1
No files matched your search
@@ -6,7 +6,7 @@ See scanner.py for the modes and exit codes.
|
||||
import sys
|
||||
|
||||
import scanner
|
||||
from checks import a11y, apis, functions, hosting, messaging, supabase
|
||||
from checks import a11y, apis, functions, hosting, injection, messaging, supabase
|
||||
|
||||
CATALOGUE = scanner.Catalogue(
|
||||
name="guardrails",
|
||||
@@ -17,10 +17,12 @@ CATALOGUE = scanner.Catalogue(
|
||||
"supabase": supabase,
|
||||
"messaging": messaging,
|
||||
"functions": functions,
|
||||
"injection": injection,
|
||||
},
|
||||
rule_domains={
|
||||
"API": "api", "HOST": "hosting", "A11Y": "a11y", "SB": "supabase",
|
||||
"MSG": "messaging", "FN": "functions",
|
||||
"INJ": "injection",
|
||||
},
|
||||
manual_rules=frozenset({
|
||||
"HOST-WAF-DDOS", "HOST-SPEND-CAP", "SB-RLS-LIVE",
|
||||
|
||||
Reference in new issue
Block a user