Automic VaultAutomic Vault

brew

使用 Homebrew, dnf, apt 安装 byteman

查看 byteman 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install byteman

local Homebrew formula metadata

Linux

Fedora dnf已验证 · 92%
sudo dnf install byteman

Fedora Rawhide package metadata · byteman · 来源: dl.fedoraproject.org

Debian apt已验证 · 92%
sudo apt install libbyteman-java

Debian stable package indexes · libbyteman-java · 来源: deb.debian.org

概览

软件包摘要

Java bytecode manipulation tool for testing, monitoring and tracing

命令和别名

  • bmcheck
  • bminstall
  • bmjava
  • bmsubmit
  • bytemancheck

历史

项目历史与用法

Byteman is a Java agent and command-line toolkit for injecting rules into running JVM programs. It is used for tracing, monitoring, testing, and fault injection without permanently changing application source code.

项目历史

The Byteman README describes the project as a tool for injecting side effects into Java programs to trace and test application behavior. Its distribution includes command scripts, an agent and rule engine, submit/install clients, sample scripts, and programmer documentation.

The official JBoss project site frames Byteman as a way to simplify Java tracing, monitoring, and testing. Its documentation history includes papers and talks by Andrew Dinn and other Red Hat/JBoss community members from 2009 onward, including fault-injection and runtime-behavior use cases.

采用历史

Byteman adoption is strongest in the Java middleware and testing world. The official docs page lists BMUnit tests or integrations involving WildFly, Narayana, Hibernate, Infinispan, HornetQ, JGroups, IronJacamar, Mule, and other JVM projects.

Packaging in Homebrew, Debian, Ubuntu, and Fedora reflects a niche but durable role: it is not a default Java tool, but it is valuable when tests need controlled failure, race, or runtime instrumentation scenarios.

使用方式

Users write Byteman rule scripts, check them with `bmcheck` or `bytemancheck`, run Java under the agent with `bmjava`, install the agent into a running JVM with `bminstall`, and submit rules with `bmsubmit`.

Typical package-manager usage is by developers or QA engineers who need to reproduce timing bugs, inject exceptions, trace JVM internals, or test recovery paths in Java services.

为什么软件包爱好者会关心

Byteman is notable because it packages JVM bytecode instrumentation as a Unix-style command tool. That makes heavy Java-agent machinery installable with `brew install byteman` or distro packages instead of manual download-and-unzip workflows.

For package nerds, it sits in the same practical family as debuggers, tracers, and test harnesses: rarely needed by everyone, but exactly the right sharp tool when ordinary unit tests cannot reach a runtime behavior.

时间线

  • 2009: Official Byteman materials include a Jazoon presentation on bytecode manipulation for multi-threaded testing.
  • 2011: Byteman appears in AOSD and JUDCon materials about tracing, debugging, and testing.
  • 2013: Official docs list JUDCon talks and growing JVM-project usage.
  • 2020s: Version 4.x documentation remains published through the JBoss Byteman site.

Related projects

  • BMUnit is the Byteman-oriented unit-testing integration referenced by the official tutorials and project list.
  • ObjectWeb ASM is used by Byteman for bytecode manipulation, according to the README.
  • WildFly, Narayana, Hibernate, Infinispan, HornetQ, and JGroups are listed by the official docs as projects using Byteman.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
bmcheckcli全局可执行文件
bminstallcli全局可执行文件
bmjavacli全局可执行文件
bmsubmitcli全局可执行文件
bytemancheckcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本4.0.27
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://byteman.jboss.org/

安装元数据

软件包元数据

软件包键brew:byteman
版本4.0.27
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/byteman
主页https://byteman.jboss.org/
仓库https://github.com/bytemanproject/byteman
上游文档https://byteman.jboss.org/docs.html
许可证LGPL-2.1-or-later
源码归档https://downloads.jboss.org/byteman/4.0.27/byteman-download-4.0.27-bin.zip
最后更新2026-06-22T14:02:56-07:00
Pulseupdated
依赖openjdk
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libbyteman-java 4.0.20-1

Java agent-based bytecode injection tool

https://byteman.jboss.org

sudo apt install libbyteman-java
  • Section: java
  • Architecture: all
  • Source Package: byteman
  • 9 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Byteman
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libbyteman-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

libbyteman-java 4.0.20-1

Java agent-based bytecode injection tool

https://byteman.jboss.org

sudo apt install libbyteman-java
  • Section: universe/java
  • Architecture: all
  • Source Package: byteman
  • 9 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Byteman
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libbyteman-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

byteman 4.0.26-3.fc44

Java agent-based bytecode injection tool

http://www.jboss.org/byteman

sudo dnf install byteman
  • License: LicenseRef-Callaway-LGPLv2+
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: byteman
  • 5 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Byteman
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: byteman from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

byteman-bmunit 4.0.26-3.fc44

TestNG and JUnit integration for Byteman.

http://www.jboss.org/byteman

sudo dnf install byteman-bmunit
  • License: LicenseRef-Callaway-LGPLv2+
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: byteman
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Byteman
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: byteman-bmunit from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

byteman-dtest 4.0.26-3.fc44

Remote byteman instrumented testing.

http://www.jboss.org/byteman

sudo dnf install byteman-dtest
  • License: LicenseRef-Callaway-LGPLv2+
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: byteman
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Byteman
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: byteman-dtest from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

byteman-javadoc 4.0.26-3.fc44

Javadoc for byteman

http://www.jboss.org/byteman

sudo dnf install byteman-javadoc
  • License: LicenseRef-Callaway-LGPLv2+
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: byteman
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Byteman
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: byteman-javadoc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

byteman-rulecheck-maven-plugin 4.0.26-3.fc44

Maven plugin for checking Byteman rules.

http://www.jboss.org/byteman

sudo dnf install byteman-rulecheck-maven-plugin
  • License: LicenseRef-Callaway-LGPLv2+
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: byteman
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Byteman
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: byteman-rulecheck-maven-plugin from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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