Rl Protect Auditのロゴ

Rl Protect Audit

組織
reversinglabs
rl-protect-audit

Deep supply chain security audit of an existing project. Runs the full rl-appsec pipeline: assessor → triager → investigator → remediator, with phase gates between each stage. TRIGGER when: the user asks to audit, assess, or review a project directory's installed dependencies for supply chain risk. SKIP when: the user is installing, adding, or updating a package — use rl-protect-scan for that. SKIP when: the user asks about a single package or an existing report — use rl-protect-scan or rl-protect-interpret for that.

概要

公開者reversinglabs
リポジトリrl-protect-skills
スキル名rl-protect-audit
スター
28
フォーク
0
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

This skill audits the supply chain security of an existing project directory — it assesses what is already installed, not what is about to be added. For pre-install package gating, use rl-protect-scan instead.

Run the full pipeline on the project directory the user specified. Follow the steps below in order. Never run two agents simultaneously — sequential execution prevents concurrent writes to the shared remediation plan.

Step 1 — Locate plan.py

Glob: **/rl-appsec-agent/scripts/plan.py

{plan.py} is a placeholder throughout — substitute the absolute path returned by Glob.

All pipeline artifacts live under {project_dir}/.rl-protect/ (in categorized subfolders: plan/, reports/, cache/, tmp/). The remediation plan is always written to {project_dir}/.rl-protect/plan/remediation-plan.db. Use this as {plan_path} in all phase-gate checks below.


Step 2 — Run the assessor

Spawn rl-appsec-assessor. Pass the project directory and any context the user provided.

The assessor auto-discovers scan targets with find-manifests.py and prefers lock files over source manifests (scanning a lock at release,transitive — release alone under-scans even a lock, but on a lock the transitive walk is cheap+exact) — you don't need to point it at a specific manifest.

Wait for the assessor to complete before proceeding.


Step 3 — Phase gate: check for untriaged CVEs

bash
python {plan.py} findings --plan {plan_path} --untriaged
  • Empty array → skip to Step 5.
  • Non-empty → proceed to Step 4.

Step 4 — Run the triager

Spawn rl-appsec-triager. Pass the plan path and project directory.

Wait for the triager to complete before proceeding.


Step 5 — Phase gate: check for uninvestigated malware

bash
python {plan.py} findings --plan {plan_path} --uninvestigated

Filter the result for entries where type is "threats" or "malware".

  • None → skip to Step 7.
  • Any found → proceed to Step 6.

Step 6 — Run the investigator

Spawn rl-appsec-investigator. Pass the plan path and project directory.

Wait for the investigator to complete before proceeding.


Step 7 — Explore alternate versions

Run the alternate-version explorer so the report can show, per package, which versions resolve its findings and how far each package is behind latest. It runs here — after triage (and investigation) so dismissed findings are gone, and before remediation.

bash
python {explore_versions} --plan {plan_path} --actionable

--actionable scopes the (expensive) version_options exploration to triage survivors — the packages that still have an OPEN/exploitable CVE an upgrade could resolve — so it never scans upgrade versions for the packages triage already cleared as not-reachable/accepted/resolved (usually the large majority). op_risk (how far behind latest) is still computed for every package, so the staleness view is unaffected. This is what prepares the remediator: the packages it will act on are exactly the ones now carrying scan-validated version_options.

{explore_versions} is from python {plan.py} locate (key explore_versions). It scans temp manifests with version expressions (no registry APIs), diffs via diff-behavior.py, and writes version_options/op_risk into the plan. It is deterministic and cached, so re-running is cheap. Network access to the package registry (through rl-protect's resolver) is required; if the scans cannot reach it, note that version exploration was skipped and continue. Running this before remediation also lets the remediator pick its upgrade target from version_options (the smallest version that resolves the findings, scan-validated) rather than re-deriving it.


Step 7b — Triage candidate-version deltas (only if any exist)

The explorer applied the installed version's decisions to every alternate-version candidate so they are judged by the same rules (a not-imported package's candidates are fully cleared package-wide; same-CVE findings inherit our verdict). The only thing it can't transfer is a genuinely-new CVE a candidate introduces that the installed version never had — those stay unevaluated and are listed in each candidate card's needs_triage. Left alone, such a candidate shows a raw scanner verdict the user can't compare against.

Check whether any deltas remain:

bash
python {plan.py} version-options --plan {plan_path}

If every candidate's card.needs_triage is empty, skip this step — the common case. If any is non-empty, spawn rl-appsec-triager in candidate-delta mode (its Step 8): instruct it to triage the candidate-version deltas in needs_triage, recording each verdict with plan.py triage-version. This is reachability-only — no rl-protect re-scan, no manifest change — so every version ends up evaluated equally and the user can judge an upgrade before taking it.


Step 8 — Remediation gate

Only spawn rl-appsec-remediator if the user explicitly requested fixes. If the request is ambiguous, ask before proceeding — the remediator edits manifest and lock files.

If remediation was requested, spawn rl-appsec-remediator with the plan path and wait for it to complete.


Step 9 — Report

Summarize: which stages ran, which were skipped and why, and the overall verdict from the final plan state.

bash
python {plan.py} findings --plan {plan_path}

Step 10 — Offer the interactive report (optional)

The audit produced findings the user may want to triage, suppress, or accept by clicking rather than by typing. The rl-protect-run-report skill opens the HTML report and wires its action buttons back to this session.

  • If the user already asked for an interactive/clickable report (or to "open the report"), invoke rl-protect-run-report for {project_dir} now.
  • Otherwise, offer it in one line and invoke it only if they say yes — e.g. "Want me to open the interactive report so you can triage/suppress/accept findings by clicking? (starts a local bridge + a watch loop)".

Do not invoke it unprompted: it auto-opens a browser and starts a polling loop that spends some idle tokens, so it needs the user's go-ahead. If there were no findings at all, skip this step.

よくある質問

AIスキル「Rl Protect Audit」では何ができますか?

Deep supply chain security audit of an existing project. Runs the full rl-appsec pipeline: assessor → triager → investigator → remediator, with phase gates between each stage. TRIGGER when: the user asks to audit, assess, or review a project directory's installed dependencies for supply chain risk. SKIP when: the user is installing, adding, or updating a package — use rl-protect-scan for that. SKIP when: the user asks about a single package or an existing report — use rl-protect-scan or rl-protect-interpret for that.

TypingMindでRl Protect Auditを使うメリットは何ですか?

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

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

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

Rl Protect Auditを使えるAIモデルはどれですか?

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

Rl Protect Auditで使えるAIモデルの数に制限はありますか?

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

AIスキル「Rl Protect Audit」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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