Automic VaultAutomic Vault

brew / 受保护工具覆盖 / 排名 911

安装 sqlcmd

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

agent safety

Agent safety answer

sqlcmd sends SQL to Microsoft SQL Server and Azure SQL targets.

Credential access

Reads database passwords, connection strings, tokens, and environment credentials.

Remote mutation

Can create, alter, drop, import, and export database state.

Publish/artifact risk

Can dump or load data artifacts containing sensitive records.

Recommended control

Gate write SQL, dumps, imports, and credential-bearing connection strings.

Agent-use guidance

Allow safe metadata queries; require approval for writes, exports, and secret use.

安装

使用 Automic Vault 安装

Automic Vault
下载 AV
sudo av install brew:sqlcmd

macOS

Homebrewverified · 100%
brew install sqlcmd

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#sqlcmd

nixpkgs package indexes · pkgs/by-name/sq/sqlcmd/package.nix · source: api.github.com

平台说明

  • 没有特定于此软件包的平台说明。

概览

软件包摘要

Microsoft SQL Server command-line interface

命令和别名

  • sqlcmd

受保护工具覆盖

Plain Text sqlcmd Context Passwords

sqlcmd stores modern CLI contexts in ~/.sqlcmd/sqlconfig. The upstream schema includes user password fields and documents macOS Keychain support as a TODO. Our isotope stores sqlconfig in the macOS keychain and injects it through a temporary HOME while `sqlcmd` runs.

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:sql,server

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

本地 README 摘录

sqlcmd

sqlcmd stores modern CLI contexts in ~/.sqlcmd/sqlconfig. On macOS the upstream code documents Keychain encryption as a TODO, so password fields can remain in the user config file.

This protected-tool coverage migrates ~/.sqlcmd/sqlconfig to the keychain when it contains password fields and wraps sqlcmd so the config is recreated under a temporary home while the CLI runs.

来源: local coverage notes

覆盖来源

来源摘录

Caveats

  • Runtime changes to sqlconfig are not persisted back to keychain.
  • Direct execution of the original binary will not receive credentials.

可执行文件

已安装的可执行文件

命令类型暴露范围备注
sqlcmdcliglobal executable

新鲜度

版本和新鲜度

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

页面生成时间2026-06-10
管理器版本1.10.0
管理器更新时间2026-04-10
本地数据ok
上游current
检测到的最新版本v1.10.0

https://github.com/microsoft/go-sqlcmd

  • okNo freshness warnings were generated.

安装元数据

软件包元数据

Package keybrew:sqlcmd
Version1.10.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/sqlcmd
Homepagehttps://github.com/microsoft/go-sqlcmd
Repositoryhttps://github.com/microsoft/go-sqlcmd
Upstream docshttps://github.com/microsoft/go-sqlcmd#readme
LicenseMIT
Source archivehttps://github.com/microsoft/go-sqlcmd/archive/refs/tags/v1.10.0.tar.gz
Last updated2026-04-10T21:11:12Z
Pulseupdated
Build dependenciesgo
Bottleavailable (arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

sqlcmd

nix profile install nixpkgs#sqlcmd
  • normalized package name match
  • Matched by: Sqlcmd
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sq/sqlcmd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Chocolatey95%

sqlcmd

choco install sqlcmd
  • normalized package name match
  • Matched by: Sqlcmd
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: sqlcmd from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','sql2012.smo'
winget95%

Microsoft.Sqlcmd

winget install --id Microsoft.Sqlcmd -e
  • normalized package name match
  • Matched by: Sqlcmd
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Microsoft.Sqlcmd from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 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 agent safety answer
  • external package-manager database matches
  • local coverage README
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • secret-handling manifest