Credential-Zugriff
Reads registry tokens, environment variables, and project schema files.
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für buf in AI-Agent-Workflows.
Agent-Sicherheit
buf manages protobuf linting, generation, and registry workflows.
Reads registry tokens, environment variables, and project schema files.
Can push modules and interact with remote schema registries.
Can publish schema modules and generated artifacts.
Gate push, registry login, and token-backed commands.
Allow lint/generate; require approval for registry writes and token use.
Installation
brew install buflocal Homebrew formula metadata
sudo port install bufMacPorts ports tree · devel/buf/Portfile · Quelle: api.github.com
sudo apk add bufAlpine Linux edge package indexes · buf · Quelle: dl-cdn.alpinelinux.org
nix profile install nixpkgs#bufnixpkgs package indexes · pkgs/by-name/bu/buf/package.nix · Quelle: api.github.com
sudo pacman -S bufArch Linux sync databases · buf · Quelle: geo.mirror.pkgbuild.com
scoop install main/bufScoop official bucket manifest trees · bucket/buf.json · Quelle: api.github.com
winget install --id bufbuild.buf -eWindows Package Manager source index · bufbuild.buf · Quelle: cdn.winget.microsoft.com
Überblick
New way of working with Protocol Buffers
Verlauf
Buf is a modern Protocol Buffers toolchain centered on the `buf` CLI, replacing many direct `protoc` workflows with module-aware builds, linting, breaking-change detection, formatting, code generation, dependency management, API calls, and access to the Buf Schema Registry.
Buf was created by Buf Technologies as a developer-tooling layer for Protobuf projects. Its public repository presents it as a modern toolchain for Protobuf rather than a replacement for the schema language itself: it keeps the plugin model familiar to `protoc` users while adding workspace configuration, deterministic checks, and registry-aware workflows.
The project grew beyond a formatter or wrapper into a broader ecosystem: the CLI, Buf Schema Registry, remote plugins, generated SDKs, ConnectRPC, Protobuf-ES, and Protovalidate are all positioned by Buf as related pieces of schema-driven API infrastructure.
Buf adoption followed the pain points of larger Protobuf users: teams wanted one repeatable command for compiling, linting, compatibility checks, and generation instead of per-repository shell scripts around `protoc -I` paths. The CLI is distributed through Homebrew, npm, Docker, Windows installers, binary downloads, tarballs, source builds, and other package managers listed in the input.
Registry features widened its role from local CLI tooling to organization-level schema governance. The Buf Schema Registry stores modules, renders documentation, resolves dependencies, hosts remote plugins, produces generated SDKs, and can enforce schema checks for teams that publish APIs there.
Typical CLI use starts with `buf config init`, then `buf build`, `buf format -w`, `buf lint`, `buf breaking --against ...`, and `buf generate`. Projects commonly check in `buf.yaml`, `buf.gen.yaml`, and `buf.lock` so CI and developer laptops run the same Protobuf workflow.
Core CLI features work without a Buf Schema Registry account, while signing in adds private module dependency resolution, remote plugins, generated SDKs, hosted documentation, and server-side checks.
Buf matters to package-tooling people because it treats `.proto` files as versioned modules instead of loose source files copied between repos. It brings package-lock and registry patterns familiar from language ecosystems into Protobuf schema distribution.
It is also a notable example of a package manager formula that installs not only the main `buf` binary but companion protoc plugins, making Homebrew a convenient entry point for Protobuf linting and compatibility checks.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Credential-bearing paths to review before unattended agent runs.
~/.netrcExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
buf | cli | globales Executable | |
protoc-gen-buf-breaking | cli | globales Executable | |
protoc-gen-buf-lint | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/bufbuild/buf
Installationsmetadaten
| Paketschlüssel | brew:buf |
|---|---|
| Version | 1.72.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/buf |
| Homepage | https://buf.build |
| Repository | https://github.com/bufbuild/buf |
| Upstream-Dokumentation | https://buf.build/docs/cli |
| Lizenz | Apache-2.0 |
| Quellarchiv | https://github.com/bufbuild/buf/archive/refs/tags/v1.72.0.tar.gz |
| Zuletzt aktualisiert | 2026-07-17T20:53:06Z |
| Pulse | updated |
| Build-Abhängigkeiten | go |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | buf |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
buf
nix profile install nixpkgs#bufbuf 1.59.0-r6
CLI to work with Protocol Buffers
sudo apk add bufbuf-bash-completion 1.59.0-r6
Bash completions for buf
sudo apk add buf-bash-completionbuf-fish-completion 1.59.0-r6
Fish completions for buf
sudo apk add buf-fish-completionbuf-protoc-plugins 1.59.0-r6
CLI to work with Protocol Buffers (protoc plugins)
sudo apk add buf-protoc-pluginsbuf-zsh-completion 1.59.0-r6
Zsh completions for buf
sudo apk add buf-zsh-completionbuf 1.70.0-1
A tool for working with Protocol Buffers
sudo pacman -S bufbuf
sudo port install bufmain/buf
scoop install main/bufbufbuild.buf
winget install --id bufbuild.buf -eQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.