Langsung ke konten
Skillpedia
Keamanan40k Β· #7420

security-review

Fungsinya

Memindai kode Anda untuk mencari celah keamanan, seperti password yang terekspos atau kerentanan yang bisa dimanfaatkan peretas untuk masuk ke sistem. Tool ini menganalisis kode seperti yang dilakukan seorang pakar keamanan.

Kapan dipakai

  • βœ“Saat Anda ingin memastikan kode Anda aman.
  • βœ“Jika Anda curiga ada informasi sensitif (seperti password) di dalam kode.
  • βœ“Untuk memeriksa celah yang sudah dikenal dan bisa dieksploitasi.

Link skill

https://github.com/github/awesome-copilot/blob/main/skills/security-review/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/github/awesome-copilot/blob/main/skills/security-review/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œPindai kode saya untuk mencari kerentanan keamanan.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Tool ini membaca kode Anda, memahami bagaimana informasi mengalir di dalamnya, lalu mencari titik lemah. Setelah itu, tool ini memberikan saran perbaikan dan menunjukkan seberapa serius setiap masalah yang ditemukan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Security Review

An AI-powered security scanner that reasons about your codebase the way a human security researcher would β€” tracing data flows, understanding component interactions, and catching vulnerabilities that pattern-matching tools miss.

When to Use This Skill

Use this skill when the request involves:

  • Scanning a codebase or file for security vulnerabilities
  • Running a security review or vulnerability check
  • Checking for SQL injection, XSS, command injection, or other injection flaws
  • Finding exposed API keys, hardcoded secrets, or credentials in code
  • Auditing dependencies for known CVEs
  • Reviewing authentication, authorization, or access control logic
  • Detecting insecure cryptography or weak randomness
  • Performing a data flow analysis to trace user input to dangerous sinks
  • Any request phrasing like "is my code secure?", "scan this file", or "check my repo for vulnerabilities"
  • Running /security-review or /security-review <path>

How This Skill Works

Unlike traditional static analysis tools that match patterns, this skill:

  1. Reads code like a security researcher β€” understanding context, intent, and data flow
  2. Traces across files β€” following how user input moves through your application
  3. Self-verifies findings β€” re-examines each result to filter false positives
  4. Assigns severity ratings β€” CRITICAL / HIGH / MEDIUM / LOW / INFO
  5. Proposes targeted patches β€” every finding includes a concrete fix
  6. Requires human approval β€” nothing is auto-applied; you always review first

Execution Workflow

Follow these steps in order every time:

Step 1 β€” Scope Resolution

Determine what to scan:

  • If a path was provided (/security-review src/auth/), scan only that scope
  • If no path given, scan the entire project starting from the root
  • Identify the language(s) and framework(s) in use (check package.json, requirements.txt, go.mod, Cargo.toml, pom.xml, Gemfile, composer.json, etc.)
  • Read references/language-patterns.md to load language-specific vulnerability patterns

Step 2 β€” Dependency Audit

Before scanning source code, audit dependencies first (fast wins):

  • Node.js: Check package.json + package-lock.json for known vulnerable packages
  • Python: Check requirements.txt / pyproject.toml / Pipfile
  • Java: Check pom.xml / build.gradle
  • Ruby: Check Gemfile.lock
  • Rust: Check Cargo.toml
  • Go: Check go.sum
  • Flag packages with known CVEs, deprecated crypto libs, or suspiciously old pinned versions
  • Read references/vulnerable-packages.md for a curated watchlist

Step 3 β€” Secrets & Exposure Scan

Scan ALL files (including config, env, CI/CD, Dockerfiles, IaC) for:

  • Hardcoded API keys, tokens, passwords, private keys
  • .env files accidentally committed
  • Secrets in comments or debug logs
  • Cloud credentials (AWS, GCP, Azure, Stripe, Twilio, etc.)
  • Database connection strings with credentials embedded
  • Read references/secret-patterns.md for regex patterns and entropy heuristics to apply

Step 4 β€” Vulnerability Deep Scan

This is the core scan. Reason about the code β€” don't just pattern-match. Read references/vuln-categories.md for full details on each category.

Injection Flaws

  • SQL Injection: raw queries with string interpolation, ORM misuse, second-order SQLi
  • XSS: unescaped output, dangerouslySetInnerHTML, innerHTML, template injection
  • Command Injection: exec/spawn/system with user input
  • LDAP, XPath, Header, Log injection

Authentication & Access Control

  • Missing authentication on sensitive endpoints
  • Broken object-level authorization (BOLA/IDOR)
  • JWT weaknesses (alg:none, weak secrets, no expiry validation)
  • Session fixation, missing CSRF protection
  • Privilege escalation paths
  • Mass assignment / parameter pollution

Data Handling

  • Sensitive data in logs, error messages, or API responses
  • Missing encryption at rest or in transit
  • Insecure deserialization
  • Path traversal / directory traversal
  • XXE (XML External Entity) processing
  • SSRF (Server-Side Request Forgery)

Cryptography

  • Use of MD5, SHA1, DES for security purposes
  • Hardcoded IVs or salts
  • Weak random number generation (Math.random() for tokens)
  • Missing TLS certificate validation

Business Logic

  • Race conditions (TOCTOU)
  • Integer overflow in financial calculations
  • Missing rate limiting on sensitive endpoints
  • Predictable resource identifiers

…

Pertanyaan umum

Apa itu kerentanan keamanan?

Kerentanan keamanan adalah celah dalam kode yang bisa dimanfaatkan oleh pihak jahat untuk mengakses informasi, merusak sistem, atau mendapatkan kendali tanpa izin.

Apa itu injection (SQL injection, XSS)?

Ini adalah jenis serangan ketika penyerang menyisipkan perintah berbahaya ke dalam data yang diproses program, sehingga program menjalankan tindakan yang tidak diinginkan.

Apa itu secret yang terekspos (API key, password)?

Ini adalah detail autentikasi (seperti kunci akses atau password) yang ditulis langsung di dalam kode, sehingga siapa pun yang melihat kode tersebut dapat dengan mudah menemukan dan menggunakannya.

Detail

Deskripsi asli dari pembuat

AI-powered codebase security scanner that reasons about code like a security researcher β€” tracing data flows, understanding component interactions, and catching vulnerabilities that pattern-matching tools miss. Use this skill when asked to scan code for security vulnerabilities, find bugs, check for SQL injection, XSS, command injection, exposed API keys, hardcoded secrets, insecure dependencies,

repo: github/awesome-copilot

Popularitas

Bintang GitHub
40k
Peringkat
#7420
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa