Skip to content
Skillpedia
Security29k · #9505

security-pen-testing

What it does

This skill makes the agent test an app or API for security weaknesses before attackers find them. It is for developers and security staff who have permission to test the system.

When to use it

  • ✓When you have permission to test a web app or API for vulnerabilities.
  • ✓When you want to check your dependencies for known security problems.
  • ✓When you need a written penetration test report for a project.

Skill link

https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/skills/security-pen-testing/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/skills/security-pen-testing/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Run an authorized security test on our API and check for OWASP Top 10 problems and risky packages.”

5 new skills a week. 1 minute to read.

How it works

The agent runs vulnerability and dependency scans, checks for exposed secrets and reviews the common OWASP Top 10 risks. It then writes a penetration test report.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Security Penetration Testing

Hands-on offensive security testing skill for finding vulnerabilities before attackers do. This is NOT compliance checking (see senior-secops) or security policy writing (see senior-security) — this is about systematic vulnerability discovery through authorized testing.


Table of Contents


Overview

What This Skill Does

This skill provides the methodology, checklists, and automation for offensive security testing — actively probing systems to discover exploitable vulnerabilities. It covers web applications, APIs, infrastructure, and supply chain security.

Distinction from Other Security Skills

Skill Focus Approach
security-pen-testing (this) Finding vulnerabilities Offensive — simulate attacker techniques
senior-secops Security operations Defensive — monitoring, incident response, SIEM
senior-security Security policy Governance — policies, frameworks, risk registers
skill-security-auditor CI/CD gates Automated — pre-merge security checks

Prerequisites

All testing described here assumes written authorization from the system owner. Unauthorized testing is illegal under the CFAA and equivalent laws worldwide. Always obtain a signed scope-of-work or rules-of-engagement document before starting.


OWASP Top 10 Systematic Audit

Use the vulnerability scanner tool for automated checklist generation:

# Generate OWASP checklist for a web application
python scripts/vulnerability_scanner.py --target web --scope full

# Quick API-focused scan
python scripts/vulnerability_scanner.py --target api --scope quick --json

Quick Reference (OWASP Top 10:2025)

# Category Key Tests
A01 Broken Access Control IDOR, vertical escalation, CORS, forced browsing, SSRF (internal IPs, cloud metadata, DNS rebinding)
A02 Security Misconfiguration Default credentials, debug mode, security headers, directory listing
A03 Software Supply Chain Failures Dependency audit (npm/pip/go), EOL checks, known CVEs, build and CI/CD provenance
A04 Cryptographic Failures TLS version, password hashing, hardcoded keys, weak PRNG
A05 Injection SQLi, NoSQLi, command injection, template injection, XSS
A06 Insecure Design Rate limiting, business logic abuse, multi-step flow bypass
A07 Authentication Failures Brute force, session cookie flags, session invalidation, MFA bypass
A08 Software or Data Integrity Failures Unsafe deserialization, SRI checks, unsigned updates
A09 Security Logging and Alerting Failures Auth event logging, sensitive data in logs, alerting thresholds
A10 Mishandling of Exceptional Conditions Fail-open on errors, unhandled exceptions, stack-trace leakage, partial transactions
# Audit dependencies
python scripts/dependency_auditor.py --file package.json --severity high
python scripts/dependency_auditor.py --file requirements.txt --json

See owasp_top_10_checklist.md for detailed test procedures, code patterns to detect, remediation steps, and CVSS scoring guidance for each category.


Static Analysis

Recommended tools: CodeQL (custom queries for project-specific patterns), Semgrep (rule-based scanning with auto-fix), ESLint security plugins (eslint-plugin-security, eslint-plugin-no-unsanitized).

Key patterns to detect: SQL injection via string concatenation, hardcoded JWT secrets, unsafe YAML/pickle deserialization, missing security middleware (e.g., Express without Helmet).

See attack_patterns.md for code patterns and detection payloads across injection types.


Dependency Vulnerability Scanning

Ecosystem commands: npm audit, `pip aud

FAQ

Do I need permission first?

Yes. The skill is for authorized testing only, so you should have written approval for the system you test.

Is this the same as a compliance check?

No. Compliance checks are covered by a separate security operations skill.

What does it check in dependencies?

It audits your packages for known vulnerabilities.

Details

Original description by the author

Use for an authorized penetration test, vulnerability scan or OWASP Top 10 check of an app or API. Scans with vulnerability_scanner.py, audits dependencies with dependency_auditor.py and writes the report with pentest_report_generator.py.

repo: alirezarezvani/claude-skills

Popularity

GitHub stars
29k
Ranking position
#9505
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills