sqlpackage
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (anthropic/claude-4.6-sonnet-20260217) reviewed the full PKGBUILD and judged it LOW (confidence 82%): The source is a Microsoft official distribution URL (go.microsoft.com/fwlink) pointing to the official sqlpackage release ZIP. Microsoft routinely uses fwlink redirects for all their download links; this is standard practice, not obfuscation. The binary is a legitimate Microsoft tool. The only real concern is the use of SHA1 instead of SHA256/SHA512, which is weaker but still provides integrity verification against accidental corruption. The fwlink redirect is pinned to a specific linkid that maps to a specific version, so silent swapping is not a realistic concern beyond what applies to any vendor-hosted binary. This is sloppy (weak hash, prebuilt binary) but not a genuine supply-chain threat beyond the inherent trust placed in Microsoft as the upstream vendor — the same trust required for any proprietary Microsoft tool package.
1 higher static finding superseded - not the current verdict (shown for transparency)
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:11
source=("sqlpackage-linux-x64-en-16.1.6374.0.zip::https://go.microsoft.com/fwlink/?linkid=2215501")
PKGBUILD
1 offending line(s) highlighted# Maintainer: Jonas Amundsen <jonasba+aur at gmail dot com>
pkgname=sqlpackage
pkgver=161.6374.0
pkgrel=1
pkgdesc="Command-line tool for creating and deploying SQL Server databases and DACPAC packages."
arch=("any")
url="https://docs.microsoft.com/en-us/sql/tools/sqlpackage-download"
license=("custom")
options=("staticlibs")
source=("sqlpackage-linux-x64-en-16.1.6374.0.zip::https://go.microsoft.com/fwlink/?linkid=2215501")
sha1sums=("9a7944ce42a7e1def9612c56586fef80c645928f")
package() {
mkdir -p "${pkgdir}/usr/bin/"
ln -s "/usr/lib/$pkgname/sqlpackage" "$pkgdir/usr/bin/sqlpackage"
install -d "$pkgdir/usr/lib"
cp -r "$srcdir" "$pkgdir/usr/lib/$pkgname"
chmod 755 "$pkgdir/usr/lib/$pkgname/sqlpackage"
install -Dm644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |