Cybersecurity Reviewのロゴ

Cybersecurity Review

コミュニティ
ericmjl
cybersecurity-review

Perform comprehensive cybersecurity code review across 9 security dimensions: injection prevention, authentication/authorization, secrets management, supply chain security (including CI/CD pipeline integrity), cryptography, secure configuration/API security (including SSRF), error handling/logging/resource safety, LLM/AI application security, and infrastructure/API protocol security (GraphQL, Kubernetes, WebSockets, OAuth 2.0, gRPC). Use when reviewing newly written code, auditing existing repositories, evaluating open source projects, or assessing pull requests for security vulnerabilities. Triggers include requests like "security review", "check for vulnerabilities", "audit this code", "cybersecurity review", "is this code secure", or "check this PR for security issues".

概要

公開者ericmjl
リポジトリskills
スキル名cybersecurity-review
スター
41
フォーク
5
同梱ファイル
9
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 9個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    ericmjlがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Cybersecurity Review」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/ericmjl/skills/tree/main/skills/cybersecurity-review
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ericmjl/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/cybersecurity-review .claude/skills/cybersecurity-review
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでCybersecurity Reviewを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にCybersecurity Reviewを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Cybersecurity Reviewは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Cybersecurity Review

Perform structured security code review across 9 dimensions, adapting depth based on review mode.

Review Modes

Select the appropriate mode based on context:

ModeTriggerScopeDepth
New CodeReviewing code just written or a new featureChanged files onlyDeep on all 9 dimensions
Existing RepoAuditing an established codebaseFull repository scanPrioritize high-severity, sample for depth
Open Source EvalEvaluating a dependency or OSS projectFull project + community signalsSupply chain focus + all 9 dimensions
Pull RequestReviewing a PR for merge readinessDiff only + touched filesDeep on changed code, contextual on surrounding code

Review Workflow

Step 1: Determine scope and mode

Identify which review mode applies. For PR reviews, obtain the diff. For repo audits, identify primary languages and frameworks.

Step 2: Run through each applicable dimension

Load the relevant reference file for each dimension and assess the code:

  1. Input Validation & Injection Prevention -- See references/injection-prevention.md

    • SQL injection, XSS, command injection, path traversal, deserialization, SSTI, XXE
  2. Authentication & Authorization -- See references/auth-and-access-control.md

    • Broken auth, IDOR, privilege escalation, session management, JWT misuse
  3. Secrets & Credential Management -- See references/secrets-management.md

    • Hardcoded secrets, API keys in source, committed .env files, missing secret scanning
  4. Dependency & Supply Chain Security -- See references/supply-chain-security.md

    • Vulnerable dependencies, typosquatting, dependency confusion, lockfile integrity, CI/CD pipeline integrity, GitHub Actions SHA pinning
  5. Cryptography & Data Protection -- See references/cryptography.md

    • Weak algorithms, insecure random, hardcoded keys, missing TLS, poor password hashing
  6. Secure Configuration & API Security -- See references/config-and-api-security.md

    • Debug mode, permissive CORS, missing security headers, BOLA, mass assignment, rate limiting, SSRF kill-chain patterns
  7. Error Handling, Logging & Resource Safety -- See references/error-logging-resources.md

    • Stack trace exposure, sensitive data in logs, log injection, ReDoS, buffer overflows, TOCTOU, mishandling exceptional conditions
  8. LLM & AI Application Security -- See references/llm-ai-security.md

    • Prompt injection (direct and indirect/RAG), improper LLM output handling, excessive agency, system prompt leakage, AI supply chain
  9. Infrastructure & API Protocol Security -- See references/infra-and-protocol-security.md

    • GraphQL (introspection, depth/complexity, batching), Kubernetes/container misconfig, WebSocket security, OAuth 2.0 vulnerabilities, gRPC security

Step 3: Produce findings report

For each finding, report:

  • Severity: Critical / High / Medium / Low / Informational
  • Dimension: Which of the 7 categories
  • Location: File path and line number(s)
  • CWE: The relevant CWE identifier
  • Description: What the vulnerability is and why it matters
  • Recommendation: Specific fix with code example where possible

Step 4: Summarize

Provide a summary table of all findings by severity, plus an overall security posture assessment.

Severity Classification

SeverityCriteria
CriticalRemotely exploitable, no auth required, leads to data breach or RCE
HighExploitable with low complexity, significant impact (privilege escalation, data leak)
MediumExploitable with moderate complexity or requires some preconditions
LowMinor issue, defense-in-depth improvement, or requires significant preconditions
InformationalBest practice recommendation, no direct exploitability

Mode-Specific Guidance

New Code Review

Focus on all 9 dimensions with equal weight. Check that new code does not introduce patterns flagged in the reference files. Verify that new dependencies are pinned and scanned. For AI/LLM features, apply dimension 8. For GraphQL/K8s/WebSocket features, apply dimension 9.

Existing Repo Audit

Start with a high-level scan using grep patterns from each reference file. Prioritize Critical/High findings. Sample representative files for deeper review. Check for missing security controls (CSP headers, rate limiting, auth middleware). If the repo uses LLM APIs or ships Kubernetes manifests/Helm charts, include dimensions 8 and 9.

Open Source Evaluation

Begin with supply chain signals: maintenance activity, contributor count, security policy presence, OpenSSF Scorecard if available. Inspect GitHub Actions workflows for SHA pinning and pull_request_target usage. Then review code for all 9 dimensions. Flag any use of dangerous patterns (eval, pickle, shell=True) as higher risk since the code runs in consumer environments.

Pull Request Review

Focus on the diff. For each changed file, assess which dimensions are relevant based on the code's function. Flag new dangerous patterns. Verify that security-sensitive changes have tests. Check that secrets were not accidentally committed. For PRs touching CI/CD workflows, always check SHA pinning and pull_request_target (dimension 4).

Framework Check: Next.js Bundle-Level Data Exposure on Auth-Gated Routes

Middleware/route auth gates the PAGE, not the CHUNK. Any data (JSON snapshots, config, constants) statically imported into a CLIENT component is compiled into a /_next/* static chunk that is always publicly fetchable — middleware matchers exclude /_next/* — and the chunk URL is enumerable from any public page's build manifest of the same deployment. Authenticated-but-unauthorized users also download the chunk before any client-side gate (e.g. an isAdmin check) renders.

Check (add to dimension 2 auth review for Next.js apps): for every auth-gated route, grep its client components for static JSON/data imports and scan the bundled payload for PII (person names, emails, EINs, company/entity identifiers).

Fix evaluation order: a dynamic-import "fix" is INSUFFICIENT — the chunk still exists at a fetchable URL; only loading is deferred. Real fixes: (a) serve the data as props from a server component gated on server-side auth (complex when auth is Clerk-JWT + Convex in RSC), (b) strip sensitive values from the bundled payload at source (script-level sanitization), or (c) explicitly accept the risk with the owner's sign-off.

Instance: learn-anything /admin/gantt retreat-board.json shipped in a public chunk (MAJOR, 2026-08-16).

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Cybersecurity Review」では何ができますか?

Perform comprehensive cybersecurity code review across 9 security dimensions: injection prevention, authentication/authorization, secrets management, supply chain security (including CI/CD pipeline integrity), cryptography, secure configuration/API security (including SSRF), error handling/logging/resource safety, LLM/AI application security, and infrastructure/API protocol security (GraphQL, Kubernetes, WebSockets, OAuth 2.0, gRPC). Use when reviewing newly written code, auditing existing repositories, evaluating open source projects, or assessing pull requests for security vulnerabilities...

TypingMindでCybersecurity Reviewを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Cybersecurity Reviewはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにCybersecurity Reviewをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/ericmjl/skills/tree/main/skills/cybersecurity-reviewを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Cybersecurity Reviewを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Cybersecurity Reviewで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもCybersecurity Reviewを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Cybersecurity Review」は無料ですか?

はい。ericmjlがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇