sqlpackage

maintainer orphaned · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
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-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

Report a package

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

0 / 4000
Your suggestion