lokstt-vulkan

maintainer lokteam · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
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-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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion