thinkpad_utils-git
maintainer staticnull
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package builds from a git repository on a non-whitelisted host, but it is the project's own source code being compiled, which is normal for AUR packages; the risk is low as no prebuilt binaries or unverified executables are downloaded.
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 package builds from a git repository on a non-whitelisted host, but it is the project's own source code being compiled, which is normal for AUR packages; the risk is low as no prebuilt binaries or unverified executables are downloaded.
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:12
source=("git+https://git.teto.party/pkgs/thinkpad_utils.git"
PKGBUILD
1 offending line(s) highlighted
1
pkgname=thinkpad_utils-git
2
pkgver=r6.063014b
3
pkgrel=1
4
pkgdesc="Auto-save/restore ThinkPad keyboard backlight with lid detection"
5
arch=('x86_64' 'aarch64')
6
url="https://git.teto.party/pkgs/thinkpad_utils"
7
license=('BSD')
8
depends=()
9
makedepends=('git' 'gcc')
10
provides=('thinkpad_utils')
11
conflicts=('thinkpad_utils')
12
source=("git+https://git.teto.party/pkgs/thinkpad_utils.git"
13
config.h)
14
md5sums=('SKIP' 'SKIP')
15
options=('!strip' '!emptydirs')
16
17
pkgver() {
18
cd "$srcdir/thinkpad_utils"
19
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
20
}
21
22
prepare() {
23
cd "$srcdir/thinkpad_utils"
24
if [[ -f "$srcdir/config.h" ]]; then
25
cp -fv "$srcdir/config.h" $srcdir/thinkpad_utils/config.h
26
fi
27
}
28
29
build() {
30
cd "$srcdir/thinkpad_utils"
31
cc -O3 -march=native -mtune=native -flto -s -std=c99 -o thinkpad_utils thinkpad_utils.c
32
}
33
34
package() {
35
cd "$srcdir/thinkpad_utils"
36
37
install -Dm755 thinkpad_utils "$pkgdir/usr/bin/thinkpad_utils"
38
install -Dm644 thinkpad_utils.service "$pkgdir/usr/lib/systemd/system/thinkpad_utils.service"
39
install -Dm755 thinkpad_utils.rc "$pkgdir/etc/init.d/thinkpad_utils"
40
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
41
42
install -dm755 "$pkgdir/var/lib/thinkpad_utils"
43
}
44
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 |