Open-source AI penetration testing tool to find and fix your app’s vulnerabilities.
Python agentsai-hackingai-penetration-testingai-pentestingai-securityartificial-intelligencebug-bountycode-qualityctf-toolscybersecuritycybersecurity-toolsethical-hackinghackingllm-securityoffensive-securitypenetration-testingpentesting-toolsred-teamingsecuritysecurity-automation
Escaping tool arguments
Ahmed Allam138c5a902300
diff --git a/strix/llm/utils.py b/strix/llm/utils.pyindex 52587686..8c141c68 100644--- a/strix/llm/utils.py+++ b/strix/llm/utils.py@@ -1,3 +1,4 @@+import htmlimport refrom typing import Any@@ -36,6 +37,8 @@ def parse_tool_invocations(content: str) -> list[dict[str, Any]] | None:for param_match in param_matches:param_name = param_match.group(1)param_value = param_match.group(2).strip()++ param_value = html.unescape(param_value)args[param_name] = param_valuetool_invocations.append({"toolName": fn_name, "args": args})