Credential access
Reads database passwords, connection strings, tokens, and environment credentials.
agent safety
sqlcmd sends SQL to Microsoft SQL Server and Azure SQL targets.
Reads database passwords, connection strings, tokens, and environment credentials.
Can create, alter, drop, import, and export database state.
Can dump or load data artifacts containing sensitive records.
Gate write SQL, dumps, imports, and credential-bearing connection strings.
Allow safe metadata queries; require approval for writes, exports, and secret use.
安装
sudo av install brew:sqlcmdbrew install sqlcmdlocal Homebrew formula metadata
nix profile install nixpkgs#sqlcmdnixpkgs package indexes · pkgs/by-name/sq/sqlcmd/package.nix · source: api.github.com
choco install sqlcmdChocolatey community package catalog · sqlcmd · source: community.chocolatey.org
winget install --id Microsoft.Sqlcmd -eWindows Package Manager source index · Microsoft.Sqlcmd · source: cdn.winget.microsoft.com
概览
Microsoft SQL Server command-line interface
受保护工具覆盖
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.
blue risk · medium confidence · tool
本地 README 摘录
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
来源摘录
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
sqlcmd | cli | global executable |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/microsoft/go-sqlcmd
安装元数据
| Package key | brew:sqlcmd |
|---|---|
| Version | 1.10.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/sqlcmd |
| Homepage | https://github.com/microsoft/go-sqlcmd |
| Repository | https://github.com/microsoft/go-sqlcmd |
| Upstream docs | https://github.com/microsoft/go-sqlcmd#readme |
| License | MIT |
| Source archive | https://github.com/microsoft/go-sqlcmd/archive/refs/tags/v1.10.0.tar.gz |
| Last updated | 2026-04-10T21:11:12Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | sqlcmd |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
sqlcmd
nix profile install nixpkgs#sqlcmdsqlcmd
choco install sqlcmdMicrosoft.Sqlcmd
winget install --id Microsoft.Sqlcmd -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。