mysql-router
maintainer orphaned
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from cdn.mysql.com, a plausible official host for MySQL projects, and the package builds from source; the non-whitelisted host triggers a static warning but does not indicate actual risk.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from cdn.mysql.com, a plausible official host for MySQL projects, and the package builds from source; the non-whitelisted host triggers a static warning but does not indicate actual risk.
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:13
source=("http://cdn.mysql.com/Downloads/MySQL-Router/${pkgname}-${pkgver}.tar.gz"{,.asc}
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Christian Hesse <mail@eworm.de>
2
3
pkgname=mysql-router
4
pkgver=2.0.4
5
pkgrel=1
6
pkgdesc='Lightweight middleware that provides transparent routing between your application and any backend MySQL Servers'
7
arch=('i686' 'x86_64')
8
url='http://dev.mysql.com/downloads/router/'
9
license=('GPL')
10
makedepends=('cmake' 'doxygen' 'libmariadbclient')
11
backup=('etc/mysql/router.ini')
12
validpgpkeys=('A4A9406876FCBD3C456770C88C718D3B5072E1F5')
13
source=("http://cdn.mysql.com/Downloads/MySQL-Router/${pkgname}-${pkgver}.tar.gz"{,.asc}
14
'mysqlrouter.sysusers')
15
sha256sums=('c56ccd028c2429c8daff74050a37010f596634aef6844a7539175951eeb4b80a'
16
'SKIP'
17
'8db8c99262320402b4c2e811c960291fec4a2c951bbdc0564e615f50b4f85cac')
18
19
prepare() {
20
cd "${srcdir}/${pkgname}-${pkgver}"
21
22
sed -i '/^ExecStart/c ExecStart=/usr/bin/mysqlrouter --config /etc/mysql/router.ini' \
23
packaging/rpm-oel/mysqlrouter.service
24
}
25
26
build() {
27
cd "${srcdir}/${pkgname}-${pkgver}"
28
29
cmake . \
30
-Wno-dev \
31
-DCMAKE_INSTALL_PREFIX:PATH=/usr
32
make
33
}
34
35
package() {
36
cd "${srcdir}/${pkgname}-${pkgver}"
37
38
make DESTDIR="${pkgdir}" install
39
chmod 0755 "${pkgdir}"/usr
40
41
# install config file
42
install -D -m0644 doc/sample_mysqlrouter.ini "${pkgdir}"/etc/mysql/router.ini
43
44
# install systemd files
45
install -D -m0644 packaging/rpm-oel/mysqlrouter.service "${pkgdir}"/usr/lib/systemd/system/mysqlrouter.service
46
install -D -m0644 "${srcdir}"/mysqlrouter.sysusers "${pkgdir}"/usr/lib/sysusers.d/mysqlrouter.conf
47
install -D -m0644 packaging/rpm-oel/mysqlrouter.tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/mysqlrouter.conf
48
}
49
50
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 |