Credential-Zugriff
Reads database passwords, connection strings, tokens, and environment credentials.
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für sqlcmd in AI-Agent-Workflows.
Agent-Sicherheit
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.
Installation
brew install sqlcmdlocal Homebrew formula metadata
nix profile install nixpkgs#sqlcmdnixpkgs package indexes · pkgs/by-name/sq/sqlcmd/package.nix · Quelle: api.github.com
choco install sqlcmdChocolatey community package catalog · sqlcmd · Quelle: community.chocolatey.org
winget install --id Microsoft.Sqlcmd -eWindows Package Manager source index · Microsoft.Sqlcmd · Quelle: cdn.winget.microsoft.com
Überblick
Microsoft SQL Server command-line interface
Verlauf
sqlcmd is Microsoft's command-line interface for SQL Server and Azure SQL. The Homebrew formula tracks the newer Go implementation, go-sqlcmd, which preserves much of the long-running ODBC sqlcmd workflow while adding modern package-manager distribution and container-oriented commands.
Microsoft's go-sqlcmd repository was created in 2021, and its README says the project aims to be a complete Go port of the original ODBC sqlcmd using the go-mssqldb driver.
The first preview releases appeared in 2021. The README documents both backward-compatible ODBC-style flags and newer POSIX-style flags, plus additions such as local SQL Server container creation and context management.
The Go version is explicitly packaged for major platforms: the README lists Winget, Chocolatey, Homebrew, Linuxbrew, apt, yum, zypper, and release artifacts. The input package metadata lists Homebrew, Chocolatey, Nix, and Winget identifiers.
Common usage includes running queries against SQL Server or Azure SQL, piping SQL into the CLI for scripts, creating local SQL Server containers with sqlcmd create mssql, and switching saved connection contexts stored under ~/.sqlcmd/sqlconfig.
Package nerds care about go-sqlcmd because it turns a historically vendor-installed database utility into a cross-platform package-manager CLI, bridging Windows SQL Server habits with Homebrew, Winget, Chocolatey, Linux packaging, and container-first local development.
Sicherheitslage
broad file, network, media, or database tool signal.
blue Risiko · mittel Konfidenz · tool
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
local files
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.
Config paths the tool may read or write during local use.
~/.sqlcmd/sqlconfigCredential-bearing paths to review before unattended agent runs.
~/.sqlcmd/sqlconfigExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
sqlcmd | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/microsoft/go-sqlcmd
Installationsmetadaten
| Paketschlüssel | brew:sqlcmd |
|---|---|
| Version | 1.10.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/sqlcmd |
| Homepage | https://github.com/microsoft/go-sqlcmd |
| Repository | https://github.com/microsoft/go-sqlcmd |
| Upstream-Dokumentation | https://github.com/microsoft/go-sqlcmd#readme |
| Lizenz | MIT |
| Quellarchiv | https://github.com/microsoft/go-sqlcmd/archive/refs/tags/v1.10.0.tar.gz |
| Build-Abhängigkeiten | go |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
sqlcmd
nix profile install nixpkgs#sqlcmdsqlcmd
choco install sqlcmdMicrosoft.Sqlcmd
winget install --id Microsoft.Sqlcmd -eQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.