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

secure-github-actionssecure GitHub actions 搜索

Agent Skill

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。它适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。

总安装

416

周安装

17

GitHub Stars

5

下载量

133
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/vechain/vechain-ai-skills --skill secure-github-actions

简介

用于围绕 GitHub Actions 工作流提供安全配置建议与漏洞检测。

  • 适合在 CI/CD 流水线设计中识别权限滥用、硬编码与注入风险。
  • 通过 GitHub 仓库安装,使用 npx 命令分析 workflow 文件并输出改进意见。
  • 涉及 Secrets 使用时需严格限制作用域,禁止跨仓库共享敏感令牌。
  • secure-github-actions 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Secure GitHub Actions

Create, review, and audit GitHub Actions workflows with supply-chain-safe defaults.

CRITICAL RULES

  1. Read the relevant reference files first. When the user's request involves any topic in the reference table below, read those files before doing anything else. Briefly mention which files you are reading so the user can confirm the skill is active.
  2. Pin every non-local uses: reference to a full 40-character commit SHA. Treat @v*, @main, @master, branch names, and short SHAs as security debt.
  3. Never invent SHAs. Resolve them from GitHub or ask the user; if you cannot verify the right SHA, say so explicitly instead of fabricating one.
  4. Do not introduce pull_request_target unless the user explicitly requires it and the workflow never executes untrusted code with secrets or write permissions.
  5. Never splice untrusted context directly into shell. Move ${{github.*}}, ${{inputs.*}}, and similar values into env: and quote the shell variable.
  6. Set explicit least-privilege permissions:. Default to read-only and grant write scopes only to the specific job that needs them.
  7. Always run the full audit checklist when asked to "audit", "harden", or "security scan" a repository.
  8. Never silently skip a check. If a tool is missing (gitleaks, trufflehog, zizmor), report it and suggest installation.
  9. After compaction or context loss, re-read this SKILL and the reference files before continuing.

Operating procedure

For writing or editing workflows

  1. Classify the task: new workflow, workflow edit, reusable workflow, or security review.
  2. Read references/workflows.md and references/secure-patterns.md.
  3. Audit every uses: reference:

- Local actions like ./.github/actions/foo are fine. - Step-level actions and job-level reusable workflows must use full SHAs. - Preserve the human release label in a comment (e.g., # v4.3.1).

  1. Audit the trust boundary:

- Prefer pull_request over pull_request_target. - Assume forked PR data is untrusted. - Avoid exposing secrets or write tokens to untrusted code paths.

  1. Audit every run: step:

- Pass dynamic values through env:. - Quote shell variables. - Prefer simple shell over adding a new third-party action when either works.

  1. Add or update maintenance guardrails:

- Ensure Dependabot updates the github-actions ecosystem. - Call out transitive risk: pinned actions can still reference mutable actions internally.

For full security audits

When asked to "audit", "harden", or "security scan" a repository:

  1. Read references/audit-checklist.md.
  2. Execute all checks, using subagents to parallelize where possible.
  3. Present findings grouped by severity: CRITICAL, HIGH, MEDIUM, LOW.
  4. End with a summary table and prioritized action list.

Reference files

TopicFileRead when...
Workflow hardening patternsreferences/workflows.mdCreating, editing, or reviewing workflows
Secure workflow templatesreferences/secure-patterns.mdWriting new workflows from scratch
Full audit procedurereferences/audit-checklist.mdRunning a security audit on a repository
SHA pinning automationreferences/sha-pinning.mdPinning actions to commit SHAs

Tools

The audit checks for these tools and reports missing ones:

ToolPurposeInstall
gitleaksScan git history for secretsbrew install gitleaks
trufflehogDeep secrets scanning with verificationbrew install trufflehog
zizmorStatic analysis for GH Actionsbrew install woodruffw/tap/zizmor
ghGitHub CLI for API callsbrew install gh

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.18%
按下载量换算47

Claude

29.49%
按下载量换算39

Cursor

19.99%
按下载量换算27

Gemini CLI

10.1%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

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

安装前确认

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

来源信息

继续浏览同类 Skills