sqlpackage

LOW
maintainer orphaned 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

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

Low AI review downgraded a static finding 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)
Medium source=() URL on a non-standard host 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
1# Maintainer: Jonas Amundsen <jonasba+aur at gmail dot com>
2
3pkgname=sqlpackage
4pkgver=161.6374.0
5pkgrel=1
6pkgdesc="Command-line tool for creating and deploying SQL Server databases and DACPAC packages."
7arch=("any")
8url="https://docs.microsoft.com/en-us/sql/tools/sqlpackage-download"
9license=("custom")
10options=("staticlibs")
11source=("sqlpackage-linux-x64-en-16.1.6374.0.zip::https://go.microsoft.com/fwlink/?linkid=2215501")
12sha1sums=("9a7944ce42a7e1def9612c56586fef80c645928f")
13
14package() {
15 mkdir -p "${pkgdir}/usr/bin/"
16 ln -s "/usr/lib/$pkgname/sqlpackage" "$pkgdir/usr/bin/sqlpackage"
17 install -d "$pkgdir/usr/lib"
18 cp -r "$srcdir" "$pkgdir/usr/lib/$pkgname"
19 chmod 755 "$pkgdir/usr/lib/$pkgname/sqlpackage"
20 install -Dm644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
21}
22

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion