github-actions-hardening

github-actions-hardening is a skill for Claude Code from devantler-tech/agent-plugins. It costs 191 tokens per session (2,353 once invoked), scanned A, a copy of github-actions-hardening, Apache-2.0.

A security review workflow for GitHub Actions, the service that runs automated jobs such as tests and deployments for GitHub repositories.

In plain words
What is it for?
It is for reviewing or writing files in .github/workflows, checking triggers and token permissions, handling secrets and cloud authentication, and assessing self-hosted runners.
Why use it?
It checks risks that ordinary code linters may miss, including unsafe untrusted input, overly broad permissions, changeable action versions, and workflows that run code with too much access.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agentic-engineering plugin — 95 skills, 4 agents, 13 MCP servers shipped together

Good fit It is for reviewing or writing files in .github/workflows, checking triggers and token permissions, handling secrets and cloud authentication, and assessing self-hosted runners.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/devantler-tech/agent-plugins/github-actions-hardening
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add devantler-tech/agent-plugins --skill github-actions-hardening
Clone the repo
git clone --depth 1 https://github.com/devantler-tech/agent-plugins

Made for: Claude Code.

Or install agentic-engineering, the plugin that ships this one along with the rest of its 95 skills, 4 agents, 13 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for github-actions-hardening

README.md
[![agentmods](https://agentmods.dev/badge/skills/devantler-tech/agent-plugins/github-actions-hardening/github.svg)](https://agentmods.dev/skills/devantler-tech/agent-plugins/github-actions-hardening)
Your own site
<a href="https://agentmods.dev/skills/devantler-tech/agent-plugins/github-actions-hardening"><img src="https://agentmods.dev/badge/skills/devantler-tech/agent-plugins/github-actions-hardening/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for github-actions-hardening

Your own site · 80×15
<a href="https://agentmods.dev/skills/devantler-tech/agent-plugins/github-actions-hardening"><img src="https://agentmods.dev/badge/skills/devantler-tech/agent-plugins/github-actions-hardening.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 191 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,353 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 97% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00191 $0.02353
Opus 5.5 $0.00076 $0.00941
Sonnet 5.5 $0.00038 $0.00471
Haiku 4.5 $0.00019 $0.00235

Measured 25d ago against content hash 966196d4a357, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

github-actions-hardening scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 25d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

97% identical to github-actions-hardening — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/agentic-engineering/skills/github-actions-hardening/SKILL.md · 165 lines

How it starts

The opening of the file, as written. The whole thing — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GitHub Actions Hardening

A focused security reviewer for GitHub Actions workflows. It reasons about the Actions-specific threat model — where trust boundaries live in trigger types, token scopes, and string interpolation — rather than the application-code vulnerabilities a general security scanner looks for. Most workflow risks are invisible to language linters because the dangerous code is the YAML itself and the way GitHub expands ${{ }} expressions into a shell before your script runs.

When to Use This Skill

Use this skill when the request involves:

  • Reviewing, auditing, or hardening any file under .github/workflows/
  • Authoring a new workflow and wanting it secure by default
  • A workflow that uses pull_request_target, workflow_run, or issue_comment triggers
  • Questions about GITHUB_TOKEN permissions or the permissions: key
  • Pinning actions to commit SHAs vs tags vs branches
  • Handling untrusted input (issue titles, PR bodies, branch names, commit messages) in run: steps
  • OIDC / cloud authentication from Actions, or secret handling in CI
  • Self-hosted runners on public repositories
  • Any request like "is this workflow safe?", "secure my CI", or "review this GitHub Action"

The Core Insight

In a workflow, ${{ <expr> }} is expanded by the runner into the script before the shell executes it. So a step like:

- run: echo "Title: ${{ github.event.issue.title }}"

is not passing a variable — it is pasting attacker-controlled text directly into your shell command. An issue titled "; <attacker-command> # is concatenated into the script and executed. This single mechanism is the most common real-world Actions vulnerability, and models routinely generate it. Treat every ${{ }} that contains data an outside contributor can influence as a code-injection sink.

Execution Workflow

Follow these steps in order for every workflow reviewed.

Step 1 — Map the Triggers and Trust Level

Read every on: trigger and classify the workflow's privilege:

Read the full file on GitHub · 165 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 25d ago First seen · 165 lines · 191 tokens per session scan A 966196d4a357

Subscribe to this mod's changes

github-actions-hardening is a skill published in the GitHub repository devantler-tech/agent-plugins (3 stars, last pushed 2d ago), licensed Apache-2.0. It adds 191 tokens to every session and 2,353 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 97% identical to github-actions-hardening, differing in 8 lines, and is treated as a copy.

Related

github-actions-hardening compared with skills from other repositories

github-actions-hardening next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
github-actions-hardeningdevantler-tech/agent-pluginsSkill32d agoApache-2.0A191Claude Code
seo-change-monitorsigistry/marketplaceSkill33d agoMITA77Claude Code
fhir-ci-qualitysigistry/marketplaceSkill33d agoMITA65Claude Code, Codex
gha-failure-taxonomysigistry/marketplaceSkill33d agoMITA83Claude Code
infra-standardsPrabhdeepSingh/claude-pluginsSkill421d agoMITA64Claude Code
claude-plugin-repo-ci-releasewan-huiyan/claude-ecosystem-hygieneSkill13mo agoMITA308Claude Code
ci-cd-pipelinemartian56/claude-engineerSkill155mo agoMITA64Claude Code