Skip to content

Commit

Permalink
In run_vulnerability_scan, pass along entire argument to check func
Browse files Browse the repository at this point in the history
  • Loading branch information
Wout Feys committed Sep 17, 2024
1 parent 1b99356 commit 7a53713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aikido_zen/vulnerabilities/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def run_vulnerability_scan(kind, op, args):
elif kind == "code_injection":
# args is the statement executed by e.g. eval() function
injection_results = check_context_for_code_injection(
statement=args[0],
statement=args,
operation=op,
context=context,
)
Expand Down

0 comments on commit 7a53713

Please sign in to comment.