mysql-pentesting

mysql-pentesting is a skill for Claude Code, Codex from wgpsec/AboutSecurity. It costs 116 tokens per session (4,237 once invoked), scanned C, original, no licence file.

A security-testing guide for MySQL, a database server commonly used by web applications. It covers finding the service, checking access controls, listing database contents, and testing ways it could be abused.

In plain words
What is it for?
Use it when a scan finds MySQL on port 3306 or when you need to test authentication, enumerate databases, investigate SQL injection, or assess privilege escalation.
Why use it?
It helps an agent assess whether an exposed MySQL server accepts weak or anonymous access and whether database flaws could lead to reading files or running commands.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it when a scan finds MySQL on port 3306 or when you need to test authentication, enumerate databases, investigate SQL injection, or assess privilege escalation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wgpsec/aboutsecurity/mysql-pentesting
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 wgpsec/AboutSecurity --skill mysql-pentesting
Clone the repo
git clone --depth 1 https://github.com/wgpsec/AboutSecurity

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 mysql-pentesting

README.md
[![agentmods](https://agentmods.dev/badge/skills/wgpsec/aboutsecurity/mysql-pentesting.svg)](https://agentmods.dev/skills/wgpsec/aboutsecurity/mysql-pentesting)
Your own site
<a href="https://agentmods.dev/skills/wgpsec/aboutsecurity/mysql-pentesting"><img src="https://agentmods.dev/badge/skills/wgpsec/aboutsecurity/mysql-pentesting.svg" alt="Measured on agentmods" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,237 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00116 $0.04237
Opus 5 $0.00058 $0.02119
Sonnet 5 $0.00023 $0.00847
Haiku 4.5 $0.00012 $0.00424

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

Security

Grade C, and why

mysql-pentesting scanned grade C 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 4d 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 fileshighPrivilege escalation

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

│ │ └─ SELECT "<pubkey>" INTO OUTFILE '/root/.ssh/authorized_keys';
skills/exploit/network-service/mysql-pentesting/SKILL.md · 394 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 4d ago First seen · 394 lines · 116 tokens per session scan C fc6c8b20d290

Subscribe to this mod's changes

mysql-pentesting is a skill published in the GitHub repository wgpsec/AboutSecurity (1,721 stars, last pushed 8d ago), with no licence file. It adds 116 tokens to every session and 4,237 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it C with 1 finding (reaches for credential files). 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

redteam-sqli-detail-pack

Domain routing and boundary guidance for authorized SQL injection testing, including union-based, blind, error-based, stacked query, and second-order SQL injection variants. Use when a task belongs to the SQL injection domain and needs scope, evidence, pivot, or exit criteria.

Netw0rkNoob/VulnClaw · 59 tokens

api-canvas

DataCanvas primitive reference — a Tier 3 SQL/analytical workspace for tabular MCP servers, backed by DuckDB. Use when registering tables from upstream APIs, running ad-hoc SQL across them, and exporting results. Covers the acquire → register → query → export flow, per-table TTL, the token-sharing pattern for…

cyanheads/pentest-mcp-server · 85 tokens

api-mirror

Stand up a persistent, self-refreshing local mirror of a bulk upstream dataset with the MirrorService (@cyanheads/mcp-ts-core/mirror). Use when a server wraps a large or slow API and should query a synced local index (embedded SQLite + FTS5) instead of paginating the live API per request.

cyanheads/pentest-mcp-server · 68 tokens

database-security

Use for authorized database security assessment covering PostgreSQL/MySQL/MSSQL/Mongo/Redis exposure, authz, UDF/command paths, and misconfiguration review.

Asaiuta/reverse-workbench-skill · 37 tokens

Database Credential Extraction

This skill should be used when the user asks about "dump database", "extract credentials", "sqlite", "mysql credentials", "database passwords", or needs to extract user data from common database systems.

allsmog/blackbox-claude-plugin · 45 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens