web-app-penetration-testing
What it does
This skill runs a black-box security test of a running web application, such as a staging site or local dev server. It is for people testing a web app they are authorized to test.
When to use it
- βWhen someone wants a security test of a live website or staging environment.
- βWhen a web app has logins and needs checks for access control flaws.
- βWhen someone wants proof of issues such as cross-site scripting or injection.
Skill link
https://github.com/usestrix/strix/blob/main/skills/web-app-penetration-testing/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βOur staging site has user accounts. Can you test it for access control problems and show me proof for anything you find?β
5 new skills a week. 1 minute to read.
How it works
The agent confirms the scope and test accounts first, then runs an AI attack test against the site. It reports only issues it can prove with a working example.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Pentest a web application
Black-box (and optionally source-assisted) penetration testing of a running web app with Strix's autonomous agents. Every reported finding is validated with a working exploit, so there are no signature-based false positives to triage.
Install, LLM setup, all CLI flags, and the managed-cloud alternative are covered in the penetration-testing-with-strix skill β read it if the target is not a running web app, or if strix --version fails. For a run with no Docker and no LLM key, the same binary drives the managed platform: strix cloud login, then strix cloud scans start ... (details in managed-pentesting-with-strix). This skill is the web-app-specific workflow.
1. Confirm authorization and scope
Before running anything, establish:
- The target is the user's (or they are explicitly authorized to test it). Never pentest a third-party site on a hunch.
- Which environment. Prefer staging over production; agents send real exploit payloads and will create/modify data.
- Out-of-scope paths β payment flows, mass-email endpoints, admin destructive actions, third-party SSO providers.
- Credentials. Most real vulnerabilities live behind login. Without a test account, the agents only ever see the marketing surface.
Ask for anything missing rather than guessing.
2. Run the scan
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."
Notes that matter for web apps specifically:
- Give it credentials via
--instruction(or--instruction-filefor anything long), including how to log in if the flow is unusual (magic link, SSO, MFA-exempt test user). - Two accounts beat one. Multi-tenant IDOR and broken-access-control bugs β consistently the highest-impact class in web apps β can only be proven when the agent can attempt cross-account access.
- Add the repo for white-box depth when you have the source:
-t https://github.com/org/app -t https://staging.example.com(or a local path). Source access materially improves coverage of business-logic and authorization flaws. - Localhost works. Point at
http://host.docker.internal:3000(Docker Desktop) so the sandbox can reach a dev server on the host. --scan-mode quickfor a fast dev-loop pass,standard(~30 min) for a normal review,deepfor pre-release assurance. Always set--max-budget.
For a hosted run with no Docker/LLM key, or when the user wants a shareable dashboard and an auditor-ready PDF, use the cloud path in managed-pentesting-with-strix instead β same engine, same findings.
3. Review results
Read strix_runs/<run>/penetration_test_report.md first, then per-finding files in vulnerabilities/. Each contains the PoC β re-run it yourself to confirm before reporting to the user.
Exit codes: 0 no validated vulns in what was analyzed, 2 vulnerabilities found, 1 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 run.json status and cost against --max-budget before calling the app clean.
4. Fix and verify
Hand findings to the fix-security-vulnerabilities-with-strix skill: patch the root cause, then re-run Strix against the same target to prove the exploit no longer works. Re-testing is the only reliable confirmation a fix landed.
To keep the app tested on every change rather than once, wire Strix into CI with ci-security-scanning-with-strix.
FAQ
Why are test accounts important?
The skill says most high-impact bugs sit behind login, so without an account the test sees only public pages.
Which environment should be tested?
The skill recommends staging over production, since the tests can create or change data.
What areas should be excluded?
The skill lists payment flows, mass-email endpoints, destructive admin actions and third-party sign-in providers as examples.
Details
Original description by the author
Pentest a web app or website end to end β black-box testing of a live URL, staging environment, or local dev server that finds and exploits real vulnerabilities (auth bypass, broken access control, IDOR, injection, XSS, SSRF, business logic) and proves each one with a working proof-of-concept instead of a signature match. Runs with Strix, either the self-hosted open-source CLI or the managed app.strix.ai cloud. Use when the user asks to pentest, hack, security-test, or audit their web app, website, web application, or staging site.
repo: usestrix/strix
Popularity
- GitHub stars
- 73k
- Ranking position
- #3103
- License
- Apache-2.0
- Updated
- 10/30/2026
Comments
- β¦
More skills from this repository
api-security-testing
73kShows your agent how to security-test a REST, GraphQL or gRPC API with Strix, focusing on authorization flaws and other risks in the OWASP API Top 10.
application-security-testing
73kHelps your agent plan security tests for a whole product, choosing the right test for each part, running them, and ranking the fixes by real risk.
ci-security-scanning-with-strix
73kShows your agent how to add an automatic security scan to pull requests, so risky code can be flagged before it is merged.
find-security-vulnerabilities-in-code
73kHelps your agent review code for security flaws such as injection and broken access control, and prove which ones are real with test attacks.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.