Supply Chain Hardening logo

Supply Chain Hardening

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

Overview

Publisherlatiotech
Repositorysecure-supply-chain-skills
Skill namesupply-chain-hardening
Stars
29
Forks
4
Bundled files
8
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 8 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by latiotech on GitHub. Read the source before you install it.

Installation

Install the Supply Chain Hardening AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/latiotech/secure-supply-chain-skills/tree/main/skills/supply-chain-hardening
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Supply Chain Hardening in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Supply Chain Hardening on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Supply Chain Hardening is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Supply Chain Hardening AI skill do?

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

Why use Supply Chain Hardening on TypingMind?

Because you install it once and use it with any model. Supply Chain Hardening is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Supply Chain Hardening in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/latiotech/secure-supply-chain-skills/tree/main/skills/supply-chain-hardening. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Supply Chain Hardening?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Supply Chain Hardening?

As many as you like. As long as a model supports skills, you can use Supply Chain Hardening with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Supply Chain Hardening AI skill free?

Yes. It is published on GitHub by latiotech under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇