Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
工具/GitHubGitHub/projectdiscovery/nuclei-action
漏洞扫描器Web安全DevSecOps
GitHubprojectdiscovery/nuclei-action

nuclei-action

使用 Nuclei 进行漏洞扫描

查看仓库网站
288803514天前Kitploit 审核通过
分享

nuclei

此 Nuclei Action 能让你轻松地通过 GitHub Action 编排 Nuclei。将你所有的 Nuclei 模板 集成到强大的持续安全工作流中,并使其成为你安全软件开发生命周期的一部分。

Nuclei Action

兼容性

  • v3.0.0+ 运行于 Node.js v24,采用 CLI 优先的接口,接受 inputs(如 version、install-only、args 等),并且 outputs 仅输出至 stdout 和 stderr。
  • v2.0.0+ 和 v2.x 依赖 action 特定的输入,如 target、urls、templates、workflows、flags,以及各种导出器/报告开关;v2.x 在 2026年3月1日 之后弃用且不再受支持。升级前请参阅 MIGRATION.md。
  • v1+ 运行于 Node.js v16,使用 target、urls、templates、workflows、output、json、include-rr、config、report-config、github-report、github-token、sarif-export、markdown-export 和 flags 等输入。

输入

namedescriptionrequireddefault
version

使用特定版本进行设置("latest" 或格式 "vX.Y.Z")。

truelatest
install-only

仅安装 Nuclei,不运行扫描。

falsefalse
args

传递给 Nuclei 的参数。

false""
config

Nuclei 配置文件内容。

false""
config-path

Nuclei 配置文件的路径。

false""
cache

启用对 Nuclei 缓存、配置、模板和浏览器的缓存。

falsetrue
token

GitHub Token。用于从 GitHub 获取 Nuclei 发行版。

true${{ github.token }}

[!IMPORTANT]

  • config 和 config-path 不能同时设置。
  • args 始终优先于 config 或 config-path。

[!NOTE] 启用调试日志时,此 action 会自动向 Nuclei 添加 -debug 和 -verbose 标志。

输出

namedescription
stdout

运行 Nuclei 的标准输出

stderr

运行 Nuclei 的标准错误

运行

此 action 是一个 node24 action。

用法

- uses: projectdiscovery/nuclei-action@v3
  with:
    version:
    # Setup with specific version ("latest" or in format "vX.Y.Z").
    #
    # Required: true
    # Default: latest

    install-only:
    # Install Nuclei without running scans.
    #
    # Required: false
    # Default: false

    args:
    # Arguments to pass to Nuclei.
    #
    # Required: false
    # Default: ""

    config:
    # Nuclei configuration file content.
    #
    # Required: false
    # Default: ""

    config-path:
    # Path to Nuclei configuration file.
    #
    # Required: false
    # Default: ""

    cache:
    # Enable caching of Nuclei caches, configs, templates, and browser.
    #
    # Required: false
    # Default: true

    token:
    # GitHub Token. It is used to fetch Nuclei releases from GitHub.
    #
    # Required: true
    # Default: ${{ github.token }}

示例

默认设置(最新版 Nuclei)

- uses: projectdiscovery/nuclei-action@v3
  with:
    args: -u http://scanme.sh

使用特定版本进行设置

- uses: projectdiscovery/nuclei-action@v3
  with:
    version: v3.6.0
    args: -u http://scanme.sh

仅设置或安装 Nuclei,不运行扫描

- uses: projectdiscovery/nuclei-action@v3
  with:
    version: v3.6.0
    install-only: true

- run: nuclei -version

或仅安装且不使用缓存:

- uses: projectdiscovery/nuclei-action@v3
  with:
    version: v3.6.0
    install-only: true
    cache: false

- run: nuclei -version

使用 Nuclei 配置进行设置

- uses: projectdiscovery/nuclei-action@v3
  with:
    version: latest
    config: |
      target:
        - http://scanme.sh
      sarif-export: results.sarif

或通过变量传递:

- uses: projectdiscovery/nuclei-action@v3
  with:
    version: latest
    config: ${{ vars.NUCLEI_CONFIG }}

或通过仓库管理的配置文件:

- uses: projectdiscovery/nuclei-action@v3
  with:
    version: latest
    config-path: path/to/nuclei.yaml

使用 GitHub 代码扫描 进行设置

- uses: projectdiscovery/nuclei-action@v3
  with:
    version: latest
    config: |
      target:
        - http://scanme.sh
      sarif-export: results.sarif

- uses: github/codeql-action/upload-sarif@v3
  if: success()
  with:
    sarif_file: results.sarif
    category: nuclei-results

使用报告功能进行设置

- uses: projectdiscovery/nuclei-action@v3
  with:
    args: -u http://scanme.sh
    config: |
      report-config: issue-tracker-config.yaml
  env:
    GITHUB_BASE_URL: https://localhost:8443/github
    GITHUB_USERNAME: test-username
    GITHUB_OWNER: test-owner
    GITHUB_TOKEN: ${{ secrets.GITHUB_PAT }}
    GITHUB_PROJECT_NAME: test-project
示例 issue-tracker-config.yaml(仓库文件):
github:
 # base-url is the optional self-hosted GitHub application url
 base-url: $GITHUB_BASE_URL # read from environment variable
 # username is the username of the GitHub user
 username: $GITHUB_USERNAME # read from environment variable
 # owner is the owner name of the repository for issues
 owner: $GITHUB_OWNER # read from environment variable
 # token is the token for GitHub account
 token: $GITHUB_TOKEN # read from environment variable
 # project-name is the name of the repository
 project-name: $GITHUB_PROJECT_NAME # read from environment variable

 # issue-label is the label of the created issue type
 issue-label: bug
 # allow-list sets a tracker level filter to only create issues for templates with
 # these severity labels or tags (does not affect exporters. set those globally)
 allow-list:
   severity: high, critical
   tags: network
 # deny-list sets a tracker level filter to never create issues for templates with
 # these severity labels or tags (does not affect exporters. set those globally)
 deny-list:
   severity: low
 # duplicate-issue-check flag to enable duplicate tracking issue check.
 duplicate-issue-check: false

请参阅 https://github.com/projectdiscovery/nuclei/blob/dev/cmd/nuclei/issue-tracker-config.yaml。

贡献

我们欢迎贡献!请参阅我们的贡献指南了解如何开始。

许可证

MIT。更多详情请参阅 LICENSE。

下载工具

最受欢迎

查看全部 →

发现我们社区最常用的工具。

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 终极 OSINT 工具包:调查图谱、置信度评分、别名家族、地图、时间线和报告。49 个模块、400+ 个站点,无需 API 密钥。

    772
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock 一键执行应用(CVE-2026-43499)

    505
  • 3

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    420
  • 4

    redforge

    cybersecurity91/redforge

    浏览器端红队工具包,包含 102 个离线工具,用于侦察、载荷生成、凭据攻击、加密、编码和交战报告。

    345
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AI原生网络安全的行动系统——在这里,意图转化为受治理的执行,证据沉淀为运营记忆,每一次操作都让下一次更出色。

    260
  • 6

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    251

探索所有工具

浏览我们的工具集合

查看所有工具 →