Automic VaultAutomic Vault

brew

使用 Homebrew, Nix 安装 apkleaks

查看 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

来源线索

由仓库数据生成

此页面由 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