mirror of
https://github.com/usestrix/strix.git
synced 2026-08-25 04:12:37 +02:00
Merge origin/main into feature/contextual-safety-review
Integration fixes the merge required: - guard tools after the strict-schema downgrade, so the copy dataclasses.replace returns is the object the safety wrapper mutates - await _ctx_client, which main made async for the Caido bootstrap handle - pass main's extra_files through with the isolated local sources - keep DEFAULT_SAFETY_MODE alongside main's new report/state imports - rebuild the committed viewer bundle from the merged frontend sources - pin the browser-session safety phrase in test_safety_prompt so it no longer matches unrelated prompt text, and stamp safety_mode on the workspace-file resume record
This commit is contained in:
@@ -37,6 +37,13 @@ strix (--target <target> | --target-list <path>) [options]
|
||||
Path to a file containing detailed instructions.
|
||||
</ParamField>
|
||||
|
||||
<ParamField path="--workspace-file" type="string">
|
||||
Path to a file on your machine to place into the sandbox workspace before the
|
||||
scan starts. Repeat the option for more files. Write `PATH:DEST` to choose the
|
||||
destination inside `/workspace`. `DEST` defaults to the file name. See
|
||||
[Workspace files](/usage/instructions#workspace-files).
|
||||
</ParamField>
|
||||
|
||||
<ParamField path="--scan-mode, -m" type="string" default="deep">
|
||||
Scan depth: `quick`, `standard`, or `deep`.
|
||||
</ParamField>
|
||||
@@ -149,6 +156,10 @@ strix -t "postman://<collection-uuid>?env=<environment-uuid>"
|
||||
|
||||
# Targets from a file
|
||||
strix --target-list ./targets.txt
|
||||
|
||||
# Extra files placed in the sandbox workspace
|
||||
strix --target ./my-project --workspace-file ./wordlist.txt
|
||||
strix --target https://app.com --workspace-file ./openapi.yaml:specs/openapi.yaml
|
||||
```
|
||||
|
||||
## Exit Codes
|
||||
|
||||
Reference in New Issue
Block a user