web-app-penetration-testing
Skill này làm gì
Skill này chạy một kiểm thử bảo mật hộp đen trên ứng dụng web đang chạy, như website staging hoặc máy chủ phát triển cục bộ. Nó dành cho người kiểm thử một web app mà họ được phép kiểm thử.
Khi nào nên dùng
- ✓Khi ai đó muốn kiểm thử bảo mật một website đang hoạt động hoặc môi trường staging.
- ✓Khi một web app có đăng nhập và cần kiểm tra lỗi kiểm soát truy cập.
- ✓Khi ai đó muốn bằng chứng về các vấn đề như cross-site scripting hoặc injection.
Liên kết skill
https://github.com/usestrix/strix/blob/main/skills/web-app-penetration-testing/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Website staging của chúng tôi có tài khoản người dùng. Bạn có thể kiểm thử các vấn đề kiểm soát truy cập và đưa bằng chứng cho những gì bạn tìm thấy không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent xác nhận phạm vi và tài khoản thử nghiệm trước, rồi chạy kiểm thử tấn công AI vào website. Nó chỉ báo cáo các vấn đề mà nó có thể chứng minh bằng ví dụ hoạt động.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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.
Câu hỏi thường gặp
Tại sao tài khoản thử nghiệm lại quan trọng?
Skill cho biết hầu hết lỗi nghiêm trọng nằm sau đăng nhập, nên không có tài khoản thì kiểm thử chỉ thấy các trang công khai.
Nên kiểm thử môi trường nào?
Skill khuyến nghị staging thay vì production, vì các bài kiểm thử có thể tạo hoặc thay đổi dữ liệu.
Những khu vực nào nên loại trừ?
Skill liệt kê các luồng thanh toán, endpoint gửi email hàng loạt, thao tác quản trị phá hủy và nhà cung cấp đăng nhập bên thứ ba là ví dụ.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 73k
- Vị trí xếp hạng
- #3103
- Giấy phép
- Apache-2.0
- Cập nhật
- 30/10/2026
Bình luận
- …
Thêm skill từ kho mã này
api-security-testing
73kChỉ cho agent cách kiểm thử bảo mật API REST, GraphQL hoặc gRPC bằng Strix, tập trung vào lỗi phân quyền và OWASP API Top 10.
application-security-testing
73kGiúp agent của bạn lên kế hoạch kiểm thử bảo mật cho cả sản phẩm, chọn bài kiểm thử cho từng phần và xếp hạng việc sửa theo rủi ro thực tế.
ci-security-scanning-with-strix
73kChỉ cho agent của bạn cách thêm quét bảo mật tự động vào pull request, để code rủi ro có thể bị đánh dấu trước khi được gộp.
find-security-vulnerabilities-in-code
73kGiúp agent của bạn rà soát code để tìm lỗi bảo mật như injection và kiểm soát truy cập bị hỏng, rồi chứng minh lỗi nào là thật bằng các cuộc tấn công thử nghiệm.
Skill tương tự
reverse-engineer-anything
422kGiúp agent của bạn xem bên trong các app và package đã phát hành để giải thích tính năng, so sánh phiên bản hoặc hướng dẫn dựng lại bằng công cụ REA.
1password
394kGiúp agent của bạn cài đặt CLI của 1Password, đăng nhập, và đọc hoặc đưa thông tin bí mật vào mà không in giá trị ra cuộc trò chuyện.
healthcheck
394kGiúp agent của bạn rà soát bảo mật máy tính hoặc máy chủ đang chạy OpenClaw, như SSH, tường lửa, cập nhật và sao lưu, rồi đề xuất cách sửa an toàn.