Automic VaultAutomic Vault

brew

apkleaks を Homebrew, Nix でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install apkleaks

local Homebrew formula metadata

Linux

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

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

概要

パッケージ概要

Scanning APK file for URIs, endpoints & secrets

コマンドとエイリアス

  • apkleaks

履歴

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

APKLeaks is a Python CLI for scanning APK files for URIs, endpoints, and secrets. It is part Android reverse-engineering helper, part bug-bounty reconnaissance tool, and part regex-based secret scanner.

プロジェクトの歴史

The public GitHub repository was created in May 2020. Its README positions the tool around APK scanning and documents installation from PyPI, source, and Docker, with jadx used as the disassembler when available.

The README credits apkurlgrep as an inspiration and acknowledges pattern sources and related tooling such as truffleHogRegexes, LinkFinder, gf patterns, dex2jar, and a standalone APK parser. That makes the project a packaging point for several mobile-reconnaissance ideas rather than a pure APK parser.

採用の歴史

The project is distributed through PyPI, Docker, and source installation according to its README. The supplied package metadata also records Homebrew and Nix packages, showing that the tool crossed from Python security circles into general CLI package indexes.

GitHub repository metadata showed more than 6k stars and hundreds of forks at research time, which is unusually high for a narrow APK scanner and reflects adoption in mobile-security and bug-bounty workflows.

使われ方

The common invocation is apkleaks -f path/to/file.apk, with optional output file selection, JSON output, custom pattern JSON via --pattern, and disassembler arguments passed through with --args. If no output path is supplied, the README says it generates a result file automatically.

APKLeaks does not document a fixed user config file. Pattern customization is an explicit per-run path to a JSON rules file, while the default regexes live inside the project repository.

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

APKLeaks is interesting as a small packaged security CLI because it composes other tools and pattern corpora behind a simple command. Package users care less about a library API and more about whether pipx, brew, nix, or Docker can put a scanner in PATH quickly during APK triage.

Its release stream also shows maintenance for platform compatibility, including Python 3.12 and 3.13 support and a move to pyproject.toml in the 2.6.x series.

タイムライン

  • 2020: Public dwisiswant0/apkleaks repository created on GitHub.
  • 2021: 2.6.0 release added token and identifier patterns such as GitHub access tokens, Discord bot tokens, JWTs, and CTF flag patterns.
  • 2024: 2.6.2 added Python 3.12 support.
  • 2024: 2.6.3 migrated to pyproject.toml and fixed Python 3.13 compatibility.

Related projects

  • APKLeaks relies on jadx for APK decompilation and credits apkurlgrep, truffleHogRegexes, LinkFinder, gf, dex2jar, and a standalone APK parser as influences or resources.

セキュリティ状態

リスクレベル: グリーン

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 メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 2 件の実行時依存関係とともにインストールされます。

推奨レビュー

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

実行可能ファイル

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

コマンド種類公開範囲メモ
apkleakscliグローバル実行可能ファイル

鮮度

バージョンと鮮度

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

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

https://github.com/dwisiswant0/apkleaks

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:apkleaks
バージョン2.6.3
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/apkleaks
ホームページhttps://github.com/dwisiswant0/apkleaks
リポジトリhttps://github.com/dwisiswant0/apkleaks
上流ドキュメントhttps://github.com/dwisiswant0/apkleaks#readme
ライセンスApache-2.0
ソースアーカイブhttps://files.pythonhosted.org/packages/1e/e6/203661abe151dbc59096de65d6f0cf392d1aad3acba32f4e9f3f389acad0/apkleaks-2.6.3.tar.gz
最終更新2026-07-13T10:08:46Z
Pulseupdated
依存関係jadx, python@3.14
macOS 提供ライブラリlibxml2, libxslt
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

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

Nix95%

apkleaks

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

ソース経路

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

このページは 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