Skip to content

Bug: Tool server fails to start with empty port argument (v0.8.2) #372

@limen96

Description

@limen96

Describe the bug

When running a penetration test, the tool server inside the Docker sandbox container fails to initialize with the error:

tool_server.py: error: argument --port: invalid int value: ''

The port argument is being passed as an empty string to the tool server.

Steps to reproduce

  1. Install Strix v0.8.2 on Kali Linux
  2. Pull sandbox image: ghcr.io/usestrix/strix-sandbox:0.1.12
  3. Run: strix -t https://example.com -m quick
  4. Container starts, Caido proxy initializes successfully, but tool server fails

Expected behavior

Tool server should start with a valid port number.

Logs

Starting tool server...
ERROR: Tool server failed to become healthy
=== Tool server log ===
usage: tool_server.py [-h] --token TOKEN [--host HOST] --port PORT [--timeout TIMEOUT]
tool_server.py: error: argument --port: invalid int value: ''

Environment

  • OS: Kali Linux (Linux 6.18.9+kali-amd64 x86_64)
  • Docker: 27.5.1+dfsg4
  • Strix: 0.8.2
  • Sandbox image: ghcr.io/usestrix/strix-sandbox:0.1.12 (9.01GB)
  • LLM: OpenRouter (nvidia/nemotron-nano-9b-v2:free)
  • CPUs: 28, RAM: 31GB

Additional context

The Caido proxy initializes correctly on port 48080. The issue is specifically with the tool server not receiving the port number.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions