Supply Chain Hardeningのロゴ

Supply Chain Hardening

組織
latiotech
supply-chain-hardening

Use this skill when the user asks to "harden supply chain", "secure dependencies", "pin versions", "audit packages", "secure GitHub Actions", "harden containers", "secure IaC", "audit extensions", "secure AI models", "audit pickle files", "scan for secrets", "harden credentials", "rotate tokens", "audit credentials", "sign commits", "commit signing", "signed commits", "gitsign", or needs guidance on software supply chain security, dependency management, credential hygiene, secret scanning, or preventing supply chain attacks. Also trigger when the user mentions tools like Grype, Cosign, Sigstore, Checkov, Hadolint, Zizmor, ModelScan, SafeTensors, Betterleaks, gitsign, or references SLSA.

概要

公開者latiotech
リポジトリsecure-supply-chain-skills
スキル名supply-chain-hardening
スター
29
フォーク
4
同梱ファイル
8
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 8個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    latiotechがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Supply Chain Hardening」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/latiotech/secure-supply-chain-skills/tree/main/skills/supply-chain-hardening
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/latiotech/secure-supply-chain-skills.git /tmp/secure-supply-chain-skills
mkdir -p .claude/skills
cp -r /tmp/secure-supply-chain-skills/skills/supply-chain-hardening .claude/skills/supply-chain-hardening
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでSupply Chain Hardeningを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にSupply Chain Hardeningを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Supply Chain Hardeningは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Supply Chain Security Hardening

Secure the software supply chain across seven domains: third-party packages, container images, GitHub Actions, infrastructure-as-code, AI/ML models, IDE extensions, and credentials/secrets.

How to Use This Skill

This skill provides two modes of operation:

Action Commands - Take Realistic Action by Default

These commands scan the codebase, make changes directly (pin hashes, fix configs, resolve SHAs), and explain each change. They are the default way to harden a project.

  • /audit-supply-chain - Full audit with auto-fixes for critical items
  • /harden-packages - Pin versions, disable scripts, secure registries
  • /harden-containers - Pin digests, enforce non-root, add .dockerignore
  • /harden-actions - Pin SHAs, set permissions, fix injection, add Dependabot
  • /harden-iac - Pin modules/providers, generate lockfiles, flag provisioners
  • /harden-ai-ml - Fix unsafe deserialization, pin model sources
  • /harden-ide-extensions - Audit extensions, remove secrets, add devcontainer
  • /harden-credentials - Scan for leaked secrets, set up pre-commit hooks, harden credential hygiene
  • /audit-credentials - Find long-lived tokens, hardcoded secrets, credentials to rotate or replace
  • /update-pins - Check all pinned deps/actions/images for newer versions and update them
  • /minimize - Remove unused dependencies and convert Dockerfiles to multi-stage builds

Walkthrough Commands - Guided Setup for Advanced Items

These commands are interactive walkthroughs for configurations that require steps outside the codebase (cloud provider setup, Kubernetes config, GitHub settings). They should be run separately.

  • /setup-oidc - Replace cloud credentials with OIDC tokens
  • /setup-image-signing - Sign images with Cosign/Sigstore
  • /setup-tag-rulesets - Protect tags from force-push attacks
  • /setup-admission-control - Enforce image policies in Kubernetes
  • /setup-sbom - Generate SBOMs and provenance attestations
  • /setup-commit-signing - Set up commit and tag signing (SSH, GPG, or gitsign)
  • /setup-runner-monitoring - Add runtime detection to CI runners

Reference Material

  1. Read the checklist at references/checklist.md to understand what needs to be done
  2. Read the tool reference at references/tools.md for open source and paid options
  3. Read the implementation configs at references/package-configs.md for copy-paste configurations
  4. Read the container guidance at references/container-configs.md for Dockerfile and image hardening
  5. Read the actions guidance at references/actions-configs.md for GitHub Actions hardening
  6. Read the iac guidance at references/iac-configs.md for Terraform/IaC hardening
  7. Read the credential guidance at references/credentials-configs.md for secret scanning and credential hygiene
  8. Read the AI/ML guidance at references/ai-ml-configs.md for model security configurations

Core Principles

  1. Pin everything. Versions, digests, commit SHAs. Floating references are attack surface.
  2. Never fabricate pins. Resolve deterministically. Always resolve versions, SHAs, and digests from live sources. Use methods that produce the same result regardless of local platform or environment: docker buildx imagetools inspect for multi-arch manifest digests (not docker pull/docker inspect which are platform-specific), git ls-remote refs/tags/{tag}^{} to dereference annotated tags to commit SHAs (not the tag object SHA). If resolution fails, add a # TODO: pin comment with the exact command the user should run — never guess a value.
  3. Least privilege everywhere. Tokens, permissions, workflow scopes, container users.
  4. Verify provenance. Sign artifacts, check signatures, require attestations.
  5. Detect at runtime. Scanning at build time isn't enough - monitor what actually runs.
  6. Plan for cascading compromise. One stolen token can hit npm, PyPI, Docker Hub, and extension marketplaces simultaneously.

Domain Quick Reference

Third-Party Packages

Pin versions. Require cooldown periods. Disable install scripts. Use a registry proxy/firewall. Scan for malware. Generate SBOMs. See references/package-configs.md for language-specific configurations.

Container Images

Pin by digest. Run as non-root. Use minimal base images. Sign with Cosign. Scan continuously. Use admission controllers. See references/container-configs.md.

GitHub Actions

Pin to commit SHAs. Set explicit permissions. Audit for pull_request_target. Enable tag protection rules. Monitor runner activity. See references/actions-configs.md.

Infrastructure-as-Code

Pin module versions. Scan with Checkov/tflint. Enforce policy with OPA/Sentinel. Lock down provisioners. Require signed commits. See references/iac-configs.md.

AI/ML Models

Never load untrusted pickles. Use SafeTensors/ONNX. Verify model hashes. Scan with Picklescan/ModelScan. Sandbox model loading.

IDE Extensions

Audit installed extensions. Use osquery for fleet visibility. Enforce allowlists. Use VS Code Profiles. Run dev environments in containers.

Credentials & Secrets

Scan for leaked secrets with Betterleaks. Set up pre-commit hooks to prevent future leaks. Harden .gitignore. Rotate compromised credentials. Replace long-lived tokens with OIDC where possible. Sign commits to prevent impersonation. See references/credentials-configs.md.

When Making Changes

Action commands follow these principles:

  1. Make changes by default - pin versions, resolve SHAs, fix configs directly
  2. Explain each change as it's made - what was changed and why
  3. Don't break existing functionality - test after changes
  4. Prioritize "Do Right Now" items from the checklist before "Do Eventually" items
  5. Flag items that need manual attention separately from automated fixes
  6. Point users to walkthrough commands for advanced items that require external configuration

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Supply Chain Hardening」では何ができますか?

Use this skill when the user asks to "harden supply chain", "secure dependencies", "pin versions", "audit packages", "secure GitHub Actions", "harden containers", "secure IaC", "audit extensions", "secure AI models", "audit pickle files", "scan for secrets", "harden credentials", "rotate tokens", "audit credentials", "sign commits", "commit signing", "signed commits", "gitsign", or needs guidance on software supply chain security, dependency management, credential hygiene, secret scanning, or preventing supply chain attacks. Also trigger when the user mentions tools like Grype, Cosign, Sigs...

TypingMindでSupply Chain Hardeningを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Supply Chain Hardeningはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSupply Chain Hardeningをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/latiotech/secure-supply-chain-skills/tree/main/skills/supply-chain-hardeningを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Supply Chain Hardeningを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Supply Chain Hardeningで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSupply Chain Hardeningを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Supply Chain Hardening」は無料ですか?

はい。latiotechがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇