Logo de Rl Protect Audit

Rl Protect Audit

Organização
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.

Visão geral

Publicado porreversinglabs
Repositóriorl-protect-skills
Nome da habilidaderl-protect-audit
Estrelas
28
Forks
0
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por reversinglabs no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Rl Protect Audit no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/reversinglabs/rl-protect-skills/tree/main/plugins/rl-protect-audit/skills/rl-protect-audit
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Rl Protect Audit em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Rl Protect Audit automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Rl Protect Audit não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Perguntas frequentes

O que a habilidade de IA Rl Protect Audit faz?

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.

Por que usar Rl Protect Audit no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Rl Protect Audit é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Rl Protect Audit no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/reversinglabs/rl-protect-skills/tree/main/plugins/rl-protect-audit/skills/rl-protect-audit. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Rl Protect Audit?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Rl Protect Audit?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Rl Protect Audit com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Rl Protect Audit é gratuita?

Sim. A habilidade é publicada no GitHub por reversinglabs sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇