security-testing

security-testing is a skill for Claude Code from aks-builds/quality-skills. It costs 156 tokens per session (3,097 once invoked), scanned A, original, MIT.

A guide to adding security checks to a software delivery process. It covers checks for source code, dependencies, leaked secrets, containers, infrastructure settings, running applications, and access controls.

In plain words
What is it for?
Use it to plan or operate security testing in continuous integration and delivery, including code scanning, dependency checks, secret detection, fuzzing, and tests based on the OWASP Top 10.
Why use it?
It helps teams find security problems earlier and choose checks that fit their application, technology, risks, and compliance requirements instead of drowning in irrelevant alerts.

Skill for Claude Code

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

Part of the quality-skills plugin — 57 skills shipped together

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.

agentmods
npx agentmods add skills/aks-builds/quality-skills/security-testing
Any agent
npx skills add aks-builds/quality-skills --skill security-testing
Clone the repo
git clone --depth 1 https://github.com/aks-builds/quality-skills

Made for: Claude Code.

Or install quality-skills, the plugin that ships this one along with the rest of its 57 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 security-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/aks-builds/quality-skills/security-testing.svg)](https://agentmods.dev/skills/aks-builds/quality-skills/security-testing)
Your own site
<a href="https://agentmods.dev/skills/aks-builds/quality-skills/security-testing"><img src="https://agentmods.dev/badge/skills/aks-builds/quality-skills/security-testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 156 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,097 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00156 $0.03097
Opus 5 $0.00078 $0.01548
Sonnet 5 $0.00031 $0.00619
Haiku 4.5 $0.00016 $0.00310

Measured 5d ago against content hash 95c02c31c020, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

security-testing scanned grade A with 0 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 5d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

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

How it starts

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

Security Testing

You are an expert in security testing — SAST, DAST, SCA, secret scanning, container / IaC scanning, fuzzing, and the policies that wire them into CI. Your goal is to help engineers integrate security checks proportionate to their threat model, fix the real findings, and avoid the noise pit that drives teams to disable scanners. Don't fabricate tool features, OWASP rule IDs, or CWE numbers. When uncertain, point the reader to OWASP, the tool's docs, or NIST publications.

Initial Assessment

Check .agents/qa-context.md (fallback: .claude/qa-context.md) before answering. Pay attention to:

  • Threat model — public-facing web app, internal service, mobile app, IoT, enterprise software. The mix of relevant scanners differs.
  • Compliance scope — SOC 2 / ISO 27001 / PCI / HIPAA / FedRAMP — drive specific test categories.
  • Languages and stack — different SAST tools per language.
  • Where code runs — containers, serverless, on-prem, mobile.
  • Existing security investment — appsec team, bug bounty, pentest cadence, security champions in eng.

If the file does not exist, ask: threat model, compliance scope, primary languages, where the code runs, existing security program.


The security-testing layers

Production           ← runtime: WAF, RASP, observability, bug bounty
       ↑
Pre-deploy           ← DAST (running app), container scan, image signing
       ↑
Build / CI           ← SCA (deps), secret scan, IaC scan
       ↑
Pre-commit / PR      ← SAST (code), lint, secret scan
       ↑
Author               ← IDE plugins, training, secure-by-design reviews

The earlier you find a problem, the cheaper it is to fix. Aim to push checks left without making PR CI unusable. The Anti-pattern is the same as in test-strategy: gate too aggressively on slow/noisy signals and the team starts ignoring them.


SAST — Static Application Security Testing

Scans source code without running it. Finds: SQL injection patterns, XSS sinks, hardcoded secrets, weak crypto, taint paths from input to dangerous APIs.

Read the full file on GitHub · 302 lines

Files

What ships with it

1 file 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. 5d ago First seen · 302 lines · 156 tokens per session scan A 95c02c31c020

Subscribe to this mod's changes

security-testing is a skill published in the GitHub repository aks-builds/quality-skills (2 stars, last pushed 2d ago), licensed MIT. It adds 156 tokens to every session and 3,097 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

defect-analyzer

Use when someone asks to analyze a defect report, analyze bug data, perform defect metrics analysis, review a defect log, or upload a defect file for quality insights.

ukkuru/testmetry-skills · 38 tokens

test-case-writer

Use when someone asks to generate test cases, write test cases from a user story, create test cases from a BRD, design test cases from a mockup or wireframe, or produce a test case table from requirements.

ukkuru/testmetry-skills · 50 tokens

api-testing

接口级测试时使用——从 OpenAPI/Swagger 文档或用例 Schema 中可自动化的接口用例出发,覆盖参数、边界、鉴权、幂等、并发、错误响应与数据一致性,产出可执行的 API 测试脚本与运行结果;含接口压测承接(k6,类型矩阵轴 1 执行层)。不用于:Web UI 流程(automated-e2e-testing)、手动用例编写(test-case-writing)。.

fishzjp/qa-skills · 117 tokens

test-strategy

回答"这个功能应该怎么测"——把风险翻译成两域测试范围与深度。策略位于"需求 → 风险分析 → 策略 → 测试设计 → 用例"链路中,跳过策略直接写用例是本框架明确反对的。.

fishzjp/qa-skills · 103 tokens

regression-testing

代码变更(diff/Bug 修复/需求变更)后判断应回归哪些测试时使用——沿"改动文件 → 改动函数 → 受影响功能 → 受影响用例"分析链,基于用例 Schema 的追溯映射产出分级回归清单。不用于:用例文件本身的增量修改(test-case-writing)、长期回归策略(test-strategy)。.

fishzjp/qa-skills · 98 tokens

test-case-review

回答"这些测试用例到底测得好不好"——事后、独立的审查(写时自审归 test-case-writing 阶段四)。.

fishzjp/qa-skills · 95 tokens