thermalright-trcc

LOW
maintainer honjow 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The pip install bundles 'uvicorn', a missing dependency from official repos, into the package; this is a legitimate build step to include required software, not malicious remote code execution.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The pip install bundles 'uvicorn', a missing dependency from official repos, into the package; this is a legitimate build step to include required software, not malicious remote code execution.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium pip install of an external package pip_install_external

`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.

  • PKGBUILD:56 python -m pip install --root="${pkgdir}" --prefix=/usr --no-deps uvicorn

PKGBUILD

1 offending line(s) highlighted
1#!/usr/bin/env bash
2# shellcheck shell=bash disable=SC2034,SC2154
3# Maintainer: TRCC Linux Contributors <noreply@github.com>
4
5pkgname=thermalright-trcc
6pkgver=9.10.0
7pkgrel=1
8pkgdesc="Thermalright LCD/LED Control Center for Linux"
9arch=('any')
10url="https://github.com/Lexonight1/thermalright-trcc-linux"
11license=('GPL-3.0-or-later')
12depends=(
13 'python'
14 'pyside6'
15 'python-pillow'
16 'python-numpy'
17 'python-psutil'
18 'python-pyusb'
19 'python-click'
20 'python-typer'
21 'python-fastapi'
22 'libusb'
23 'sg3_utils'
24 'p7zip'
25)
26# python-uvicorn not in official Arch repos — bundled via pip in package()
27optdepends=(
28 'python-pynvml: NVIDIA GPU sensor support'
29 'python-dbus: Wayland session support'
30 'python-gobject: Wayland session support'
31 'python-hidapi: Alternative HID transport'
32)
33makedepends=(
34 'python-build'
35 'python-installer'
36 'python-hatchling'
37 'python-pip'
38)
39conflicts=('thermalright-trcc-git')
40source=(
41 "thermalright-trcc-linux-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz"
42)
43sha256sums=('da4a5f367ea3bfc132066545cc69ab87c585ba3df44839c1d7287d5dcfb98452')
44
45build() {
46 cd "${srcdir}/thermalright-trcc-linux-${pkgver}" || return 1
47 python -m build --wheel --no-isolation
48}
49
50package() {
51 cd "${srcdir}/thermalright-trcc-linux-${pkgver}" || return 1
52
53 python -m installer --destdir="${pkgdir}" --prefix=/usr dist/trcc_linux-*.whl
54
55 # Bundle deps not in official Arch repos.
56 python -m pip install --root="${pkgdir}" --prefix=/usr --no-deps uvicorn
57
58 # udev rules
59 install -Dm644 packaging/udev/99-trcc-lcd.rules \
60 "${pkgdir}/usr/lib/udev/rules.d/99-trcc-lcd.rules"
61 # modprobe config (USB storage quirks)
62 install -Dm644 packaging/modprobe/trcc-lcd.conf \
63 "${pkgdir}/usr/lib/modprobe.d/trcc-lcd.conf"
64 # modules-load (SCSI generic)
65 install -Dm644 packaging/modprobe/trcc-sg.conf \
66 "${pkgdir}/usr/lib/modules-load.d/trcc-sg.conf"
67 # desktop entry
68 install -Dm644 src/trcc/assets/trcc-linux.desktop \
69 "${pkgdir}/usr/share/applications/trcc-linux.desktop"
70 # polkit policy
71 install -Dm644 src/trcc/assets/com.github.lexonight1.trcc.policy \
72 "${pkgdir}/usr/share/polkit-1/actions/com.github.lexonight1.trcc.policy"
73 # systemd service
74 install -Dm644 src/trcc/assets/trcc-quirk-fix.service \
75 "${pkgdir}/usr/lib/systemd/system/trcc-quirk-fix.service"
76
77 # app icons
78 local size
79 for size in 256 128 64 48 32 24 16; do
80 install -Dm644 "src/trcc/assets/icons/trcc_${size}x${size}.png" \
81 "${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/trcc.png"
82 done
83
84 # license
85 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
86}
87

Changes since previous scan

--- PKGBUILD @ 2026-09-16 00:03
+++ PKGBUILD @ 2026-09-17 00:27
@@ -3,7 +3,7 @@
# Maintainer: TRCC Linux Contributors <noreply@github.com>
pkgname=thermalright-trcc
-pkgver=9.9.12
+pkgver=9.10.0
pkgrel=1
pkgdesc="Thermalright LCD/LED Control Center for Linux"
arch=('any')
@@ -40,7 +40,7 @@
source=(
"thermalright-trcc-linux-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz"
)
-sha256sums=('ab06d9c0a23f60264c57414e8ce7d5b6bc7ec3f4562ecd183a8d8063db2569ae')
+sha256sums=('da4a5f367ea3bfc132066545cc69ab87c585ba3df44839c1d7287d5dcfb98452')
build() {
cd "${srcdir}/thermalright-trcc-linux-${pkgver}" || return 1

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 05:21:26 Medium 1
2026-09-16 00:03:17 Medium 2
2026-09-15 00:25:31 Medium 2
2026-09-14 00:27:57 Medium 2
2026-09-13 00:19:54 Medium 2
2026-09-12 00:25:17 Medium 2
2026-09-11 00:19:22 Medium 2
2026-09-10 00:22:44 Medium 2
2026-09-09 00:04:09 Medium 2
2026-09-08 00:18:08 Medium 2
2026-09-07 00:30:15 Medium 2
2026-09-06 00:17:06 Medium 2
2026-09-05 00:16:27 Medium 2
2026-09-04 00:03:13 Medium 2
2026-09-03 00:15:47 Medium 2
2026-09-02 00:02:31 Medium 2
2026-09-01 00:11:19 Medium 2
2026-08-31 23:46:20 Medium 2
2026-08-31 00:19:57 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