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
Feat: added support for non vision models STRIX_DISABLE_BROWSER flag (#188)
Rohit Martires5c995628bf08
diff --git a/strix/tools/__init__.py b/strix/tools/__init__.pyindex 06cbda7e..4193d410 100644--- a/strix/tools/__init__.py+++ b/strix/tools/__init__.py@@ -24,9 +24,13 @@ SANDBOX_MODE = os.getenv("STRIX_SANDBOX_MODE", "false").lower() == "true"HAS_PERPLEXITY_API = bool(os.getenv("PERPLEXITY_API_KEY"))+DISABLE_BROWSER = os.getenv("STRIX_DISABLE_BROWSER", "false").lower() == "true"+if not SANDBOX_MODE:from .agents_graph import * # noqa: F403- from .browser import * # noqa: F403++ if not DISABLE_BROWSER:+ from .browser import * # noqa: F403from .file_edit import * # noqa: F403from .finish import * # noqa: F403from .notes import * # noqa: F403@@ -40,7 +44,8 @@ if not SANDBOX_MODE:if HAS_PERPLEXITY_API:from .web_search import * # noqa: F403else:- from .browser import * # noqa: F403+ if not DISABLE_BROWSER:+ from .browser import * # noqa: F403from .file_edit import * # noqa: F403from .proxy import * # noqa: F403from .python import * # noqa: F403