Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
vechain avatar

Secure Github Actions

  • 59 installs
  • 9 repo stars
  • Updated June 11, 2026
  • vechain/vechain-ai-skills

Helps with security tasks.

About

secure-github-actions is a Claude Code skill for security. It helps solo builders move faster with AI-assisted coding.

  • secure-github-actions
  • Security
  • AI-coding skill

Secure Github Actions by the numbers

  • 59 all-time installs (skills.sh)
  • +2 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #1,237 of 2,203 Security skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/vechain/vechain-ai-skills --skill secure-github-actions

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs59
repo stars9
Last updatedJune 11, 2026
Repositoryvechain/vechain-ai-skills

What it does

Helps with security tasks.

Files

SKILL.mdMarkdownGitHub ↗

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

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

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

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

Related skills

Securityappsec

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.