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
fix: run tool server as module to ensure correct sys.path for workers
0xallama80ecac7bddd
diff --git a/containers/docker-entrypoint.sh b/containers/docker-entrypoint.shindex 62d604de..8d6fc584 100644--- a/containers/docker-entrypoint.sh+++ b/containers/docker-entrypoint.sh@@ -153,16 +153,14 @@ echo "✅ CA added to browser trust store"echo "Starting tool server..."cd /app-TOOL_SERVER_TIMEOUT="${STRIX_SANDBOX_EXECUTION_TIMEOUT:-120}"+export PYTHONPATH=/app+export STRIX_SANDBOX_MODE=true+export POETRY_VIRTUALENVS_CREATE=false+export TOOL_SERVER_TIMEOUT="${STRIX_SANDBOX_EXECUTION_TIMEOUT:-120}"TOOL_SERVER_LOG="/tmp/tool_server.log"-sudo -u pentester \- PYTHONPATH=/app \- STRIX_SANDBOX_MODE=true \- TOOL_SERVER_TOKEN="$TOOL_SERVER_TOKEN" \- TOOL_SERVER_PORT="$TOOL_SERVER_PORT" \- TOOL_SERVER_TIMEOUT="$TOOL_SERVER_TIMEOUT" \- /app/venv/bin/python strix/runtime/tool_server.py \+sudo -E -u pentester \+ poetry run python -m strix.runtime.tool_server \--token="$TOOL_SERVER_TOKEN" \--host=0.0.0.0 \--port="$TOOL_SERVER_PORT" \