refactor: align prompts with OWASP WSTG methodology#4
Draft
Conversation
Bumps [pypdf](https://github.com/py-pdf/pypdf) from 6.7.1 to 6.7.2. - [Release notes](https://github.com/py-pdf/pypdf/releases) - [Changelog](https://github.com/py-pdf/pypdf/blob/main/CHANGELOG.md) - [Commits](py-pdf/pypdf@6.7.1...6.7.2) --- updated-dependencies: - dependency-name: pypdf dependency-version: 6.7.2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pypdf](https://github.com/py-pdf/pypdf) from 6.7.2 to 6.7.4. - [Release notes](https://github.com/py-pdf/pypdf/releases) - [Changelog](https://github.com/py-pdf/pypdf/blob/main/CHANGELOG.md) - [Commits](py-pdf/pypdf@6.7.2...6.7.4) --- updated-dependencies: - dependency-name: pypdf dependency-version: 6.7.4 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: 0xallam <ahmed39652003@gmail.com>
us-central1 doesn't have access to the latest gemini models like gemini-3-flash-preview
The perplexity API key check in strix/tools/__init__.py used Config.get() which only checks os.environ. At import time, the config file (~/.strix/cli-config.json) hasn't been applied to env vars yet, so the check always returned False. Replace with _has_perplexity_api() that checks os.environ first (fast path for SaaS/env var), then falls back to Config.load() which reads the config file directly.
Re-architects the agent loop to support interactive (chat-like) mode where text-only responses pause execution and wait for user input, while tool-call responses continue looping autonomously. - Add `interactive` flag to LLMConfig (default False, no regression) - Add configurable `waiting_timeout` to AgentState (0 = disabled) - _process_iteration returns None for text-only → agent_loop pauses - Conditional system prompt: interactive allows natural text responses - Skip <meta>Continue the task.</meta> injection in interactive mode - Sub-agents inherit interactive from parent (300s auto-resume timeout) - Root interactive agents wait indefinitely for user input (timeout=0) - TUI sets interactive=True; CLI unchanged (non_interactive=True)
Co-authored-by: 0xallam <ahmed39652003@gmail.com>
Restructure system prompt and scan mode skills to follow OWASP Web Security Testing Guide phases (INFO, CONF, ATHN, ATHZ, INPV, BUSL, CRYP, CLNT). Key changes: - Semantic XML structure for prompt sections - Explicit root-agent delegation mandate for context gathering - Phase 1/Phase 2 workflow with skill trigger mapping - WSTG-aligned agent architecture in root_agent.md - Attacker perspective verification in deep/standard modes - Compliance/authorization framing for penetration testing context
cbea13e to
e4d824a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Restructure system prompt and scan mode skills to follow OWASP Web Security Testing Guide (WSTG) phases for structured security testing methodology.
Changes
Files Changed
strix/agents/StrixAgent/system_prompt.jinjastrix/skills/coordination/root_agent.mdstrix/skills/scan_modes/deep.mdstrix/skills/scan_modes/standard.mdstrix/skills/scan_modes/quick.mdSplit from usestrix#328.