sqlpackage
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.
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-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |