本文へスキップ
Skillpedia
セキュリティ29k · #9505

security-pen-testing

できること

このスキルにより、エージェントは攻撃者に見つけられる前に、アプリやAPIのセキュリティ上の弱点を調べます。テストする権限を持つ開発者やセキュリティ担当者を対象としています。

使う場面

  • ✓WebアプリまたはAPIの脆弱性を調べる許可があるとき。
  • ✓依存パッケージに既知のセキュリティ上の問題がないか確認したいとき。
  • ✓プロジェクトのために、書面による侵入テストのレポートが必要なとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/skills/security-pen-testing/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“当社のAPIに対して、許可を得たセキュリティテストを実施してください。OWASP Top 10の問題と危険なパッケージがないか確認してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは脆弱性と依存関係のスキャンを実行し、露出した機密情報を確認して、OWASP Top 10の一般的なリスクを調べます。その後、侵入テストのレポートを作成します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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

よくある質問

事前に許可が必要ですか?

はい。このスキルは許可を得たテストのためのものなので、テスト対象のシステムについて書面による承認が必要です。

コンプライアンスチェックと同じですか?

いいえ。コンプライアンスチェックは、別のsenior-secopsスキルで扱います。

依存パッケージでは何を確認しますか?

パッケージに既知の脆弱性がないかを監査します。

詳細

作者による元の説明

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

人気

GitHubのスター
29k
ランキング
#9505
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル