Logo de Cerberus Re

Cerberus Re

Comunidade
OwenPawl
cerberus-re

Cerberus RE is a local Apple-focused reverse-engineering workbench for building a repeatable three-headed static/dynamic/instrumentation loop around Ghidra, LLDB, and Frida. Trigger when the user wants static Ghidra analysis, LLDB dynamic/live analysis, Frida instrumentation, decompilation, runtime traces, or structured reversing artifacts such as functions, strings, symbols, Objective-C metadata, Swift metadata, xrefs, and runtime hits.

Visão geral

Publicado porOwenPawl
Repositóriocerberus-re-skill
Nome da habilidadecerberus-re
Estrelas
219
Forks
23
Arquivos incluídos
255
LicençaApache-2.0
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.

  • Arquivos incluídos: 255

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

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

Instalação

Instale a habilidade de IA Cerberus Re 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/OwenPawl/cerberus-re-skill/tree/main
  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/OwenPawl/cerberus-re-skill.git \
  .claude/skills/cerberus-re
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Cerberus Re 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 Cerberus Re 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, Cerberus Re 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á.

Cerberus RE

Use this skill for local Apple-focused reverse engineering with a repeatable three-headed static/dynamic/instrumentation loop around Ghidra, LLDB, and Frida. The public CLI is cerberus-re.

long-run-agent is a strongly encouraged companion dependency for substantial work. Use it to preserve mission state, claims, artifacts, failures, friction, and next actions while Cerberus RE handles static, dynamic, and instrumentation evidence. Cerberus RE can still run alone for bounded one-off tasks.

When driving through MCP, prefer cerberus-mcp. It exposes the core RE loop and composes long-run-agent's namespaced mission_* tools into the same local stdio server when the companion package or installed skill is available. Check mission_companion_status before assuming durable mission tools exist.

Operating Contract

  • Resolve the repo or installed skill root first. If working from this checkout, run commands from the repo root.
  • Prefer the Python CLI: cerberus-re or python3 -m cerberus_re_skill.
  • Prefer cerberus-mcp when the host supports MCP; use its typed envelope status rather than parsing prose.
  • Keep generated evidence as JSON or Markdown artifacts, not terminal-only output.
  • Use durable workspace paths under ~/ghidra-projects.
  • Preserve dirty worktree changes you did not make.
  • Capture runtime validation before treating runtime behavior as understood.
  • Keep ranking and prioritization framed as safe reverse-engineering workflow.
  • Runtime attach is guarded. Frida rechecks stay artifact-only unless --allow-runtime is explicit.
  • Mutating bridge calls require write=true; destructive bridge calls also require destructive=true.

First Commands

bash
git status --short --branch
python3 scripts/install_dependencies.py
cerberus-re doctor
cerberus-re bootstrap
cerberus-re bridge audit

Run python3 scripts/install_dependencies.py --execute from a fresh checkout when the host needs a local virtual environment or macOS Homebrew-managed dependencies.

Static Workflow

bash
cerberus-re import analyze <binary-or-source-ref> <project_name>
cerberus-re export apple-bundle <project_name> <program_name>
cerberus-re export xpc-surface <project_name> <program_name>

If a standalone Mach-O target fails while Ghidra resolves reexported dependencies, retry with:

bash
cerberus-re import analyze <binary-or-source-ref> <project_name> --skip-macho-reexports

Record that the resulting static view excludes reexport behavior.

For universal Mach-O targets, choose the intended runtime slice explicitly:

bash
cerberus-re import analyze <binary-or-source-ref> <project_name> --macho-arch arm64e

This stages a thin copy under the Cerberus RE workspace before import.

If a specific Ghidra analyzer reproducibly blocks import, disable only that named analyzer and record the exception in the evidence report:

bash
cerberus-re import analyze <binary-or-source-ref> <project_name> \
  --disable-analysis-option "Objective-C Selector Trampoline Analysis"

Runtime Workflow

Use LLDB when you can launch or safely attach to a process:

bash
cerberus-re validate lldb-trace <project> <program> \
  --launch-cmd <binary> \
  --symbols '<symbol-or-selector>' \
  --binary <binary>

Pass multiple LLDB trace symbols either by repeating --symbols or with a comma-separated value; both forms are normalized before tracing.

For dyld-cache-backed Apple frameworks, the live /System/Library/...framework path may be a stub without an on-disk Mach-O. Use the extracted dyld-cache binary for --binary, while the launch or attach target remains the live process under test.

If the static export under test is saved outside the default export tree, add:

bash
--function-inventory /path/to/function_inventory.json

Use Frida for guarded instrumentation:

bash
cerberus-re frida diagnose --target <binary>
cerberus-re frida validate-scripts --symbol '<ObjC method>' --class-name <Class>
cerberus-re frida recheck-attach \
  --target <owned-binary> \
  --symbol '<ObjC method>' \
  --capture-returns \
  --allow-runtime
cerberus-re frida recheck-attach \
  --attach-pid <pid> \
  --selector '<ObjC selector>' \
  --class-filter '<ClassSubstring>' \
  --require-runtime-hit \
  --allow-runtime
cerberus-re frida recheck-attach \
  --attach-pid <pid> \
  --selector '<ObjC selector>' \
  --exact-class '<KnownClass>' \
  --require-runtime-hit \
  --allow-runtime
cerberus-re frida recheck-attach \
  --target <owned-binary> \
  --native-symbol 'ExampleFramework!late_loaded_export' \
  --native-wait-seconds 3 \
  --native-arg-preview \
  --require-runtime-hit \
  --allow-runtime
cerberus-re frida gadget-probe <owned-binary> \
  --gadget /path/to/FridaGadget.dylib \
  --script /path/to/autonomous-probe.js \
  --stable-target-key <stable-owned-target-id> \
  --output-dir /tmp/cerberus-gadget-evidence \
  --allow-runtime

Prefer Module!symbol for native exports when the intended framework or dylib is known. Unqualified native symbols remain supported, but an installed zero-hit unqualified hook is ambiguous evidence and should usually be retried with module qualification. Exact ObjC method hooks (--symbol), selector-wide ObjC hooks (--selector), and native hooks (--native-symbol or --address) are separate Frida recheck modes; run separate commands when you need coverage from more than one mode. Native hooks always preserve raw register strings under args; --native-arg-preview adds bounded best-effort string/module previews for readable values. If task-port attachment is blocked for an owned analysis copy, gadget-probe can launch that copy with a content-addressed Gadget, configuration, and autonomous script through DYLD_INSERT_LIBRARIES. Treat this as launch-injection evidence, not proof that ordinary Frida attach works. for those registers without making signature-correctness claims.

After LLDB or Frida emits runtime_hits.json, correlate it back to static context:

bash
cerberus-re export runtime-enrich <project> <program> <runtime_hits.json>

Bridge Workflow

Use the live bridge when an interactive loop is faster than repeated exports:

bash
cerberus-re bridge arm <project_name> [program_name]
cerberus-re bridge sessions
cerberus-re bridge call /functions/search '{"query":"SomeFunction"}'
cerberus-re bridge call /decompile '{"function":"SomeFunction"}'
cerberus-re bridge close --project <project_name>

XPC Workflow

  • Export XPC surfaces with cerberus-re export xpc-surface.
  • If an XPC report shows zero counts, check warnings and missing_input_count before treating it as real absence evidence; pass --bundle-dir or explicit export JSON paths when using an Apple bundle saved outside the default export directory.
  • Merge surfaces with cerberus-re export xpc-graph.
  • Use owner hints only until imported owner evidence confirms or disproves them.
  • Generate harness skeletons only after service, protocol, and endpoint evidence are concrete enough to rank.
  • Recover NSXPCInterface factory/configuration evidence before planning a bounded remote method probe.

Validation

Before a milestone push or release closeout, run:

bash
python3 -m unittest discover -s tests
python3 -m compileall cerberus_re_skill scripts tests
python3 -m cerberus_re_skill polish release --mode quick --strict-command-surface
git diff --check
python3 -m cerberus_re_skill bridge audit

Add targeted live/static validation when changing Ghidra, LLDB, or Frida behavior.

References

Read only the file needed for the current task:

  • references/operating-workflows.md: detailed workflows and fallback rules.
  • references/command-surface.md: public CLI catalog.
  • references/output-files.md: artifact paths, schemas, and report meanings.
  • references/raw-bridge-recipes.md: bridge endpoint payloads and examples.
  • references/frida-diagnostics.md: Frida policy and validation guidance.
  • references/apple-macho-notes.md: Apple Mach-O and dyld target notes.
  • references/builtins.md: built-in Ghidra script caveats.
  • references/triage-outputs.md: triage output details.
  • references/triage-patterns.json: triage heuristic categories.
  • references/mcp-server.md: local stdio tools, composition, gates, and audit behavior.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

e mais 140.

Perguntas frequentes

O que a habilidade de IA Cerberus Re faz?

Cerberus RE is a local Apple-focused reverse-engineering workbench for building a repeatable three-headed static/dynamic/instrumentation loop around Ghidra, LLDB, and Frida. Trigger when the user wants static Ghidra analysis, LLDB dynamic/live analysis, Frida instrumentation, decompilation, runtime traces, or structured reversing artifacts such as functions, strings, symbols, Objective-C metadata, Swift metadata, xrefs, and runtime hits.

Por que usar Cerberus Re no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Cerberus Re é 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 Cerberus Re no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/OwenPawl/cerberus-re-skill/tree/main. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Cerberus Re?

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 Cerberus Re?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Cerberus Re 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 Cerberus Re é gratuita?

Sim. A habilidade é publicada no GitHub por OwenPawl sob a licença Apache-2.0. 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 👇