Official installation · Step-by-step startup · Open Strix Cloud · Download sources (ZIP)
Strix uses an agent to check an application for vulnerabilities: it examines code, sends requests and prepares findings with explanations and reproduction steps. Start with a separate test copy of your application and one verifiable task.
Tool characteristics
Strix performs active checks. Define exact authorized addresses, files and actions before running it. A third-party system requires explicit written permission from its owner. For a first trial, use fictional data and your own test environment without real payments, messages or external handlers.
The local CLI needs working Docker and a supported model. Docker does not keep sources unchanged here: the local folder mounts into the container with write access. Strix can alter its real files. Prepare a separate copy and saved version, then inspect the diff.
To check third-party skill files before installation, start with SkillSpector. For user isolation, first define specific allowed and forbidden actions using the data-access guide. Strix complements that check.
Prepare and run
- Ask Codex to find the project, current startup method and existing Strix installation. Create a separate test copy with fictional users and data. Disable real sends in that copy’s settings.
- The assistant checks Docker and dependencies for the chosen version. The current
pyproject.tomlrequires Python 3.12 or later for Python installation. Ifpipxis available, the official guide provides:
pipx install strix-agent
Agree on missing programs, container download and dependencies first. The first run automatically retrieves the Docker image. An alternative official installer is linked at the top; you do not need both methods.
- Select a supported provider and model from current documentation. The API path uses
STRIX_LLMandLLM_API_KEY; the assistant finds authorized configuration while keeping secrets out of prompts, Git and reports. Local execution may send code and request results to the chosen model. Agree on data and costs before starting. - Save exact targets and test conditions in a separate instruction file. After agreement, the assistant runs this command, determining the test-copy path, conditions file and dollar budget itself:
strix -n --target "$STRIX_TEST_COPY" --scan-mode quick --scope-mode full --instruction-file "$STRIX_SCOPE_FILE" --max-budget "$STRIX_BUDGET_USD"
quick sets depth; --scope-mode full checks the entire selected copy rather than automatically limiting scope to changed files. Instructions guide the agent but do not replace actual network and permission limits in the test environment. Budget is checked after model replies and may be exceeded by in-flight requests; it is not an exact billing cap.
For Codex work, the project also offers skills installed with npx skills add usestrix/strix. They instruct the agent but do not replace CLI installation and environment preparation. The CLI alone is enough for the first trial. Cloud use avoids local Docker but requires a separate decision about source uploads and current service terms.
Check one scenario
Use your test application with fictional users A and B. Record the rule in advance: each sees only their own records.
- Confirm A gets A’s record and B gets B’s. Save this working scenario before running.
- Ask Strix to check access to another user’s record only in the prepared environment. Specify test roles, authorized paths and expected denial. Do not expose secrets in command-line arguments.
- For a finding, inspect the exact request, response and conditions. If the application already denied access or another version was tested, investigate before fixing.
- Save findings and the diff first. After an agreed fix, repeat the same request as A and B, then ordinary reads of their own data. Success means denying cross-user access while preserving allowed actions.
Local results are saved in strix_runs. View the latest run with:
strix view
The viewer binds to 127.0.0.1 by default. Its link contains a report-access token; do not publish it. Assess the viewing command separately from transfer to an external model during scanning.
Used in these guides
In changing an existing site, function checks, Strix supports a separate authorized security review before release. Prepare a test environment and user-access check first.
After fixes, continue to release preparation. An automated report and proposed patch still need checking against the agreed scenario.
Interpret results and fix errors
Open the report and check completion status, scope, findings and skipped scenarios. A budget stop does not mean the application check finished. Interactive mode always exits 0; in -n mode, vulnerabilities yield 2, while startup or execution errors yield 1. With --fail-on, the threshold affects exit status, while lower-severity findings remain in the report.
If the container cannot reach the test server, check the address from Docker: its localhost differs from the computer’s. Fix only the agreed connection; do not expose the production application on all interfaces for a trial. If the model is unavailable, check provider, key and error without secrets.
When supplying an OpenAPI file, check all its base addresses: the CLI adds declared targets to scope. Avoid specifications with real external addresses in a first trial.
The result is a verified finding or a report with clear coverage, agreed fixes and repeated checks. Save them with the test-copy version. Undo code changes to revert; before cleaning containers or reports, check they are unused. The open project uses Apache-2.0; the model and cloud service have separate terms and costs.
Prompt for Codex
Paste into the project chat. The assistant starts by preparing a testable copy and agreeing on scope.
Help check my application’s security with Strix. Find the project, startup method and existing checks. Read https://github.com/usestrix/strix and current CLI documentation. First prepare a separate test copy with a saved version, fictional data and real payments and sends disabled. Account for the local folder mounting into Docker with write access. Identify exact authorized targets and actions; agree on these, code transfer to the model and costs. Agree separately on missing installation and image download; use available settings and never reveal secrets.
Choose one verifiable scenario, such as two sample users accessing only their own records. Save expected permissions and a conditions file. After agreement, run a limited trial with a suitable mode and budget, checking actual container access to the test environment. Do not add external specification addresses to scope without checking authorization. Match findings to requests, responses and code version. Show the finding and diff before fixing; after choosing fixes, repeat forbidden and allowed scenarios. Identify budget stops, errors and uncompleted checks separately. Save the report, editable fixes, repeat procedure, stopping and undo methods. Do not publish the application during this trial.