Guide · Agent skill
How to use the Web App Penetration Testing agent skill
Updated · written with AI from the project's own documentation and checked against our catalogue data
The web-app-penetration-testing skill gives an AI agent a workflow for security testing a running website or web application from the outside, the way an attacker would. It is built for the Strix engine and is aimed at developers and teams who own the app and want to check a staging site or local dev server before release. By the end of this guide you will know how to install the skill, confirm scope and test accounts, trigger it with a plain request, and read the results.
Quick start
- 1Download and unzip the skill. Download the skill ZIP from this page and unzip it. Put the folder in ~/.claude/skills/ for personal use or in a project's .claude/skills/ folder.
- 2Install Strix. Install the Strix CLI, typically via Docker, and confirm it runs with strix --version. Add an LLM API key or sign in to app.strix.ai.
- 3Confirm scope and accounts. Make sure you own the target or have written permission to test it. Prepare a test account and list any paths that are out of scope.
- 4Make a request. Ask the agent to pentest or security-test your staging site or web app, and include the URL and login details.
- 5Run the scan with a budget. Run strix with -t for the target, --instruction for credentials and scope, and --max-budget set to a value you are comfortable with.
- 6Review the report. Read penetration_test_report.md and the files in vulnerabilities/. Re-run each proof-of-concept yourself to confirm it.
- 7Fix and re-test. Patch the root cause of each validated issue, then re-run Strix against the same target to confirm the fix.
What the skill makes the agent do
The skill directs Strix to run a black-box penetration test against a live URL, a staging environment, or a local dev server. It looks for real vulnerabilities such as auth bypass, broken access control, IDOR, injection, XSS, SSRF, and business logic flaws.
Each finding is validated with a working proof-of-concept rather than a signature match, so the report shows an exploit that was actually run. The skill can also use source code when you provide it, which improves coverage of authorization and business logic.
Install the skill
Download the skill ZIP from this page and unzip it. For a personal install, place the folder in ~/.claude/skills/. For a single project, place it in that project's .claude/skills/ folder.
In the Claude apps you can instead upload the skill under Settings → Capabilities → Skills.
- Personal install: ~/.claude/skills/
- Project install: .claude/skills/ inside your project
- Claude apps: Settings → Capabilities → Skills
Set up what the skill needs
The skill runs on the Strix CLI (usestrix/strix), which is typically installed via Docker. You also need an LLM API key or a managed app.strix.ai cloud account. If you test a localhost dev server, install Docker Desktop.
Test account credentials for the target app are recommended. Most real vulnerabilities sit behind login, and without an account the agents only see public pages.
- Strix CLI installed, typically via Docker
- An LLM API key or an app.strix.ai cloud account
- Docker Desktop if testing a localhost dev server
- Test account credentials for the target app (recommended)
strix --versionTrigger the skill with a natural request
You do not need to name the skill. Ask for a pentest, security test, hack, or audit of your web app, website, web application, or staging site, and the agent will pick it up. Include the target URL and anything the agent needs to log in.
Before any scan starts, the agent should confirm that the target is yours or that you are authorized to test it, which environment it is, which paths are out of scope, and what credentials it can use. Answer these questions in your request so the agent does not have to guess.
- Pentest my staging site at https://staging.example.com. Test account is qa@example.com. Stay out of billing.
- Security-test our web application at http://host.docker.internal:3000 (my local dev server).
- Audit the access control between the two seeded orgs on our staging app.
Run a scan from the command line
The skill's example runs Strix non-interactively against a staging URL with a budget cap. The --instruction flag carries the test account, the scope, and what to focus on.
Use --instruction-file instead when the instructions are long. Include how to log in if the flow is unusual, such as a magic link, SSO, or an MFA-exempt test user. Always set --max-budget.
- Give the agent two accounts when possible, so it can try cross-account access.
- Add your repository with a second -t flag for deeper white-box coverage.
- Use http://host.docker.internal:3000 to reach a dev server on your host from the sandbox.
- Scan modes: quick for a fast dev-loop pass, standard (about 30 minutes) for a normal review, deep for pre-release checks.
strix -n -t https://staging.example.com --max-budget 20 --instruction "Test account: qa@example.com / <password>. In scope: /app/*, /api/*. Do not touch /billing or send email. Focus on access control between the two seeded orgs."Read the results and check the exit code
Start with strix_runs/<run>/penetration_test_report.md, then open the per-finding files in vulnerabilities/. Each one contains its proof-of-concept, so re-run it yourself before you report the issue.
The exit code tells you the outcome: 0 means no validated vulnerabilities in what was analyzed, 2 means vulnerabilities were found, and 1 means a fatal error. A 0 is not proof of full coverage. If the budget or turn cap was hit, the scan wraps up early, so check the status and cost in run.json.
- 0: no validated vulnerabilities in what was analyzed
- 2: vulnerabilities found
- 1: fatal error
Fix the issues and re-test
Patch the root cause of each finding, then run Strix against the same target again to confirm the exploit no longer works. Re-testing is the only reliable check that a fix landed. The source names companion skills for this step and for CI: fix-security-vulnerabilities-with-strix and ci-security-scanning-with-strix.
What people use it for
- Check a staging site for broken access control before a release.
- Test whether one customer account can read another tenant's data in a multi-tenant app.
- Run a deeper authorization review on a codebase you have the source for.
- Scan a localhost dev server during development using host.docker.internal.
Frequently asked questions
How do I install the web app penetration testing skill?
Download the skill ZIP from this page and unzip it. Place the folder in ~/.claude/skills/ for personal use or in your project's .claude/skills/ folder. In the Claude apps, you can upload it under Settings → Capabilities → Skills.
What do I need before I can use this skill?
You need the Strix CLI (usestrix/strix), typically installed via Docker, plus an LLM API key or an app.strix.ai cloud account. Docker Desktop is needed if you test a localhost dev server, and test account credentials for the target app are recommended.
Is the web app penetration testing skill free to use?
The skill is licensed under Apache-2.0. The source does not list pricing for the managed app.strix.ai cloud, so check that service directly for its costs. Running the self-hosted CLI still requires your own LLM API key.
Can I test a website I do not own?
No. The skill is for targets you own or are explicitly authorized to test. Active exploit payloads can cause harm and may be illegal against third-party sites.
Why does the agent say it is testing localhost but cannot reach my server?
Inside the sandbox, localhost points to the sandbox itself. Use http://host.docker.internal:3000 with Docker Desktop so the sandbox can reach a dev server running on your host machine.
How is this different from a scanner that uses signatures?
Each finding is validated with a working proof-of-concept instead of a signature match, so you get an exploit that was actually run and can re-run it yourself. A clean result still does not prove full coverage, especially if the budget or turn cap ended the scan early.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
Use this skill if you own a web app or staging site and want an agent to find and prove real access control, injection, and similar flaws before release. Pick something else if you need to test a site you do not control, want to run against production without careful data safeguards, or cannot provide an LLM key or cloud account.
Download the skill