security-testing

security-testing is a skill for Claude Code, Codex from petrkindlmann/qa-skills. It costs 265 tokens per session (4,955 once invoked), scanned B, original, MIT.

A guide for testing application security against the OWASP Top 10, a widely used list of common web-application security risks. It covers automated scans, dependency checks, authentication, authorization, and common attack cases.

In plain words
What is it for?
Use it to add security checks to CI, scan code and dependencies, test JWT, OAuth, or session-based access, and exercise REST, GraphQL, or gRPC APIs.
Why use it?
It helps uncover weaknesses such as cross-site scripting, cross-site request forgery, SQL injection, server-side request forgery, and insecure sessions before attackers exploit them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to add security checks to CI, scan code and dependencies, test JWT, OAuth, or session-based access, and exercise REST, GraphQL, or gRPC APIs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/petrkindlmann/qa-skills/security-testing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add petrkindlmann/qa-skills --skill security-testing
Clone the repo
git clone --depth 1 https://github.com/petrkindlmann/qa-skills

Made for: Claude Code, Codex.

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 security-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/petrkindlmann/qa-skills/security-testing/github.svg)](https://agentmods.dev/skills/petrkindlmann/qa-skills/security-testing)
Your own site
<a href="https://agentmods.dev/skills/petrkindlmann/qa-skills/security-testing"><img src="https://agentmods.dev/badge/skills/petrkindlmann/qa-skills/security-testing/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 security-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/petrkindlmann/qa-skills/security-testing"><img src="https://agentmods.dev/badge/skills/petrkindlmann/qa-skills/security-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 265 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,955 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 16 Nov 2026
  • Snyk warn 16 Nov 2026
How audits are shown
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.00265 $0.04955
Opus 5.5 $0.00106 $0.01982
Sonnet 5.5 $0.00053 $0.00991
Haiku 4.5 $0.00026 $0.00496

Measured 15d ago against content hash a7e4d4c7b336, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

security-testing scanned grade B with 1 finding 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 15d 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.

Cloud metadata endpointmediumServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

IDOR lets user A read user B's orders, and a webhook field reaches `169.254.169.254`. This skill

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

skills/security-testing/SKILL.md · 255 lines

How it starts

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

Discovery Questions

Check .agents/qa-project-context.md first — if it exists, use it and skip anything already answered there (auth mechanism, compliance requirements, infrastructure). Then:

  1. Threat model: Has the team identified key assets, threat actors, and attack surfaces? If not, do a lightweight threat model before writing tests — it tells you which categories matter most.
  2. Auth mechanism: Session cookies, JWT, OAuth 2.0/OIDC, API keys, or MFA? Each has distinct negative-path tests (alg confusion, session fixation, state tampering).
  3. Compliance requirements: SOC 2, HIPAA, PCI DSS, GDPR? These mandate specific controls — map them with compliance-testing; this skill only proves the controls behave.
  4. Existing security tooling: Already running OSV-Scanner, Snyk, Dependabot, Semgrep, or ZAP? Check CI config for existing security stages before adding duplicates.
  5. API surface: REST, GraphQL, gRPC? Each protocol has specific injection and authorization vectors.
  6. Deployment model: Cloud (AWS/GCP/Azure), containers, serverless? Cloud-metadata endpoints are prime SSRF targets and misconfiguration is A02.

Core Principles

  1. Security is continuous, not a phase. Scans run in CI on every PR, not as a quarterly penetration test. A vulnerability caught on the PR that introduced it costs minutes; the same vulnerability found in prod costs an incident.

  2. OWASP Top 10 is the floor, not the ceiling. It covers the most common impactful classes. Domain-specific threats (healthcare data, financial transactions, multi-tenant isolation) need their own analysis on top.

Read the full file on GitHub · 255 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 15d ago Changed a7e4d4c7b336
  2. 16d ago Changed · +6 lines · +17 tokens per session c8d62f27aca3
  3. 3mo ago First seen · 249 lines · 248 tokens per session scan B b02b6050d6c4

Subscribe to this mod's changes

security-testing is a skill published in the GitHub repository petrkindlmann/qa-skills (318 stars, last pushed 16d ago), licensed MIT. It adds 265 tokens to every session and 4,955 once invoked, about $0.0011 per session on Opus 5.5. A static security scan graded it B with 1 finding (cloud metadata endpoint). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

security-testing compared with skills from other repositories

security-testing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-testingpetrkindlmann/qa-skillsSkill31816d agoMITB265Claude Code, Codex
platform-engineeringmagnus919/agent-skillsSkill203yesterdayMITA105Claude Code, Codex
woodpecker-cimagnus919/agent-skillsSkill203yesterdayMITA87Claude Code, Codex
github-runnermagnus919/agent-skillsSkill203yesterdayMITA76Claude Code, Codex
CI Pipeline OptimizerPramodDutta/qaskillsSkill25329d agoMITA29Claude Code, Codex
Flaky Test QuarantinePramodDutta/qaskillsSkill25329d agoMITA32Claude Code, Codex
CI/CD Pipeline AdvancedPramodDutta/qaskillsSkill25329d agoMITA45Claude Code, Codex