Automic VaultAutomic Vault

brew

dex2jar を Homebrew, chocolatey, MacPorts, Nix でインストール

dex2jar のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install dex2jar

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install dex2jar

MacPorts ports tree · java/dex2jar/Portfile · ソース: api.github.com

Linux

Nix確認済み · 92%
nix profile install nixpkgs#dex2jar

nixpkgs package indexes · pkgs/by-name/de/dex2jar/package.nix · ソース: api.github.com

概要

パッケージ概要

Tools to work with Android .dex and Java .class files

コマンドとエイリアス

  • d2j-apk-sign
  • d2j-asm-verify
  • d2j-baksmali
  • d2j-class-version-switch
  • d2j-decrypt-string
  • d2j-dex-recompute-checksum
  • d2j-dex-weaver
  • d2j-dex2jar
  • d2j-dex2smali
  • d2j-jar-access
  • d2j-jar-weaver
  • d2j-jar2dex
  • d2j-jar2jasmin
  • d2j-jasmin2jar
  • d2j-smali
  • d2j-std-apk
  • d2j_invoke

履歴

プロジェクトの歴史と使われ方

dex2jar is a command-line toolkit for working with Android Dalvik Executable files and Java class or jar files. Package users usually encounter it through d2j-dex2jar and the companion d2j-* utilities.

プロジェクトの歴史

The official README describes dex2jar as tools for Android .dex and Java .class files and notes the project move to GitHub. It preserves links to older SourceForge, Bitbucket, and Google Code project homes, which reflects the common migration path of early Android reverse-engineering tools into GitHub-era maintenance.

The current repository organizes the project as multiple tools: dex-reader/writer, d2j-dex2jar, smali/baksmali-compatible assembly and disassembly, and additional utilities such as string decryption helpers.

採用の歴史

dex2jar became a familiar package in Android reverse-engineering and security-analysis workflows because it bridged Android .dex bytecode and Java tooling. Even when users later inspect output with decompilers or bytecode tools, the package often provides the first conversion step from an APK or dex file to a jar-shaped artifact.

使われ方

The README's example workflow builds the distribution, unpacks dex-tools, and runs d2j-dex2jar.sh against an APK path. The output is a jar file named after the input, such as apk_to_decompile-dex2jar.jar.

パッケージ好きにとっての重要性

dex2jar is notable as a package because it installs a family of narrowly named command-line tools rather than a single binary. That makes it a classic reverse-engineering formula: many small entry points, stable scripts, and a README that doubles as the packaging-facing interface.

タイムライン

  • Early project era: README records historical homes on Google Code, SourceForge, and Bitbucket.
  • GitHub era: README marks the project move to GitHub.
  • 2023-10-03: GitHub release v2.4 was published.

Related projects

  • smali/baksmali is directly related because dex2jar includes compatible assembly and disassembly tools.
  • Java bytecode and Android APK analysis tools are downstream or adjacent consumers of dex2jar output.

セキュリティ状態

リスクレベル: blue

broad file, network, media, or database tool signal.

リスク分類器

リスク blue · 信頼度 中 · tool

理由

  • broad file, network, media, or database tool signal

信号

  • text:decrypt

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
d2j-apk-signcliグローバル実行可能ファイル
d2j-asm-verifycliグローバル実行可能ファイル
d2j-baksmalicliグローバル実行可能ファイル
d2j-class-version-switchcliグローバル実行可能ファイル
d2j-decrypt-stringcliグローバル実行可能ファイル
d2j-dex-recompute-checksumcliグローバル実行可能ファイル
d2j-dex-weavercliグローバル実行可能ファイル
d2j-dex2jarcliグローバル実行可能ファイル
d2j-dex2smalicliグローバル実行可能ファイル
d2j-jar-accesscliグローバル実行可能ファイル
d2j-jar-weavercliグローバル実行可能ファイル
d2j-jar2dexcliグローバル実行可能ファイル
d2j-jar2jasmincliグローバル実行可能ファイル
d2j-jasmin2jarcliグローバル実行可能ファイル
d2j-smalicliグローバル実行可能ファイル
d2j-std-apkcliグローバル実行可能ファイル
d2j_invokecliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版2.4
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/pxb1988/dex2jar

  • 情報No package-manager update timestamp was available.信頼度 低
  • 情報No cached GitHub release or tag data was available.https://github.com/pxb1988/dex2jar信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:dex2jar
バージョン2.4
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/dex2jar
ホームページhttps://github.com/pxb1988/dex2jar
リポジトリhttps://github.com/pxb1988/dex2jar
上流ドキュメントhttps://github.com/pxb1988/dex2jar#readme
ライセンスApache-2.0
ソースアーカイブhttps://github.com/pxb1988/dex2jar/releases/download/v2.4/dex-tools-v2.4.zip
依存関係openjdk
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

dex2jar

nix profile install nixpkgs#dex2jar
  • normalized package name match
  • 一致条件: Dex2jar
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/de/dex2jar/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

dex2jar

sudo port install dex2jar
  • normalized package name match
  • 一致条件: Dex2jar
MacPorts ports tree · api.github.com · MacPorts ports tree: java/dex2jar/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

dex2jar

choco install dex2jar
  • normalized package name match
  • 一致条件: Dex2jar
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: dex2jar from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='9.1916','tektoncd-cli'

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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