lokstt-vulkan

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

The package downloads model files from Hugging Face, a reputable source, which are used as data and not executed; the main code is built from a public Git repository, and the non-standard host is for non-executable assets, posing minimal 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 package downloads model files from Hugging Face, a reputable source, which are used as data and not executed; the main code is built from a public Git repository, and the non-standard host is for non-executable assets, posing minimal 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:28 "ggml-tiny.bin::https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-tiny.bin"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Al <lokteam@protonmail.com>
2pkgname=lokstt-vulkan
3pkgver=1.0.0
4pkgrel=1
5pkgdesc="A blazing-fast and stylish GTK4 dictation daemon (Vulkan Backend for AMD/Intel)"
6arch=('x86_64')
7url="https://github.com/lokteam/lokstt"
8license=('MIT')
9depends=(
10 'gtk4'
11 'portaudio'
12 'alsa-lib'
13 'jack'
14 'whisper.cpp-vulkan'
15 'vulkan-icd-loader'
16 'ydotool'
17 'xdotool'
18 'wl-clipboard'
19)
20makedepends=('go' 'git' 'pkgconf' 'vulkan-headers')
21conflicts=('lokstt' 'lokstt-cuda')
22provides=('lokstt')
23options=("!debug")
24install='lokstt.install'
25
26source=(
27 "git+https://github.com/lokteam/lokstt.git"
28 "ggml-tiny.bin::https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-tiny.bin"
29 "ggml-base.bin::https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.bin"
30 "ggml-small.bin::https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-small.bin"
31 "ggml-medium-q5_0.bin::https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-medium-q5_0.bin"
32 "ggml-large-v3-turbo-q5_0.bin::https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-large-v3-turbo-q5_0.bin"
33)
34sha256sums=('SKIP'
35 'be07e048e1e599ad46341c8d2a135645097a538221678b7acdd1b1919c6e1b21'
36 '60ed5bc3dd14eea856493d334349b405782ddcaf0028d4b5df4088345fba2efe'
37 '1be3a9b2063867b937e64e2ec7483364a79917e157fa98c5d94b5c1fffea987b'
38 '19fea4b380c3a618ec4723c3eef2eb785ffba0d0538cf43f8f235e7b3b34220f'
39 '394221709cd5ad1f40c46e6031ca61bce88931e6e088c188294c6d5a55ffa7e2')
40
41build() {
42 cd "lokstt"
43 export CGO_CXXFLAGS="-std=c++11"
44 export CGO_CFLAGS="-DGGML_USE_VULKAN=1"
45 export CGO_LDFLAGS="-lvulkan"
46 GOSUMDB=off go build -o lokstt main.go
47 cd client
48 GOSUMDB=off go build -o lokstt-client main.go
49}
50
51package() {
52 install -Dm755 "lokstt/lokstt" "$pkgdir/usr/bin/lokstt"
53 install -Dm755 "lokstt/client/lokstt-client" "$pkgdir/usr/bin/lokstt-client"
54 install -Dm644 "lokstt/lokstt-settings.desktop" "$pkgdir/usr/share/applications/lokstt-settings.desktop"
55
56 # Install the systemd user service
57 install -Dm644 "lokstt/lokstt.service" "$pkgdir/usr/lib/systemd/user/lokstt.service"
58 install -d "$pkgdir/usr/lib/systemd/user/graphical-session.target.wants"
59 ln -s "../lokstt.service" "$pkgdir/usr/lib/systemd/user/graphical-session.target.wants/lokstt.service"
60
61 install -d "$pkgdir/usr/share/whisper-models"
62 install -Dm644 "$srcdir"/ggml-*.bin -t "$pkgdir/usr/share/whisper-models/"
63}

Scan history

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