Skip to content

Commit 7a53713

Browse files
author
Wout Feys
committed
In run_vulnerability_scan, pass along entire argument to check func
1 parent 1b99356 commit 7a53713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aikido_zen/vulnerabilities/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def run_vulnerability_scan(kind, op, args):
9797
elif kind == "code_injection":
9898
# args is the statement executed by e.g. eval() function
9999
injection_results = check_context_for_code_injection(
100-
statement=args[0],
100+
statement=args,
101101
operation=op,
102102
context=context,
103103
)

0 commit comments

Comments
 (0)