# redballoonsecurity/ofrak

OFRAK: unpack, modify, and repack binaries.

Repository: https://github.com/redballoonsecurity/ofrak
Canonical: https://ross.abutalabs.com/products/ofrak
Homepage: https://ofrak.com
Language: Python
License: NOASSERTION
License Family: other
Topics: ctf, firmware, firmware-tools, repacking, reverse-engineering, unpacker, hacktoberfest
Last push: 2026-08-21T16:27:13+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 8, longevity 100
- inputs: {"age_days": 1486, "days_push": 12, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2067, forks 156 (observed 2026-08-28T04:06:10.180148+00:00)

## What it is
OFRAK is a binary analysis and modification platform that identifies, unpacks, analyzes, modifies, and repacks binaries, with first-class support for embedded firmware formats like compressed filesystems, bootloaders, and RTOS kernels. It offers both a web-based GUI for interactive exploration and a Python API for reproducible scripts, with extensible integration with analysis backends such as angr, Ghidra, Binary Ninja, and IDA Pro.

## Use cases
- unpack and repack embedded firmware images
- modify an ELF buried inside a compressed filesystem archive
- patch binaries reproducibly with a Python API
- analyze firmware with Ghidra or Binary Ninja backends
- explore binary structure interactively in a GUI
- add support for a new firmware file format
- solve CTF binary unpacking challenges

## When to choose
- you need to unpack, modify, and repack nested binary formats like compressed firmware or filesystems
- you want scriptable, reproducible binary patching across classes of binaries
- you work with embedded firmware, bootloaders, or RTOS kernels
- you want a common interface over multiple disassembly backends

## When to avoid
- you need a permissively licensed tool for commercial use without a Pro License
- you only need simple static disassembly of a single executable
- you need a pure GUI reverse engineering tool without scripting

## Facets
- artifact type: framework
- maturity: active
- function: reverse-engineering, parser, security, gui, cli, developer-tools
- domain: reverse-engineering, security, embedded-systems, developer-tools, files
- platform: python, cli
- tags: binary-analysis, firmware-unpacking, binary-patching, repacking, ctf, ghidra-integration, binary-ninja, angr, ida-pro, elf, bootloader, embedded-firmware, linux, macos, docker, web-server

## Member repositories
- redballoonsecurity/ofrak (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:10.180148+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:56:49.961147+00:00, confidence not recorded.
  - readme: https://github.com/redballoonsecurity/ofrak (fetched 2026-08-28T04:06:10.180148+00:00, sha 512d0bea6779)
  - homepage: https://ofrak.com (fetched 2026-08-29T10:37:10.272030+00:00, sha f4ecdaa084c9)
  - site_page: https://ofrak.com/about (fetched 2026-08-29T10:37:10.281331+00:00, sha 7226b33a01ac)
  - site_page: https://ofrak.com/docs (fetched 2026-08-29T10:37:10.282926+00:00, sha 7ed9af362cc3)
  - registry_pypi: https://pypi.org/pypi/ofrak/json (fetched 2026-08-29T10:37:10.285081+00:00, sha 4c684792dfbc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
