Chuyển đến nội dung
Skillpedia
Bảo mật29k · #9505

security-pen-testing

Skill này làm gì

Skill này khiến agent kiểm thử một ứng dụng hoặc API để tìm điểm yếu bảo mật trước khi kẻ tấn công tìm ra. Skill dành cho lập trình viên và nhân viên bảo mật có quyền kiểm thử hệ thống.

Khi nào nên dùng

  • ✓Khi bạn có quyền kiểm thử một ứng dụng web hoặc API để tìm lỗ hổng.
  • ✓Khi bạn muốn kiểm tra các phụ thuộc có lỗ hổng đã biết.
  • ✓Khi bạn cần một báo cáo kiểm thử xâm nhập bằng văn bản cho một dự án.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/skills/security-pen-testing/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy chạy một kiểm thử bảo mật có ủy quyền trên API của chúng tôi và kiểm tra các vấn đề OWASP Top 10 cùng gói phụ thuộc rủi ro.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent chạy quét lỗ hổng và phụ thuộc, kiểm tra bí mật bị lộ và rà soát các rủi ro OWASP Top 10 thường gặp. Sau đó nó viết báo cáo kiểm thử xâm nhập.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

Câu hỏi thường gặp

Tôi có cần được phép trước không?

Có. Skill chỉ dành cho kiểm thử có ủy quyền, nên bạn cần văn bản chấp thuận cho hệ thống bạn kiểm thử.

Đây có giống kiểm tra tuân thủ không?

Không. Kiểm tra tuân thủ do một skill vận hành bảo mật riêng đảm nhiệm.

Skill kiểm tra gì trong các phụ thuộc?

Skill kiểm toán các gói của bạn để tìm lỗ hổng đã biết.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
29k
Vị trí xếp hạng
#9505
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự