mssql-server

maintainer too · 32 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The URL uses an Azure Front Door (azurefd.net) CDN endpoint which is a Microsoft-owned infrastructure domain. The comment in the PKGBUILD explicitly notes this is an alias/CDN front for packages.microsoft.com/rhel/8/mssql-server-2022. Azure Front Door endpoints on azurefd.net are provisioned by Microsoft and the domain is not a personal or third-party host — it is Microsoft's own CDN infrastructure. The sha256sum is pinned, so even if the CDN were somehow compromised, the checksum would catch substitution. The package itself installs a prebuilt Microsoft SQL Server binary (proprietary, closed-source), which is a legitimate if unusual AUR pattern. The main concern is that this is not the canonical packages.microsoft.com URL, making it slightly harder to verify provenance, but the pinned hash mitigates supply-chain risk. This is sloppy/non-standard packaging (using a CDN alias rather than the canonical URL) but not a genuine security threat.

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 75%): The URL uses an Azure Front Door (azurefd.net) CDN endpoint which is a Microsoft-owned infrastructure domain. The comment in the PKGBUILD explicitly notes this is an alias/CDN front for packages.microsoft.com/rhel/8/mssql-server-2022. Azure Front Door endpoints on azurefd.net are provisioned by Microsoft and the domain is not a personal or third-party host — it is Microsoft's own CDN infrastructure. The sha256sum is pinned, so even if the CDN were somehow compromised, the checksum would catch substitution. The package itself installs a prebuilt Microsoft SQL Server binary (proprietary, closed-source), which is a legitimate if unusual AUR pattern. The main concern is that this is not the canonical packages.microsoft.com URL, making it slightly harder to verify provenance, but the pinned hash mitigates supply-chain risk. This is sloppy/non-standard packaging (using a CDN alias rather than the canonical URL) but not a genuine security threat.

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:36 source=("https://pmc-prod-afd-endpoint-evdhh8f8byhsezfp.b01.azurefd.net/rhel/8/mssql-server-2022/Packages/m/${pkgname}-${_prodver}.x86_64.rpm")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: too <turecki@gmail.com>
2# Maintainer: DoctorZeus(Dan) <contact@techtonicsoftware.com>
3# Contributor: Gabriel Morrison Lima Dantas <gabrielmldantas@gmail.com>
4# Contributor: Aleksey Kamenskikh <aleksey.kamenskikh@gmail.com>
5pkgname=mssql-server
6pkgver=16.0.4225.2
7_remRevision=2
8_prodver=${pkgver}-${_remRevision}
9pkgrel=1
10pkgdesc="Microsoft SQL Server for Linux"
11arch=('x86_64')
12url="https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-overview?view=sql-server-ver16"
13license=('unknown')
14depends=(
15 'libatomic_ops'
16 'libunwind'
17 'numactl'
18 'glibc'
19 'libc++'
20 'gdb'
21 'openssl-1.1'
22 'krb5'
23 'nss'
24 'sssd'
25 'gawk'
26 'sed'
27 'pam'
28 'libldap24'
29);
30optdepends=(
31 'python-pyodbc'
32 'debugedit'
33);
34
35#This is a local azure instance that resolves as an alias of "packages.microsoft.com/rhel/8/mssql-server-2022" as some regions have different dir structures
36source=("https://pmc-prod-afd-endpoint-evdhh8f8byhsezfp.b01.azurefd.net/rhel/8/mssql-server-2022/Packages/m/${pkgname}-${_prodver}.x86_64.rpm")
37
38sha256sums=('852f3d2cda6660181ac54e76d6bbac559f9a79a77f42c7f67b103184a81a5ef3')
39
40install=$pkgname.install
41
42package() {
43
44 #Setup
45 cd $pkgdir
46 mv $srcdir/opt .
47 mv $srcdir/usr .
48
49 #Create links to non-breaking libssl and libcrypto libs
50 ln -sf /lib/libssl.so.1.1 $pkgdir/opt/mssql/lib/libssl.so
51 ln -sf /lib/libcrypto.so.1.1 $pkgdir/opt/mssql/lib/libcrypto.so
52
53 #Set systemd service file perms
54 chmod 644 $pkgdir/usr/lib/systemd/system/mssql-server.service
55}
56

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