Automic VaultAutomic Vault

brew

使用 Homebrew 安装 onion-location

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install onion-location

local Homebrew formula metadata

概览

软件包摘要

Discover advertised Onion-Location for given URLs

命令和别名

  • onion-location

历史

项目历史与用法

onion-location is a small Python utility/library for discovering Onion-Location HTTP headers, the non-standard Tor Browser mechanism that lets a clearnet HTTPS site advertise its corresponding .onion service. Its package-nerd interest is less about a large standalone ecosystem and more about turning a Tor Browser convention into a scriptable CLI/library primitive.

项目历史

The package appeared on PyPI as onion-location 0.1.0 on August 2, 2024, authored by Frederik "Freso" S. Olesen and licensed AGPL-3.0-or-later. PyPI describes the project as a Python library for discovering Onion-Location HTTP headers and shows a minimal API that resolves torproject.org to its advertised onion URL.

采用历史

Its adoption evidence is modest: PyPI hosts the Python package and Homebrew packages it as onion-location. The project sits downstream of Tor's Onion-Location deployment guidance rather than defining the browser feature itself.

使用方式

Developers and operators can use onion-location to check whether a URL advertises an onion counterpart without manually inspecting response headers. That makes it useful for audits of onion-service discoverability, small monitoring scripts, or package-index style metadata enrichment.

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

For package nerds, onion-location is a good example of a tiny package wrapping one operational convention: one HTTP response header, one Tor-specific validation model, and a CLI/package-manager surface that makes the convention easy to probe from automation.

时间线

  • 2020: Tor Browser 9.5 introduced user-facing Onion-Location support, giving HTTPS sites a browser-visible way to advertise onion services.
  • 2024-08-02: onion-location 0.1.0 was released on PyPI.
  • 2026: Homebrew distributes onion-location as a formula with the same advertised purpose.

Related projects

  • The project is related to Tor Browser's Onion-Location feature, Tor onion services, and broader onion-service discovery work.

安全态势

风险级别:绿色

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 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
onion-locationcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://codeberg.org/Freso/python-onion-location

安装元数据

软件包元数据

软件包键brew:onion-location
版本0.1.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/onion-location
主页https://codeberg.org/Freso/python-onion-location
仓库https://codeberg.org/Freso/python-onion-location
上游文档https://codeberg.org/Freso/python-onion-location
许可证AGPL-3.0-or-later
源码归档https://files.pythonhosted.org/packages/72/0d/e2656bdb8c66dc590da40622ca843f0513cd6f4b78bb1f9b6ed4592d283e/onion_location-0.1.0.tar.gz
最后更新2026-07-10T11:15:53Z
Pulseupdated
依赖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 Nameonion-location
Version Scheme0
Revision3
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

来源线索

由仓库数据生成

此页面由 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
  • package relationship graph
  • package version freshness
  • package-page enrichment