Web Pentest 标志

Web Pentest

社区
briiirussell
web-pentest

Perform black-box / grey-box web application penetration testing on an authorized target — auth bypass, IDOR, session handling, business-logic flaws, parameter tampering, Burp Suite / OWASP ZAP workflows. Use when the user mentions 'web pentest,' 'web application penetration test,' 'pentesting,' 'bug bounty,' 'Burp Suite,' 'ZAP,' 'OWASP testing,' 'authentication testing,' 'session testing,' 'authorization testing,' 'business logic testing,' 'web vulnerability testing,' or has explicit authorization to test a live web application.

Add to TypingMind

概览

发布者briiirussell
代码仓库cybersecurity-skills
技能名称web-pentest
星标数
429
复刻数
60
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 briiirussell 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Web Pentest AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/briiirussell/cybersecurity-skills/tree/main/skills/web-pentest
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/briiirussell/cybersecurity-skills.git /tmp/cybersecurity-skills
mkdir -p .claude/skills
cp -r /tmp/cybersecurity-skills/skills/web-pentest .claude/skills/web-pentest
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Web Pentest,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Web Pentest。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Web Pentest 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Web Pentest — Live Web Application Testing

Structured black-box / grey-box penetration testing of a live web application against an authorized target. Pairs with recon (which maps the surface) and complements owasp-audit (which reads the source). Use recon first; use this once you have a target list and credentials (or guest access).

Authorization Check

Before touching the target, confirm:

  1. Written authorization for this specific application (pentest engagement, bug bounty in-scope domain, CTF/lab, your own asset)
  2. The application is currently in scope and live (not deprecated, not under maintenance freeze)
  3. Test credentials provided (if grey-box), or guest access confirmed (if black-box)
  4. Out-of-scope items documented — production user data, payment flows, social engineering, DoS

If anything is unclear, ask before proceeding. Never assume authorization.

Methodology

Follows the OWASP Web Security Testing Guide (WSTG) structure. Each phase produces evidence; document everything as you go.

Phase 1: Configuration & deployment

Goal: understand what's running and how it's exposed.

  • HTTP headers — pull with curl -I and curl -I -H "Origin: https://evil.com":
    • Server, X-Powered-By revealing stack
    • HSTS, CSP, X-Frame-Options, X-Content-Type-Options presence and values
    • CORS — Access-Control-Allow-Origin reflection without an allow-list, Allow-Credentials: true paired with *
  • TLS — testssl.sh https://target or sslyze --regular target
  • Backups / configs exposed — /.git/, /.env, /backup.sql, /web.config, /server-status, /.aws/credentials
  • Default admin paths — /admin, /administrator, /manage, /console, /actuator/, /_debug/, /swagger, /graphql, /.well-known/
  • Robots.txt and sitemap.xml — often list non-indexed but accessible endpoints
  • Subdomain & host header testing — does the app behave differently when sent Host: internal.target.com?

Phase 2: Identity management

Goal: understand who can be created, how, and with what privileges.

  • Registration — can you self-register? Does the role default to anything other than "user"?
  • Username enumeration via differential responses on signup ("email already exists"), login ("user not found" vs "wrong password"), password reset ("we sent an email" vs "no such user")
  • Account provisioning — does a verification email arrive? Can it be skipped? Does the reset link expire? Does the reset link tie to the original session?
  • Account lockout vs rate-limit — does 100 failed logins lock the account (denial of service vector) or just slow down (good)?

Phase 3: Authentication

Goal: break in as someone you shouldn't be.

  • Login form — is HTTPS enforced? Are credentials sent in URL params (logged everywhere)?
  • Password policy — minimum length / complexity / breach-database check (haveibeenpwned API)
  • MFA — required for admin / privileged users? Bypass paths (recovery code, "remember this device" cookie persistence, downgrade to SMS)?
  • Session token — entropy looks high? Cookie has HttpOnly, Secure, SameSite=Lax or Strict?
  • Session fixation — does the session ID rotate on login? Pre-auth session ID still valid post-auth?
  • "Remember me" — long-lived token in a separate cookie; revocable on logout from all devices?
  • Logout — does it actually invalidate the session server-side? (Test by replaying the cookie post-logout.)
  • Password reset — token format, expiration, single-use, host-header poisoning (Host: evil.com in the reset email link)
  • OAuth flow — PKCE used? state parameter validated? redirect_uri strictly matched (not prefix-matched)?

Phase 4: Authorization (the highest-yield phase)

Goal: access things you shouldn't.

Horizontal privilege escalation (IDOR / BOLA):

  • Sign in as user A. Get a resource that belongs to user A. Note the ID.
  • Sign in as user B. Try to access user A's resource by ID — direct fetch, in the body of an update, as a foreign key in another operation.
  • Watch for response codes — 200 (bad), 403 (good), 404 (good if all unauthorized requests return 404; bad if your own 404 looks different)
  • Try every endpoint that takes an ID — GET /users/:id, POST /users/:id/..., DELETE /users/:id, GET /api/users/:id/orders, GraphQL user(id: ...)

Vertical privilege escalation (BFLA):

  • Identify admin-only routes (from /admin/* exploration, from JS bundle strings, from Burp's site map)
  • Hit them as a regular user. 403 (good), 200 (very bad)
  • Check for verb tampering — DELETE /admin/users/x blocked, but POST /admin/users/x/delete works
  • Mass assignment — registration endpoint that accepts { role: "admin" } because it does User.create(req.body) without filtering

Tenant isolation (multi-tenant SaaS):

  • Create org A with user U1. Create org B with user U2.
  • As U1, try every URL that includes the org/tenant ID and swap it to org B's. Expect 403 / 404 on every one. A 200 is a tenancy break.

Phase 5: Session management

  • Session token in URL? Anywhere logged → access logs leak it
  • Concurrent sessions allowed? Should be configurable / loggable
  • Token after password change — invalidated everywhere? (Test by changing password in browser 1 and replaying browser 2's cookie.)
  • CSRF protection — synchronizer token, SameSite cookie, custom request header? Test by forging a request from a different origin

Phase 6: Input validation

For each input — URL params, query strings, headers, JSON bodies, file uploads:

  • XSS — reflected (in error pages, search results, <title> injection), stored (in profile fields, comments, file names), DOM (look at JS sinks like innerHTML, eval, location)
    • Payload bank — see owasp-audit Verify Fixes XSS payloads
  • SQLi — ' OR 1=1 --, time-based blind ('; SELECT pg_sleep(5)--), error-based, UNION-based
    • Modern stacks usually use parameterized queries; look for the one endpoint that didn't get the memo
  • Command injection — anywhere file names, image processing, PDF generation, or shell-out happens
  • SSRF — webhook URLs, image-fetch, PDF render — see owasp-audit A10 bypass matrix
  • XXE — XML inputs in SOAP / SVG-upload / DOCX-import paths
  • Server-side template injection — {{7*7}} in a name field renders 49? You're in
  • Open redirect — see owasp-audit A01 with control-byte rejection
  • Insecure deserialization — base64-decode any opaque tokens and look for serialized format markers (O: for PHP, \xac\xed for Java, cos\nsystem for Python pickle)

Phase 7: Error handling

  • Stack traces visible in 500 responses
  • Database errors leak schema (table names, column names)
  • File paths leak server filesystem layout
  • Different errors for valid vs invalid usernames (enumeration)
  • /health / /status / /metrics / /actuator/* exposed

Phase 8: Business logic

The category most scanners can't touch. Look at what the app is supposed to do and ask "what if I do that, but wrong?"

  • Race conditions — submit the same coupon code 100× concurrently; can you redeem it more than once?
  • Negative numbers — can you transfer -100 and credit yourself?
  • Out-of-order workflows — can you complete step 4 before step 2?
  • Quota bypass — free tier limits enforced server-side or just in the UI?
  • Workflow approval — can you approve your own request by tampering with approver_id?
  • File upload — can you upload an .html and have the server serve it with Content-Type: text/html?

Phase 9: Client-side

  • JS bundle review — view-source: / DevTools, look for inline secrets, API keys, internal endpoint hints
  • CSP — try to inject a <script> and see if it's blocked
  • Browser storage — what's in localStorage / sessionStorage / IndexedDB? Tokens? PII?
  • Cross-origin — can postMessage from your origin reach the app's window without origin check?

Tooling

  • Burp Suite Community (free) — proxy, repeater, intruder (rate-limited), decoder
  • Burp Suite Pro — scanner, faster intruder, session handling rules
  • OWASP ZAP — free alternative, active scanner, fuzzer
  • ffuf / feroxbuster / gobuster — directory and parameter brute-forcing
  • sqlmap — SQLi exploitation (use carefully; can be noisy and destructive — --risk=1 --level=1 to start)
  • dalfox / XSStrike — XSS scanners (high false-positive; use as a starting point)
  • nuclei — template-driven vulnerability scanner; the templates themselves are excellent reading
  • curl / httpie — repeatable manual requests; everything you find should reduce to a curl command

Output Format

markdown
# Web Application Pentest Report
## Target: [target name and scope]
## Engagement window: [start - end]
## Methodology: OWASP WSTG
## Date: [date]

### Executive summary
[2-3 paragraphs — overall posture, top 3 critical findings, business impact]

### Findings
| ID | Severity | OWASP | CWE | Title |
|----|----------|-------|-----|-------|

### Per-finding detail
#### [SEVERITY] [Title]
**Endpoint:** `METHOD /path`
**OWASP / CWE:** WSTG-XXX / CWE-XXX

**Description:** [what + why it matters]

**Proof of concept:**
[curl / Burp request showing the issue, minimal viable repro]

**Observed response:**
[response excerpt showing the issue]

**Remediation:**
[concrete fix + reference to owasp-audit or api-audit if applicable]

**Risk rating:** [Critical / High / Medium / Low / Info — with rationale]

**Verification:** [what to re-test after fix]

### Out-of-scope / not tested
[Anything skipped, with reason]

### Recommendations
[Prioritized 30/60/90 day fixes]

Boundaries

  • Stay strictly within the authorized scope — never test adjacent systems, subdomains, or third-party services without explicit confirmation
  • Rate-limit your own testing — Burp Intruder at 100 req/s for hours is indistinguishable from a DoS attack
  • Never modify or destroy real user data — test on test accounts you own, or test data you created
  • If you find evidence of active compromise (someone else's webshell, exfiltration in progress), STOP testing and notify the user immediately
  • Refuse requests to test systems without authorization
  • Refuse to weaponize findings — proof-of-concept is the minimum viable demonstration, not a working exploit kit
  • For DoS / availability testing, get explicit written approval naming the maintenance window
  • For social engineering / phishing tests, scope must explicitly name this — it is not "in" pentest scope by default

References

  • OWASP Web Security Testing Guide (WSTG) — canonical methodology
  • OWASP Application Security Verification Standard (ASVS) — checklist version
  • PTES (Penetration Testing Execution Standard)
  • Bug Bounty Methodology (Jason Haddix / TBHM)
  • PortSwigger Web Security Academy — free training labs
  • HackTricks (book.hacktricks.xyz) — technique reference (verify against fresh sources; HackTricks aggregates community knowledge of varying quality)

常见问题

Web Pentest AI 技能有什么作用?

Perform black-box / grey-box web application penetration testing on an authorized target — auth bypass, IDOR, session handling, business-logic flaws, parameter tampering, Burp Suite / OWASP ZAP workflows. Use when the user mentions 'web pentest,' 'web application penetration test,' 'pentesting,' 'bug bounty,' 'Burp Suite,' 'ZAP,' 'OWASP testing,' 'authentication testing,' 'session testing,' 'authorization testing,' 'business logic testing,' 'web vulnerability testing,' or has explicit authorization to test a live web application.

为什么在 TypingMind 中使用 Web Pentest?

因为您只需安装一次,就能搭配任何模型使用。Web Pentest 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Web Pentest?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/briiirussell/cybersecurity-skills/tree/main/skills/web-pentest。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Web Pentest?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Web Pentest 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Web Pentest 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Web Pentest AI 技能免费吗?

是的。briiirussell 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇