Auditing Ota And Firmware Update Channel Trustのロゴ

Auditing Ota And Firmware Update Channel Trust

組織
UnboundCompute
auditing-ota-and-firmware-update-channel-trust

OTAまたはファームウェア更新チャネルで、デバイスが本来拒否すべきイメージを受け入れないか監査します。署名が検証されず攻撃者が任意のファームウェアをインストールできる更新、通信経路上の攻撃者が差し替え可能な認証されていない通信経由の更新、バージョンの単調増加を強制しないため既知の脆弱性を含む古い署名済みイメージにロールバックされる問題、認証せずに信頼される更新サーバーやマニフェストURL、秘密情報が漏れリバースエンジニアリングを容易にする暗号化されていないイメージなどが対象です。IoTおよび組み込みデバイス、ルーター、ウェアラブル、現場でファームウェアまたはアプリケーション更新を取得・インストールするあらゆる製品を扱います。デバイスが取得したファームウェアをインストールし、実行前のイメージ検証がセキュリティ境界となる場合に使用してください。署名されていない、差し替えられた、またはロールバックされた更新がソースで、デバイス上での永続的なコード実行がシンクです。署名検証、通信の認証、ロールバック防止の欠如が脆弱性です。

Add to TypingMind

概要

公開者UnboundCompute
リポジトリsecurity-agent-skills
スキル名auditing-ota-and-firmware-update-channel-trust
スター
27
フォーク
8
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/UnboundCompute/security-agent-skills.git /tmp/security-agent-skills
mkdir -p .claude/skills
cp -r /tmp/security-agent-skills/skills/auditing-ota-and-firmware-update-channel-trust .claude/skills/auditing-ota-and-firmware-update-channel-trust
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

関連するリクエストがあるとすぐに、モデルが自動的にAuditing Ota And Firmware Update Channel Trustを読み込みます。

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

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

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

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

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

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

スキルの指示

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

Auditing OTA and firmware update channel trust: whatever a device installs, it runs forever

A firmware update is the most powerful thing that can happen to a device: whatever image it installs becomes the code it runs, persistently, with full control of the hardware. So the update channel is the highest-value boundary on the device, and the only thing standing between an attacker and permanent control is whether the device verifies an image before it installs it. The failures are a checklist of that verification. If the device does not verify a cryptographic signature over the image against a key it trusts, an attacker installs arbitrary firmware. If it fetches the image over an unauthenticated transport, an on-path attacker swaps the image in flight even if the server is honest. If it does not enforce version monotonicity, an attacker rolls the device back to an older, still-signed image with known vulnerabilities and re-exploits it. If it trusts an update server or manifest URL without authenticating it, an attacker who controls or spoofs that endpoint feeds it a malicious image. And an unencrypted image leaks embedded secrets and hands a reverse engineer the code. The audit follows an update from where the device learns of it to where it installs it and checks that the image is signature-verified, transport-authenticated, and version-monotonic before it ever runs. You audit this by trying to get the device to install an image it should refuse.

When to use

  • A device fetches and installs firmware or application updates in the field (IoT, embedded, router, wearable).
  • The update image may not be signature-verified, or may be fetched over an unauthenticated transport.
  • The device may allow rollback to older signed images, or trust an update server or manifest URL without authentication.

Scope check

Test update channels only on devices and infrastructure you own or are authorized to assess, in a controlled environment. Feeding a device a crafted image or intercepting its update traffic can brick hardware and exercise a real install path, so use your own devices and test servers and never push firmware to or intercept updates for a device that is not yours. If you can't name the authorization, stop.

The loop

  1. Establish how the device verifies an image before installing it first. Name the intended checks: a signature over the whole image verified against a trusted key, an authenticated transport to an authenticated server, a version-monotonicity rule that refuses older images, and whether the image is encrypted. This is the false-positive killer: a device that verifies a signature against a trusted key, fetches over an authenticated transport from an authenticated server, refuses rollback below its current version, and ships an encrypted image is protecting the channel. Name the intended verification, then try to defeat each check.

  2. Test signature verification. Offer the device a modified or unsigned image and confirm it refuses to install. Alter a byte of a signed image and confirm the signature check fails closed. A device that installs an image whose signature it does not verify (or verifies against a key an attacker can supply) accepts arbitrary firmware, the core bug.

  3. Test the transport and server authentication. Determine how the device fetches the image and the update manifest, and whether the transport authenticates the server (not just encrypts) so an on-path attacker cannot swap the image or redirect the fetch. An unauthenticated transport or a manifest URL trusted without authentication lets an on-path or spoofed server feed a malicious image even when signatures exist but are checked weakly.

  4. Test rollback protection. Offer an older, still-validly-signed image with a known vulnerability and confirm the device refuses it because it enforces version monotonicity. A device that accepts any signed image regardless of version can be rolled back and re-exploited through a bug that was already fixed.

  5. Check image confidentiality and secret exposure. Determine whether the image is encrypted and whether it embeds secrets (keys, credentials, tokens). An unencrypted image hands a reverse engineer the code and any embedded secrets, easing exploit development and revealing keys that may protect other devices.

  6. Confirm and record. Confirm on your own device by installing a modified or unsigned image, swapping the image over an unauthenticated transport, or rolling back to a vulnerable signed version, in a controlled environment and without touching a device that is not yours. Kill the lead if the device verifies a signature against a trusted key, fetches over an authenticated transport from an authenticated server, enforces version monotonicity, and encrypts the image. Record the unsigned, swapped, or rolled-back update, the persistent code execution on the device, and the missing signature check, transport authentication, or rollback protection.

Where update-channel trust leaks

  • No signature verification. A device that installs an image without verifying a signature against a trusted key runs whatever an attacker supplies, permanently.
  • Unauthenticated transport. Fetching the image or manifest over a transport that does not authenticate the server lets an on-path attacker swap the image in flight.
  • Trusted but unauthenticated server or manifest. A device that trusts an update endpoint or manifest URL without authenticating it takes a malicious image from a spoofed or compromised source.
  • No rollback protection. Accepting any signed image regardless of version lets an attacker roll back to an older signed build with a known vulnerability and re-exploit it.
  • Unencrypted image. A plaintext image leaks embedded secrets and hands a reverse engineer the code, easing exploitation of this and sibling devices.

Worked example (a confirm and a kill)

Confirm. An IoT device fetches its firmware from a fixed URL over an unauthenticated transport and checks only a CRC of the image, not a cryptographic signature. On a test bench, an on-path attacker serves a modified image with a correct CRC; the device installs it and runs attacker-controlled firmware persistently. Confirmed arbitrary firmware install via missing signature verification and unauthenticated transport, critical, remediation = verify a cryptographic signature over the whole image against a trusted key before install, fetch over an authenticated transport from an authenticated server, and treat the CRC as integrity-only, never as authentication.

Kill. The device verifies a cryptographic signature over the whole image against a key in its trust store before installing, fetches the image and manifest over an authenticated transport from an authenticated server, refuses any image whose version is not greater than the running one, and ships the image encrypted. A modified image fails the signature check, a swapped image fails transport authentication, and an older signed image is refused by the monotonicity rule. Killed, kill_reason = "image is signature-verified against a trusted key over an authenticated transport with enforced version monotonicity and encryption; no unsigned, swapped, or rolled-back image installs."

Rationalizations to reject

  • "The image has a checksum." → A CRC or hash is integrity against corruption, not authentication against an attacker who recomputes it; require a cryptographic signature against a trusted key.
  • "It updates over TLS." → Confirm the transport authenticates the server (validates the certificate) and that the device does not fall back to plaintext; encryption without server authentication still allows a swap.
  • "It only installs signed images." → Confirm it also enforces version monotonicity; an older signed image with a known bug is a valid signature and a rollback attack.
  • "The update server is ours." → An on-path attacker or a spoofed endpoint sits between the device and your server; the device must authenticate the server and the image, not assume the endpoint is honest.
  • "Nobody will extract the firmware." → Firmware is routinely dumped from flash; an unencrypted image leaks secrets and code, so encrypt it and never rely on the image staying private.

Executing this in practice

You need how the device learns of and fetches an update (server, manifest, transport), how it verifies the image (signature and trusted key, or only a checksum), whether it enforces version monotonicity, and whether the image is encrypted. On a test bench, offer modified, unsigned, swapped, and older-signed images and observe what installs. Reading the update client and boot verification shows the intended checks; an image that installs when it should be refused shows which check is missing.

Related

  • auditing-ble-and-gatt-authorization - the live-control channel of the same class of device; GATT authorization and update-channel trust are the two main remote surfaces of an embedded device.
  • hunting-firmware-secrets-and-debug-interfaces - an unencrypted image and a device that embeds keys leak the very secrets that should protect the update channel; the two failures compound.
  • hunting-supply-chain-risks - a firmware image is a supply-chain artifact; signing, provenance, and version control are the same trust applied to what a device installs.
  • auditing-declarative-authorization - who may push an update and to which device is an authorization decision the server side of this channel must enforce alongside the device-side verification.
  • FINDING-SCHEMA.md - source = the unsigned, swapped, or rolled-back update, sink = the persistent code execution on the device, evidence = the missing signature check, transport authentication, or rollback protection.

よくある質問

AIスキル「Auditing Ota And Firmware Update Channel Trust」では何ができますか?

OTAまたはファームウェア更新チャネルで、デバイスが本来拒否すべきイメージを受け入れないか監査します。署名が検証されず攻撃者が任意のファームウェアをインストールできる更新、通信経路上の攻撃者が差し替え可能な認証されていない通信経由の更新、バージョンの単調増加を強制しないため既知の脆弱性を含む古い署名済みイメージにロールバックされる問題、認証せずに信頼される更新サーバーやマニフェストURL、秘密情報が漏れリバースエンジニアリングを容易にする暗号化されていないイメージなどが対象です。IoTおよび組み込みデバイス、ルーター、ウェアラブル、現場でファームウェアまたはアプリケーション更新を取得・インストールするあらゆる製品を扱います。デバイスが取得したファームウェアをインストールし、実行前のイメージ検証がセキュリティ境界となる場合に使用してください。署名されていない、差し替えられた、またはロールバックされた更新がソースで、デバイス上での永続的なコード実行がシンクです。署名検証、通信の認証、ロールバック防止の欠如が脆弱性です。

TypingMindでAuditing Ota And Firmware Update Channel Trustを使うメリットは何ですか?

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

TypingMindにAuditing Ota And Firmware Update Channel Trustをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-ota-and-firmware-update-channel-trustを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Auditing Ota And Firmware Update Channel Trustを使えるAIモデルはどれですか?

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

Auditing Ota And Firmware Update Channel Trustで使えるAIモデルの数に制限はありますか?

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

AIスキル「Auditing Ota And Firmware Update Channel Trust」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る
affaan-mのロゴ

Agent Architecture Audit

affaan-m
コミュニティ人気

エージェントやLLMアプリケーション向けのフルスタック診断です。12層のエージェントスタックを対象に、ラッパーのリグレッション、メモリ汚染、ツール利用規律の欠如、隠れた修復ループ、レンダリングの破損を監査します。重要度順の問題点と、コードを中心とした修正案を提示します。エージェントアプリケーション、自律ループ、LLMを活用した機能を開発する方に必須です。

39.1K
261.1K
指示
表示
NousResearchのロゴ

Antigravity Cli

NousResearch
組織人気

Antigravity CLI(agy)のプラグイン、認証、サンドボックスを操作します。

53.5K
250.4K
1ファイル
表示
langgeniusのロゴ

Backend Code Review

langgenius
組織人気

ユーザーが`api/`配下のバックエンドコードのレビューまたは監査を明示的に依頼した場合にのみ使用します。保留中の変更、特定ファイル、貼り付けられた差分のレビューに対応します。実装のみの依頼には使用しないでください。…

24.9K
157.6K
4ファイル
表示
langgeniusのロゴ

Frontend Code Review

langgenius
組織人気

ユーザーが`web/`または`packages/dify-ui/`配下のフロントエンドコードのレビューまたは監査を明示的に依頼した場合にのみ使用します。保留中の変更、特定ファイル、貼り付けられた差分のレビューに対応します。実装のみの依頼には使用しないでください。…

24.9K
157.6K
8ファイル
表示

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

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