Automic VaultAutomic Vault

brew

Install bgrep with Homebrew

Like grep but for binary strings. Version 0.3 via Homebrew; verified 2026-06-10.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install bgrep

local Homebrew formula metadata

overview

Package summary

Like grep but for binary strings

Commands and aliases

  • bgrep

history

Project history and usage

bgrep is a tiny binary-pattern search utility: grep-like in spirit, but aimed at byte sequences in binary files rather than text lines.

Project history

The README gives the origin story plainly: the author was annoyed that grep could not look for binary strings and wrote a tool for that job. The GitHub repository was created in 2010, has a small tag history, and remains a compact C utility rather than a broad search framework.

Adoption history

The input metadata records Homebrew packaging for bgrep. Its adoption is correspondingly modest and toolbelt-oriented: useful enough to package, but intentionally small.

How it is used

bgrep searches for a hex byte pattern, can recurse through directories, can print before/after context bytes, can read a pattern from a file, and can apply a mask file for wildcard bytes. When no path is given, it reads standard input.

Why package nerds care

The package is significant in the classic Unix sense: one C file, one executable, one missing behavior from grep filled without pulling in a larger forensic suite. It is handy for firmware, image, dump, and protocol-payload spelunking.

Timeline

  • 2010: Initial GitHub commit.
  • 2011: bgrep-0.2 tag appears.
  • 2026: bgrep-0.3 tag updates README usage around context flags.

Related projects

  • The obvious related tool is grep(1), which the README names as the motivation. It also overlaps with hex editors, hexdump/xxd workflows, and binary-analysis command-line tools.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
bgrepcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.3
manager updated2026-06-10
local dataok
upstreamcurrent
latest detectedbgrep-0.3

https://github.com/tmbinc/bgrep

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:bgrep
Version0.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/bgrep
Homepagehttps://github.com/tmbinc/bgrep
Repositoryhttps://github.com/tmbinc/bgrep
Upstream docshttps://github.com/tmbinc/bgrep#readme
LicenseBSD-2-Clause
Source archivehttps://github.com/tmbinc/bgrep/archive/refs/tags/bgrep-0.3.tar.gz
Last updated2026-06-10T03:29:15Z
Pulseupdated
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebgrep
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment