polymath
maintainer Doridian
· 1 votes
· scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged
The package downloads a prebuilt .deb from the project's official domain but outside standard release infrastructure; while likely legitimate, the unverifiable binary artifact from a non-whitelisted host poses a moderate supply-chain risk if the source were silently swapped.
Triggered rules
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:14
"https://fluxkeyboard.com/updates/polymath/linux/deb/polymath_${pkgver}_amd64.deb"
MEDIUM
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-07-25) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt .deb from the project's official domain but outside standard release infrastructure; while likely legitimate, the unverifiable binary artifact from a non-whitelisted host poses a moderate supply-chain risk if the source were silently swapped.
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Doridian <archlinux at doridian dot net>
2
3
pkgname=polymath
4
pkgver=1.4.3.1
5
pkgrel=1
6
pkgdesc='Advanced keyboard layout customization tool for Flux keyboards'
7
arch=('x86_64')
8
url='https://fluxkeyboard.com/updates/'
9
license=('custom')
10
makedepends=('binutils' 'tar' 'zstd')
11
depends=('mpv' 'glib2' 'glibc' 'gtk3' 'libayatana-appindicator' 'desktop-file-utils' 'libsecret')
12
options=('!strip' '!debug' '!lto')
13
source=(
14
"https://fluxkeyboard.com/updates/polymath/linux/deb/polymath_${pkgver}_amd64.deb"
15
'udev.rules'
16
)
17
sha256sums=(
18
'702806daac159a416c2212ddc6232d4c2ba5e03876cdafb3a6da0a858289ddf3'
19
'SKIP'
20
)
21
22
build() {
23
cd "${srcdir}"
24
rm -rf data && mkdir data
25
26
tar -C data -xf data.tar.zst
27
28
rm -rf data/etc/polkit-1
29
chmod -R g-w data
30
}
31
32
package() {
33
mkdir "${pkgdir}/opt"
34
cp -r "${srcdir}/data/opt/polymath" "${pkgdir}/opt/"
35
cp -r "${srcdir}/data/usr" "${pkgdir}/"
36
install -Dm644 "${srcdir}/udev.rules" "${pkgdir}/usr/lib/udev/rules.d/95-polymath.rules"
37
}
38
39
# vim:set ts=2 sw=2 et:
40
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | MEDIUM | 2 |
| 2026-08-02 00:16:08 | MEDIUM | 2 |
| 2026-08-01 00:11:18 | MEDIUM | 2 |
| 2026-07-31 00:14:10 | MEDIUM | 2 |
| 2026-07-30 00:17:23 | MEDIUM | 2 |
| 2026-07-29 00:25:53 | MEDIUM | 2 |
| 2026-07-28 00:07:28 | MEDIUM | 2 |
| 2026-07-27 00:24:32 | MEDIUM | 2 |
| 2026-07-26 00:07:32 | MEDIUM | 2 |
| 2026-07-25 00:13:44 | MEDIUM | 2 |
| 2026-07-24 00:02:28 | MEDIUM | 2 |
| 2026-07-23 00:14:47 | MEDIUM | 2 |
| 2026-07-22 00:29:32 | MEDIUM | 2 |
| 2026-07-21 00:24:15 | MEDIUM | 2 |
| 2026-07-20 00:19:49 | MEDIUM | 2 |
| 2026-07-19 00:17:08 | MEDIUM | 2 |
| 2026-07-18 00:14:48 | MEDIUM | 2 |
| 2026-07-17 00:06:16 | MEDIUM | 2 |
| 2026-07-16 00:05:41 | MEDIUM | 2 |
| 2026-07-15 00:09:25 | MEDIUM | 2 |