Automic VaultAutomic Vault

brew

使用 Homebrew 安装 macosvpn

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install macosvpn

local Homebrew formula metadata

概览

软件包摘要

Create Mac OS VPNs programmatically

命令和别名

  • macosvpn

历史

项目历史与用法

macosvpn is a Swift command-line tool for creating and deleting macOS VPN network services programmatically. The README documents support for L2TP over IPSec and Cisco IPSec configurations.

项目历史

The official repository was created in July 2014. The README's own history section says the implementation began from research into Apple's networking discussions and practical examples for manipulating VPN configuration, shared secrets, traffic routing, and System Keychain entries.

The project packages that undocumented macOS VPN configuration knowledge into a CLI with create and delete commands. Its README emphasizes that administrator privileges are required because VPN passwords are stored in the System Keychain, and it explicitly chooses sudo over a separate HelperTool.

采用历史

macosvpn is distributed through Homebrew according to both the README and the batch input, and the README also points users to compiled GitHub release binaries. Repository metadata captured during this run showed several hundred GitHub stars and dozens of forks, indicating durable adoption among Mac administrators and automation users.

使用方式

Typical usage is `sudo macosvpn create --l2tp <name> --endpoint <host> --username <user> --password <password> --sharedsecret <secret>` or the Cisco IPSec variant. The README also documents flags such as `--force`, `--split`, disconnect behavior options, repeated arguments for creating multiple VPNs, and `macosvpn delete` for removing one or more services.

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

macosvpn is significant because VPN profiles are often part of fleet setup, CI test machines, and repeatable laptop provisioning, but macOS historically made this hard to automate with plain shell tools. A Homebrew-installable CLI gives package nerds a way to put VPN setup next to the rest of a bootstrap script.

时间线

  • 2014: Official GitHub repository created.
  • 2017: 0.3.x releases covered macOS High Sierra.
  • 2019: 1.0.0 release published for macOS Catalina.
  • 2022: 2.0.0 Ventura release published.

Related projects

  • The README mentions Apple's SystemConfiguration preferences, the System Keychain, sudo, Xcode builds, and related helper libraries Moderator and PrettyColors.

安全态势

风险级别:绿色

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 元数据适用于 11 个平台目标。

建议审查

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

macOS
/Library/Preferences/SystemConfiguration/preferences.plist

Credential files

Credential-bearing paths to review before unattended agent runs.

macOS
/Library/Keychains/System.keychain

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本2.0.0
管理器更新时间
本地数据OK
上游当前
检测到的最新版本2.0.0

https://github.com/halo/macosvpn

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:macosvpn
版本2.0.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/macosvpn
主页https://github.com/halo/macosvpn
仓库https://github.com/halo/macosvpn
上游文档https://github.com/halo/macosvpn#readme
许可证MIT
源码归档https://github.com/halo/macosvpn/archive/refs/tags/2.0.0.tar.gz
Bottle可用 (于 arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemacosvpn
Version Scheme0
Revision0
Requirements
  • macos
  • xcode
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • 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 configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment