Sota Devsecopsのロゴ

Sota Devsecops

コミュニティ
martinholovsky
sota-devsecops

State-of-the-art DevSecOps and software supply chain security (2026). Applies when building or auditing CI/CD pipelines, GitHub Actions workflows, supply chain controls, SBOM generation, SAST/secret-scanning gates, dependency management, container builds, container/artifact registries, IaC (Terraform), GitOps, deployment strategy, and a pre-commit hook that passes locally but fails in CI. Trigger keywords: CI/CD, pipeline, GitHub Actions, supply chain, SBOM, SAST, dependency, container build, container registry, registry security, Zot, Harbor, ECR, GAR, ACR, GHCR, immutable tags, pull-through cache, IaC, Terraform, deployment, provenance, SLSA, cosign, dependabot, renovate, unused, unreached or dead dependency, dependency removal, slow CI, CI cache, path filters, sharding, unmaintained upstream, pre-commit, local vs CI. Use for BOTH setting up new pipelines and auditing existing ones. Not for application code vulnerabilities (use sota-code-security) or in-cluster runtime hardening (use sota-kubernetes).

概要

公開者martinholovsky
リポジトリSOTA-skills
スキル名sota-devsecops
スター
28
フォーク
3
同梱ファイル
16
ライセンスCC-BY-4.0
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 16個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

SOTA DevSecOps & Supply Chain Security

Purpose

This skill encodes the 2026 state of the art for securing the path from source code to running workload: pipeline hardening, dependency and artifact supply chain, build integrity, analysis gates, IaC/deployment security, and runtime policy enforcement. It is defensive: every rule exists to prevent a real, named class of compromise (token theft, workflow injection, dependency confusion, tag mutation, state leakage, bypassable gates).

Two operating modes. Pick one explicitly at the start of the task.

BUILD mode

Use when creating or extending pipelines, Dockerfiles, Terraform, GitOps configs, or dependency tooling.

  1. Identify which stages of the source-to-production path the task touches (source → CI → build → artifact → deploy → runtime) and read the matching rules files from the index below BEFORE writing config.
  2. Default to the most restrictive option that works: read-only tokens, OIDC over stored keys, SHA pins, digest pins, frozen lockfile installs, non-root distroless runtime. Loosen only with a written reason in a comment.
  3. Every gate you add must be a required check that fails closed, and ships a committed known-bad that proves it can (rules/09 §2). A scanner whose job is continue-on-error: true is documentation, not a control.
  4. Ship the verification path with the signing path: if you generate provenance/signatures/ SBOMs, also wire the consumer (admission policy, gh attestation verify, cosign verify in CD). Unverified attestations are dead weight.
  5. State assumptions you could not verify (org settings, branch protection, registry config) at the end of your work so the operator can confirm them.

AUDIT mode

Coverage: every rules/ file's Audit checklist applies in AUDIT mode. Mark one not applicable only with its reason in the report — never skip a file because the thing it checks for is absent, since that absence may be the finding.

Use when reviewing existing pipelines, workflows, Dockerfiles, IaC, or dependency posture.

Process: enumerate workflows/build files/IaC; for each, walk the relevant Audit checklist at the end of every rules file; report findings in the format below; do not report style nits as security findings.

Severity conventions

SeverityMeaningExamples
CriticalRemote compromise of pipeline, secrets, or artifacts is achievable now by an external partypull_request_target checking out PR head with secrets; script injection from PR title into run:; long-lived cloud admin keys in repo secrets used by fork-triggered workflow; unauthenticated registry push
HighCompromise achievable by a contributor, or a single upstream event awayActions pinned to mutable tags; no branch protection on default branch; CI token with write-all; no lockfile / unfrozen installs; Terraform applies from un-reviewed plans with admin creds
MediumWeakens defense in depth or detectionMissing SBOM/provenance; scanners non-blocking; no drift detection; mutable image tags in deploy manifests; no secret-scanning push protection
LowHygiene, hardening headroomMissing .dockerignore; unpinned dev-only tooling; verbose CI logs; missing CODEOWNERS on workflows

Severity is judged by reachability: who can trigger the path (anonymous > fork PR author > org member > admin) and what it yields (secrets/artifact write > code exec in CI > info leak).

Finding format

[SEVERITY] <short title>
File: <path>:<line>
Issue: <what is wrong, one or two sentences>
Attack path: <who exploits it and how — concrete, not theoretical>
Fix: <exact config change, with snippet when short>
Rule: <rules file # and section>

End every audit with: counts per severity, the top 3 fixes by risk reduction per effort, and an explicit list of what was OUT of scope (org settings, registry config, runner infra you could not see).

Rules index

FileRead this when...
rules/01-pipeline-security.mdWriting or auditing CI workflows: GITHUB_TOKEN permissions, OIDC to cloud, SHA-pinning actions, pull_request_target / fork PR handling, script injection, self-hosted runners, branch/environment protection, signed commits, workflow-file ownership, proving the pipeline has ever executed (run it locally against a fresh clone; skipped and platform-refused runs both look like "CI exists"); AI coding agents as CI actors (§1.5a) — and why §1.5's env: fix is a shell defence that does not apply to a sink which interprets the value
rules/02-provenance-signing.mdArtifact integrity: SLSA levels, build provenance, in-toto attestations, Sigstore/cosign keyless signing, GitHub artifact attestations, npm/PyPI trusted publishing, release and tag integrity, verification at deploy time
rules/03-dependencies.mdAnything touching package manifests or lockfiles: frozen installs, dependency review gates, dependency confusion and registry scoping, typosquatting and malicious-package indicators, SBOM (CycloneDX/SPDX), vuln scanning with osv-scanner/grype, VEX and triage discipline, Renovate/Dependabot strategy (including a pin no bot can parse, which is a freeze rather than a pin), vendoring
rules/10-inert-dependencies.mdThe declared-but-not-reached sweep: a dependency, module or plugin that is installed, pinned, scanned and never runs. Reachability from a real entrypoint rather than import presence; the per-ecosystem tools and the blind spot each one has; deletion-as-proof (no tool's silence is evidence); the leverage ratio; upstream health fetched from a live primary source and reported as dates, not adjectives; the four-bucket classification and the do-not-reimplement list; and why "unused" is an absence claim that needs two independent methods
rules/04-build-containers.mdDockerfiles and build systems: hermetic/reproducible builds, multi-stage builds, build secrets, base image strategy (distroless/Chainguard, digest pinning), image scanning, registry security, immutable tags
rules/05-analysis-gates.mdThe scanners themselves: SAST (Opengrep/CodeQL), secret scanning and push protection, IaC scanning (checkov/trivy/tfsec), DAST, license compliance, and flaky-test discipline; the PR gate stack
rules/09-gates-that-hold.mdA warning on a PASSING run may have no path to a human — pre-commit discards a passing hook's output entirely (rules/11 §4) · Whether any of it actually gates — a property of the pipeline, not the scanner. What SSDF/CRA/Scorecard/SLSA do and don't require (all want a record the scan ran, none want evidence it could have failed, so a negative control is a house rule); required checks and bypass patterns; a gate whose scope shrank under an innocent refactor; a gate only gates if failing it makes the artifact unconsumable — build to a candidate identifier the deploy watcher provably cannot match, promote by same-digest retag after the last gate; a verdict that dies with the executor (/dev/termination-log, budgeted from the container count) so the operator gets a cause instead of exit code 1; and reproducing the gate's exact invocation rather than a convenient equivalent
rules/11-after-the-gate-fails.mdRe-running a failed check destroys the evidence of why it failed (§4a) · The sibling of rules/09: that file asks whether a gate can fail and whether failing matters; this one starts after it went red. A verdict that lives only in a garbage-collected log does not exist (§4, /dev/termination-log and its per-container byte budget), reproducing the gate's own invocation rather than an equivalent (§5: the pre-commit hook that passes locally and fails in CI), a bespoke watcher inheriting the publishing conventions of what it watches (§6), and archiving a red run's log before anything re-runs — a fixed log path is a single-slot buffer, and a list of "unexplained intermittent failures" is often a list of runs whose evidence was overwritten
rules/06-iac-deployment.mdTerraform and delivery: state security, plan/apply separation with review, saved-plan apply, drift detection, GitOps (Flux/Argo) security model, progressive delivery (canary/blue-green/flags), rollback readiness, build-once-promote-many environment parity
rules/07-runtime-ops.mdRuntime enforcement and operations: admission control for signed images (Kyverno/policy-controller), policy as code (OPA/Kyverno) with tests, Pod Security, incident-ready CI/CD audit logging, deployment traceability, backup/restore testing, break-glass; pruning, stopping or restarting a shared container runtime (§7.7): a podman machine stop ends every co-tenant's containers and their in-memory state, so list what runs and whose it is first
rules/08-registry-security.mdSecuring the container/artifact registry as infrastructure: the registry as a tier-0 supply-chain trust anchor; no anonymous push/pull and least-privilege robot/CI accounts (Zot accessControl, Harbor robots, cloud IAM); immutable tags and digest pinning to defeat tag mutation; OCI referrers for signature/SBOM/scan storage; scan-on-push and continuous re-scan; pull-through cache and image-layer dependency confusion; retention/GC that won't break running deploys; registry HA/backup; network hardening (no anonymous internet exposure, no hostNetwork, TLS)
rules/12-scm-ci-platform-governance.mdOrg-level SCM/CI settings no workflow file contains: forking of private repos and who may change visibility, org-wide (secure-method) 2FA, the fork-PR approval policy for outside contributors, and the fallback when a self-hosted runner serves a public repo — read with an owner token, since null means not visible; runner groups as the privilege boundary (labels only route), review policy as an enforced setting (last-push approval, risk-tiered reviewers), least-privilege CI administration, settings as code scanned for drift, and keeping CI plugins and workflow scanners current
rules/13-vulnerability-remediation.mdAfter a scanner reports: priority inputs the advisory lacks (workload privilege, environment, data classification), reachability beyond Go, choosing a scanner by its advisory sources; fixing a vulnerable transitive (find the parent, bump it, override last and documented); suppression discipline; interim mitigation when a fix exists but cannot be taken; backporting a fix; reporting what you find upstream privately; software no SCA tool can see
rules/14-sbom-component-inventory.mdWhat an SBOM must contain (PURL, supplier, licence, dependency edges, serial, run ID, subject metadata), the CI gate that fails an incomplete one, SBOMs as sensitive data (access control, scrubbing internal URLs and build paths before sharing), supplier SBOMs for procured software, and patched or forked components (distinct version, recorded pedigree)
rules/15-dependency-adoption.mdTaking in a new dependency, action or CI plugin: the language-neutral selection checklist, confirming origin and chain of custody (provenance attestations, trusted publishing), reading a high-risk dependency's source on adoption and its published diff on upgrade, and hardening the security-relevant defaults of what you consume
rules/16-fast-ci-without-blind-spots.mdWhen CI is slow: measure before you optimise, then cut it without making a required check pass unrun · per-job and per-step timing and the critical path (§16.1); caching keyed on what determines it, where a restore-keys match is not a hit, and when a runner may reuse a gate's own pass (§16.2); shared compiler, image-layer and remote build caches, which only trusted CI may write (§16.2a); change-scoping, where path filters leave a required check Pending and a job skipped by if: reports Success (§16.3); sharding under one always() aggregator that keeps the required name and proves every unit ran once (§16.4); cancelling superseded PR runs and timeout-minutes on every job (§16.5); and measuring equivalence before and after (§16.6)

When a task spans stages (most do), read every matching file. For a full pipeline audit, read all of them.

Top 10 non-negotiables

Violations of these are at minimum High in AUDIT mode and must never be introduced in BUILD mode:

  1. Top-level permissions: block in every workflow, starting from contents: read (or {}), elevating per job only. Never rely on org/repo default token permissions.
  2. No long-lived cloud credentials in CI secrets. Use OIDC federation with sub-claim conditions scoped to repo + ref/environment.
  3. Pin third-party actions (and base images) by full commit SHA / digest, with a version comment, updated by Renovate/Dependabot. Tags are mutable attack surface.
  4. Never combine untrusted PR code with secrets or write tokens. pull_request_target (or workflow_run) must not check out or execute PR head content; treat fork artifacts as hostile input.
  5. No untrusted expression interpolation in run: scripts. PR titles, branch names, issue bodies, commit messages go through env: indirection, quoted.
  6. Lockfiles committed; CI installs are frozen (npm ci, --frozen-lockfile, --require-hashes, --locked). A build that resolves versions at build time is not reproducible and not reviewable.
  7. Security gates are required status checks that fail closed. No continue-on-error, no || true, no unprotected default branch, no "admins bypass".
  8. Build once, promote the same digest through environments. Deploy manifests reference image digests (or signed, verified tags), never :latest.
  9. Terraform state is secret material: remote encrypted backend, least-privilege access, plan on PR with read-only creds, apply only a reviewed saved plan via a protected environment.
  10. Production admission requires verified provenance: signed images (cosign/Kyverno ImageValidatingPolicy or equivalent), non-root, pinned digests — enforce, don't just audit.

If the user asks for something that violates a non-negotiable, implement the secure alternative and explain the delta; only comply after they acknowledge the risk explicitly.

同梱ファイル

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

よくある質問

AIスキル「Sota Devsecops」では何ができますか?

State-of-the-art DevSecOps and software supply chain security (2026). Applies when building or auditing CI/CD pipelines, GitHub Actions workflows, supply chain controls, SBOM generation, SAST/secret-scanning gates, dependency management, container builds, container/artifact registries, IaC (Terraform), GitOps, deployment strategy, and a pre-commit hook that passes locally but fails in CI. Trigger keywords: CI/CD, pipeline, GitHub Actions, supply chain, SBOM, SAST, dependency, container build, container registry, registry security, Zot, Harbor, ECR, GAR, ACR, GHCR, immutable tags, pull-throu...

TypingMindでSota Devsecopsを使うメリットは何ですか?

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

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

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

Sota Devsecopsを使えるAIモデルはどれですか?

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

Sota Devsecopsは何個のAIモデルで使えますか?

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

AIスキル「Sota Devsecops」は無料ですか?

はい。martinholovskyがGitHubでCC-BY-4.0ライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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