Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

nuclei-scanner

БесплатноБез исполняемых скриптовНе проверен

Scans web applications and infrastructure for vulnerabilities with Nuclei, a template-based security scanner. Use when someone asks to "scan for…

TerminalSkillsот TerminalSkills★ 221 звезда на GitHub

Об этом скилле

Nuclei Scanner

Overview

Nuclei is a fast, template-based vulnerability scanner by ProjectDiscovery. Instead of running monolithic scanners, Nuclei uses YAML templates — each one checks for a specific vulnerability, misconfiguration, or exposure. The community repository nuclei-templates holds more than 13,000 templates (release v10.4.9) covering CVEs, default credentials, exposed panels, misconfigurations, and more. Runs in CI, scripted pipelines, or manual assessments.

Nuclei sends real attack-shaped requests. Run it only against systems you own or have written permission to test; the examples below use a local app and a staging host that stand for your own.

When to Use

  • Security assessment of web applications before deployment
  • Checking infrastructure for known CVEs and misconfigurations
  • Continuous security scanning in CI/CD pipelines
  • Authorized penetration tests and bug bounty programs, within the published scope
  • Compliance checks (exposed admin panels, default credentials, SSL issues)

Instructions

Setup

# Homebrew (macOS or Linux)
brew install nuclei

# Or with Go 1.26+ (the `go` line of go.mod at v3.11.1)
go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest

# Or a release archive — file names carry the version, and the checksum must match before unpacking
VERSION=3.11.1
curl -sSLO "https://github.com/projectdiscovery/nuclei/releases/download/v${VERSION}/nuclei_${VERSION}_linux_amd64.zip"
curl -sSLO "https://github.com/projectdiscovery/nuclei/releases/download/v${VERSION}/nuclei_${VERSION}_checksums.txt"
sha256sum -c "nuclei_${VERSION}_checksums.txt" --ignore-missing   # nuclei_3.11.1_linux_amd64.zip: OK
unzip "nuclei_${VERSION}_linux_amd64.zip" nuclei -d ~/.local/bin      # any directory on PATH

# Install or update the community templates (stored in ~/nuclei-templates)
nuclei -update-templates
nuclei -version

A Docker image is published as projectdiscovery/nuclei (tags latest, v3.11.1).

Basic Scanning

# Scan a single target with the default template set
nuclei -u http://127.0.0.1:3000

# Scan with specific severity
nuclei -u https://staging.fernhill.test -severity critical,high

# Scan multiple targets from a file (one URL or host per line)
nuclei -l targets.txt -severity critical,high,medium

# Scan specific template categories
nuclei -u https://staging.fernhill.test -tags cve,misconfig,exposure

# Scan with rate limiting (the default is 150 requests per second)
nuclei -u https://staging.fernhill.test -rate-limit 50 -concurrency 10

# See what a filter would run, without sending anything
nuclei -tags exposure -severity critical,high -tl

The default set leaves out templates tagged dos, fuzz, bruteforce and a few others listed in .nuclei-ignore in the Nuclei config directory (~/.config/nuclei on Linux); -itags brings a tag back. Template types that need extra capabilities are opt-in: -headless (browser), -code (runs local code), -dast (fuzzing).

Each finding is one line — template id, protocol, severity, matched URL — as in Example 1. -new-templates runs only the templates added in the latest templates release.

Output

nuclei -u https://staging.fernhill.test -severity critical,high -o findings.txt \
  -jsonl-export findings.jsonl -sarif-export findings.sarif -markdown-export report/

-jsonl (-j) prints one JSON object per finding to stdout; the v2 flag -json no longer exists. Useful keys: template-id, info.name, info.severity, host, matched-at, extracted-results, timestamp. Add -omit-raw -omit-template to leave the full request, response and template out of each object.

Custom Templates

# templates/exposed-env.yaml — Check for exposed .env files
id: exposed-env-file

info:
  name: Exposed .env File
  author: terminal-skills
  severity: high
  description: Checks if .env file is publicly accessible
  tags: misconfig,exposure

http:
  - method: GET
    path:
      - "{{BaseURL}}/.env"
    matchers-condition: and
    matchers:
      - type: word
        words:
          - "DB_PASSWORD"
          - "API_KEY"
          - "SECRET"
        condition: or
      - type: status
        status:
          - 200
# templates/api-key-leak.yaml — Detect API keys in responses
id: api-key-in-response

info:
  name: API Key Leaked in Response
  author: terminal-skills
  severity: medium
  tags: exposure,api

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/config"
      - "{{BaseURL}}/api/settings"
      - "{{BaseURL}}/config.json"
    matchers:
      - type: regex
        regex:
          - "sk_live_[a-zA-Z0-9]{24}"     # Stripe live key
          - "AKIA[0-9A-Z]{16}"            # AWS access key
          - "ghp_[a-zA-Z0-9]{36}"         # GitHub token

nuclei -validate -t templates/ checks the syntax ("All templates validated successfully") and -t templates/ runs only your own templates, as in Example 2. An extractors block prints

Полный SKILL.md на GitHub

Установить nuclei-scanner в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

_scores.json

FAQ

Что делает скилл nuclei-scanner?

Scans web applications and infrastructure for vulnerabilities with Nuclei, a template-based security scanner. Use when someone asks to "scan for vulnerabilities", "security scan my website", "Nuclei scanner", "find CVEs", "automated security testing", "vulnerability assessment", or "check for misconfigurations" on systems they own or are authorized to test. Covers template scanning, custom templates, CI integration, and severity-based reporting.

Как установить скилл nuclei-scanner?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл nuclei-scanner запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить nuclei-scanner с