Перейти к содержимому
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
meltedinhex/automating-analysis-with-r2pipeРеверс-инжиниринг и фаззинг

automating-analysis-with-r2pipe

⁨Automates radare2/rizin analysis through r2pipe to script function enumeration, string⁩

v1.0.03 установки+3 за 7 дней24 ЗвездыApache-2.0синхронизировано 10 часов назад

Установка

Ещё нет NotHoly CLI? Сначала установите её.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install meltedinhex/automating-analysis-with-r2pipe

Пишет в ⁦~/.notholy/skills⁩ после проверки подписи и SHA-256.

ПодписьПодписано, ed25519
38QLDiEVn2…yjWiXIAQ==CLI проверяет SHA-256 и подпись, прежде чем записать хоть один файл.
Пакетf91473a7…f46c9f62
f91473a73cb0…983df46c9f624 файла · ⁦2.8 KB⁩
ПроверкаСредний2 замечания
  • Исполняемый скрипт в составе навыкаscripts/analyst.py
  • Ссылки на внешние домены
Вся проверка
Источникgithub.com/meltedinhex/analyst-ai-pack/tree/main/skills/automating-analysis-with-r2pipe@da7600a

Эта запись еще не переведена на русский, поэтому показан текст на другом языке: English.

When to Use

  • You want to script radare2/rizin to extract functions, imports, strings, and cross-references programmatically, across one or many samples.
  • You are building a repeatable triage pipeline on top of r2's analysis commands.

Do not use r2 to debug/run the sample here — this skill drives static analysis commands (aaa, aflj, izj, iij). Run inside an isolated environment.

Prerequisites

  • radare2 (or rizin) installed and the r2pipe Python package (the script degrades gracefully and reports unavailability if absent).

Safety & Handling

  • r2 static analysis does not execute the sample; keep the working directory isolated.

Workflow

Step 1: Confirm r2pipe availability

bash
python scripts/analyst.py check

Reports whether r2pipe and an r2/rizin binary are available.

Step 2: Extract an analysis summary

bash
python scripts/analyst.py summary sample.bin

Opens the binary, runs analysis (aaa), and collects functions (aflj), imports (iij), and strings (izj) as structured JSON.

Step 3: Query cross-references

For a function of interest, gather xrefs to/from to map call relationships.

Step 4: Aggregate

Combine per-sample summaries for comparison and signature development.

Validation

  • The summary returns non-empty functions/imports for a normal binary.
  • JSON commands (*j) are parsed, not screen-scraped text.
  • Missing r2pipe/r2 is reported clearly rather than crashing.

Pitfalls

  • Forgetting to run aaa before querying functions (empty results).
  • Mixing radare2 and rizin command differences in scripted output.
  • Very large binaries making aaa slow — scope analysis as needed.

References

  • See references/api-reference.md for the automation wrapper.
  • r2pipe and radare2 command references (linked in frontmatter).

Файлы этой версии

Права

ПравоЗаявленоНайдено проверкой
Читает файлыНетНет
Пишет файлыНетНет
Выполняет команды shellДаДа
Ходит в сетьДаДа
Использует коннекторыНетНет
Управляет браузеромНетНет

Замечания проверки

Проверено 13 нояб. 2026 г.

  1. СредняяФайл · Исполняемый скрипт в составе навыкаscripts/analyst.py
  2. ИнфоСсылка · Ссылки на внешние домены

Чистая проверка снижает риск, но не доказывает, что пакет безопасен. Читайте то, что ставите.

ВерсияОпубликованаКоммитSHA-256ПодписьИзменение прав
v1.0.013 нояб. 2026 г.da7600af91473a7Подписана–

Спрашивайте обо всём, что позволяет ваш скоуп.

Создайте аккаунт, пополните баланс и задайте первый вопрос в чате или в терминале.

  1. 1/3

    Создайте аккаунт

    Личный или для компании. Позже можно перейти на аккаунт компании без потери баланса и ключей.

    ЛичныйКомпания
  2. 2/3

    Пополните баланс

    Картой. Оплата за токены, без подписки.

    $5.00минимальное пополнение
  3. 3/3

    Спрашивайте

    В чате, или установите CLI и выполните notholy login в терминале.

    $ notholy login