Cybersecurity Review logo

Cybersecurity Review

Community
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".

Overview

Publisherericmjl
Repositoryskills
Skill namecybersecurity-review
Stars
41
Forks
5
Bundled files
9
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 9 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by ericmjl on GitHub. Read the source before you install it.

Installation

Install the Cybersecurity Review AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/ericmjl/skills/tree/main/skills/cybersecurity-review
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cybersecurity Review in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Cybersecurity Review on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Cybersecurity Review is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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).

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Cybersecurity Review AI skill do?

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...

Why use Cybersecurity Review on TypingMind?

Because you install it once and use it with any model. Cybersecurity Review is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Cybersecurity Review in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ericmjl/skills/tree/main/skills/cybersecurity-review. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Cybersecurity Review?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Cybersecurity Review?

As many as you like. As long as a model supports skills, you can use Cybersecurity Review with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Cybersecurity Review AI skill free?

Yes. It is published on GitHub by ericmjl under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇