Hi everyone, I've successfully set up Strix for repository and basic URL scans, and it's working great! I'm now looking to configure scans for our applications that require authentication. Currently, the scanner only hits the login page and marks the scan as clean, completely missing the actual application hidden behind the login wall. Our apps rely on Zitadel and Keycloak for authentication. Could anyone point me in the right direction on how to handle this? Specifically: • Can we inject static Bearer Tokens or Session Cookies via the values.yaml configuration? • Does Strix support automated login flows or script-based authentication? If anyone has a quick example snippet or can point me to the right section in the documentation, I'd really appreciate the help!
System Information:
- OS: [e.g. Ubuntu 22.04]
- Strix Version or Commit: 1.7.0
- Python Version: [e.g. 3.12]
- LLM Used: [ GPT-5,]
Additional context Add any other context about the problem here.
Hi, thanks for the detailed write-up!
values.yaml / static tokens: The open-source CLI does not read a
values.yaml, and it has no flag that injects headers or cookies. You give Strix authentication context with--instructionor--instruction-file. That text is added to the agent's task, so you can paste a Bearer token or cookie there, but nothing attaches it to requests automatically. Short-lived tokens are also a problem: Keycloak access tokens expire after 5 minutes by default. A dedicated test account works better.Automated login: Yes. The agent drives a headless Chrome browser, so it can follow the OIDC redirect to your identity provider, fill in the login form, and continue with the session. There is no separate login-script hook. You describe the flow in an instruction file instead.
We checked this against Keycloak 26 behind oauth2-proxy, with a planted IDOR in the app. Without instructions, the scan only saw redirects to the login page and reported nothing in the app. With the file below, it logged in through Keycloak, reached the API, and found the IDOR.
Example
auth.md:Then run:
A few tips:
strix_runs/RUN_NAME/penetration_test_report.mdto confirm it got past the login. Ifrun.jsonshows the cost close to--max-budget, the agents were stopped early: findings can then appear in the report without being counted.Docs: Custom instructions and Browser.
If you would rather not manage this yourself, the managed platform at app.strix.ai has saved test users with support for authenticator-app (TOTP) and email-code logins, and it verifies the login before the scan starts.