github-actions-dependencies-security

github-actions-dependencies-security is a skill for Claude Code, Codex from eaglesakura/agent-skills. It costs 167 tokens per session (1,209 once invoked), scanned A, original, MIT.

A security guide for creating and editing GitHub Actions workflows, which are automated jobs that run tasks such as tests and deployments. It requires external actions to be pinned to exact commit identifiers.

In plain words
What is it for?
It helps identify external actions, verify their release tags with GitHub, and write workflow references fixed to 40-character commit SHAs with readable version comments.
Why use it?
It reduces the risk that a moving tag or branch silently changes the code downloaded into a workflow, including after a supply-chain attack.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/eaglesakura/agent-skills/github-actions-dependencies-security
Any agent
npx skills add eaglesakura/agent-skills --skill github-actions-dependencies-security
Clone the repo
git clone --depth 1 https://github.com/eaglesakura/agent-skills

Made for: Claude Code, Codex.

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-dependencies-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/eaglesakura/agent-skills/github-actions-dependencies-security.svg)](https://agentmods.dev/skills/eaglesakura/agent-skills/github-actions-dependencies-security)
Your own site
<a href="https://agentmods.dev/skills/eaglesakura/agent-skills/github-actions-dependencies-security"><img src="https://agentmods.dev/badge/skills/eaglesakura/agent-skills/github-actions-dependencies-security.svg" alt="Measured on agentmods" height="20"></a>
Per session 167 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,209 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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 $0.00167 $0.01209
Opus 5 $0.00084 $0.00605
Sonnet 5 $0.00033 $0.00242
Haiku 4.5 $0.00017 $0.00121

Measured 4d ago against content hash b211344e922f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

github-actions-dependencies-security 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 4d 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.

packages/github/.apm/skills/github-actions-dependencies-security/SKILL.md · 100 lines

How it starts

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

GitHub Actions / ワークフロー構築

.github/workflows の YAML を新規作成・改修するとき、セキュリティ上の基本として 外部 Action はコミット SHA にピン留めする。 フローティングタグ(@v2 等)のままにしない。

いつ使うか

  • Workflow YAML の追加・編集(uses: を含む)
  • 既存 uses: owner/action@vX を SHA ピンに直すとき
  • 使う Action の tag / Release と SHA を gh で確認するとき

いつ使わないか

  • CI 失敗のログ調査・原因切り分けだけ(必要なら本 SKILL と併用)
  • Git ブランチ命名だけ(ブランチ規約向けの SKILL がある場合はそちら)
  • アプリケーションコードやテスト実装そのもの
  • GitHub 以外の CI(CircleCI 等)だけの作業

作業手順

  1. 追加/変更する uses: を洗い出す(サードパーティ・再利用可能ワークフロー)
  2. 使いたい版(tag / Release)を決める
  3. ghその版が指すコミット SHA を取得する(タグオブジェクトの SHA で止めない)
  4. uses: owner/action@{40文字のコミットSHA} と書き、横に # owner/action@version コメントを付ける
  5. レビューしやすいよう、なぜその版かを短く残してよい

Security / SHA ピン留め

外部 Action・再利用ワークフローは、必ず コミット SHA で固定する。タグやブランチ名は動く参照であり、サプライチェーン改ざん時に意図せず新しい成果物を取り込む余地がある。

DO

  • owner/action@{commit_sha} を使う
  • # owner/action@version をコメントし、人間が版を追いやすくする
  • gh で tag / Release とコミット SHA を突き合わせる
- name: Setup mise
  uses: jdx/mise-action@{40-char-commit-sha} # jdx/mise-action@v2
# 最新 Release のタグ名
gh api repos/jdx/mise-action/releases/latest --jq '.tag_name'

# タグ一覧(概要)
gh api repos/jdx/mise-action/git/matching-refs/tags \
  --jq '.[] | {tag: (.ref | sub("^refs/tags/"; "")), sha: .object.sha, type: .object.type}'

# 指定タグが指すコミット SHA(annotated tag でもコミットまで辿る例)
TAG=v2
REF=$(gh api "repos/jdx/mise-action/git/ref/tags/${TAG}")
TYPE=$(echo "$REF" | jq -r .object.type)
SHA=$(echo "$REF" | jq -r .object.sha)
if [ "$TYPE" = "tag" ]; then
  SHA=$(gh api "repos/jdx/mise-action/git/tags/${SHA}" --jq .object.sha)
fi
echo "$SHA"
  • actions/checkout 等の公式 Action も、リポジトリ方針としてピン留め対象に含める

DO NOT

# フローティングタグのみ — サプライチェーンリスクが残る
- name: Setup mise
  uses: jdx/mise-action@v2
  • @main / @master などのブランチ参照で外部 Action を取らない
  • タグオブジェクト SHA をコミット SHA と取り違えたままピンしない(annotated tag は剥がす)

ナレッジベース

DO: ピンはコミット、コメントは人間用の版名

  • 実行の信頼は SHA、可読性はコメント、の役割分担

DO: 版を上げるときも「新 tag → 新コミット SHA」で更新する

  • コメントの版名だけ変えて SHA を放置しない

DO NOT: @v1 のようなメジャーだけ指定で「十分安全」と判断する

Read the full file on GitHub · 100 lines

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. 4d ago First seen · 100 lines · 167 tokens per session scan A b211344e922f

Subscribe to this mod's changes

github-actions-dependencies-security is a skill published in the GitHub repository eaglesakura/agent-skills (2 stars, last pushed 3d ago), licensed MIT. It adds 167 tokens to every session and 1,209 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens