mssql-server
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 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)
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# Maintainer: too <turecki@gmail.com>
# Maintainer: DoctorZeus(Dan) <contact@techtonicsoftware.com>
# Contributor: Gabriel Morrison Lima Dantas <gabrielmldantas@gmail.com>
# Contributor: Aleksey Kamenskikh <aleksey.kamenskikh@gmail.com>
pkgname=mssql-server
pkgver=16.0.4225.2
_remRevision=2
_prodver=${pkgver}-${_remRevision}
pkgrel=1
pkgdesc="Microsoft SQL Server for Linux"
arch=('x86_64')
url="https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-overview?view=sql-server-ver16"
license=('unknown')
depends=(
'libatomic_ops'
'libunwind'
'numactl'
'glibc'
'libc++'
'gdb'
'openssl-1.1'
'krb5'
'nss'
'sssd'
'gawk'
'sed'
'pam'
'libldap24'
);
optdepends=(
'python-pyodbc'
'debugedit'
);
#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
source=("https://pmc-prod-afd-endpoint-evdhh8f8byhsezfp.b01.azurefd.net/rhel/8/mssql-server-2022/Packages/m/${pkgname}-${_prodver}.x86_64.rpm")
sha256sums=('852f3d2cda6660181ac54e76d6bbac559f9a79a77f42c7f67b103184a81a5ef3')
install=$pkgname.install
package() {
#Setup
cd $pkgdir
mv $srcdir/opt .
mv $srcdir/usr .
#Create links to non-breaking libssl and libcrypto libs
ln -sf /lib/libssl.so.1.1 $pkgdir/opt/mssql/lib/libssl.so
ln -sf /lib/libcrypto.so.1.1 $pkgdir/opt/mssql/lib/libcrypto.so
#Set systemd service file perms
chmod 644 $pkgdir/usr/lib/systemd/system/mssql-server.service
}
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 |