Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计异常

ghost-report幽灵报告

Agent Skill

ghost-report 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

28,670

周安装

1,198

GitHub Stars

397

下载量

9,641
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ghost-report(幽灵报告)
来源仓库:https://github.com/ghostsecurity/skills
仓库路径:skills/ghost-report
安装命令:
npx skills add https://github.com/ghostsecurity/skills --skill ghost-report
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ghostsecurity/skills --skill ghost-report

简介

将依赖性、机密和代码扫描结果聚合到单个优先安全报告中。

  • 将 scan-deps、scan-secrets 和 scan-code 的结果合并到一份统一的报告中,仅过滤高可信度的结果
  • 按严重性(高、中、低)和扫描类型对发现的结果进行优先级排序,内联关键问题的完整详细信息,使报告是独立的
  • 在提交级别缓存报告以避免重新生成;在运行扫描之前检查现有结果
  • 从本地缓存中提取存储库上下文(业务关键性、敏感数据类型)(如果可用)以通知风险评估

SKILL.md

Combined Security Report

You aggregate findings from all scan skills (scan-deps, scan-secrets, scan-code) into a single prioritized report. Do all work yourself — do not spawn subagents or delegate.

$ARGUMENTS


Step 0: Setup

Run this Bash command to compute paths:

repo_name=$(basename "$(pwd)") && remote_url=$(git remote get-url origin 2>/dev/null || pwd) && short_hash=$(printf '%s' "$remote_url" | git hash-object --stdin | cut -c1-8) && repo_id="${repo_name}-${short_hash}" && short_sha=$(git rev-parse --short HEAD 2>/dev/null || date +%Y%m%d) && ghost_repo_dir="$HOME/.ghost/repos/${repo_id}" && scans_dir="${ghost_repo_dir}/scans/${short_sha}" && cache_dir="${ghost_repo_dir}/cache" && skill_dir=$(find . -path '*/skills/report/SKILL.md' 2>/dev/null | head -1 | xargs dirname) && echo "scans_dir=$scans_dir cache_dir=$cache_dir skill_dir=$skill_dir"

Store scans_dir (commit-level scan directory), cache_dir, and skill_dir.


Cache Check

If <scans_dir>/report.md already exists, show:

Combined security report is at: <scans_dir>/report.md

And stop. Do not regenerate it.


Step 1: Read Repo Context

Read <cache_dir>/repo.md if it exists. Extract:

  • Business criticality
  • Sensitive data types
  • Component map

If it does not exist, continue without it — this is not an error.


Step 2: Discover Scan Results

List the contents of <scans_dir> to see which scan-type directories exist. Recognized types:

  • deps/ — SCA / dependency vulnerability scan
  • secrets/ — secrets and credentials scan
  • code/ — code security scan (SAST)

If none of these directories exist, report an error:

No scan results found in <scans_dir>. Run one or more scan skills first:
  /ghost-scan-deps
  /ghost-scan-secrets
  /ghost-scan-code

And stop.


Step 3: Collect Findings

For each scan type that exists, glob <scans_dir>/<type>/findings/*.md and read each finding file in full. Retain the complete markdown body of every finding — the report will inline this content directly so readers never need to open individual finding files.

From each finding, also extract these metadata fields for filtering and sorting:

  • ID — from ## MetadataID
  • Type — the scan type (deps, secrets, or code)
  • Severity — from ## MetadataSeverity (high, medium, low)
  • Status — from ## MetadataStatus (e.g., confirmed-exploitable, unverified, verified, rejected, clean)

Step 4: Filter and Sort

Filter: Keep only high-confidence findings:

  • For deps findings: status is confirmed-exploitable
  • For secrets findings: status is NOT clean and NOT rejected
  • For code findings: status is verified or unverified (NOT rejected)

Exclude any finding with status clean, rejected, or false-positive.

Sort the remaining findings:

  1. By severity: high first, then medium, then low
  2. Within same severity: deps before secrets before code

Step 5: Read Per-Scan Reports

For deps and secrets scan types, read <scans_dir>/<type>/report.md if present. Extract:

  • Statistics (candidates scanned, confirmed findings, false positives filtered)
  • Executive summary highlights

Note: code does not produce a report.md. For code scan coverage, count the finding files in <scans_dir>/code/findings/ directly. The "Candidates Scanned" count is the total number of finding files (all statuses). "Confirmed Findings" is the count with status verified, confirmed, or unverified. "False Positives Filtered" is the count with status rejected. Do NOT count clean file analyses from the nomination/analysis funnel — those never became findings.

If a per-scan report does not exist for deps or secrets, note it as unavailable.


Step 6: Generate Report

  1. Read <skill_dir>/report-template.md
  2. Populate the template with collected data:

- Fill Scan Information with repository name, commit SHA, date, and which scans ran - Write Executive Summary using repo context and aggregated findings - For all writing elements in this security-focused, objective and fact based report, use a neutral, human tone that balances expertise with ease of reading. Do not use emojis, em-dashes, etc. - For Critical & High findings (severity = high): inline the substantive content from each finding file directly into the report — include code snippets, assessment tables, remediation commands, and all relevant detail so the report is fully self-contained - For Medium findings: write a full subsection per finding with description, location, code context, and remediation (not a condensed table) - Omit low-severity findings (they remain in per-scan finding files only) - Fill Scan Coverage table from per-scan report statistics (for code, use finding file counts from Step 5) - Add a brief methodology note per scan type that ran (1-2 sentences drawn from per-scan reports) - Do NOT include links to per-scan reports or individual finding files — all content is inlined

  1. Write the report to <scans_dir>/report.md

Step 7: Show Output

Combined security report is at: <scans_dir>/report.md

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.86%
按下载量换算3,457

Claude

27.14%
按下载量换算2,617

Cursor

19.91%
按下载量换算1,920

Gemini CLI

9.54%
按下载量换算920

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/ghostsecurity/skills --skill ghost-report 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills