voicetype-bin
The package downloads a model file (ggml-base.en.bin) from huggingface.co, a non-whitelisted but legitimate and widely trusted host for machine learning models; the file is data, not executable code, and is used locally by the application, posing minimal supply-chain risk.
Triggered rules
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 a model file (ggml-base.en.bin) from huggingface.co, a non-whitelisted but legitimate and widely trusted host for machine learning models; the file is data, not executable code, and is used locally by the application, posing minimal supply-chain risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
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-base.en.bin::https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.en.bin"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Niklas Aldervall <aldervall@users.noreply.github.com>
pkgname=voicetype-bin
pkgver=1.5.3
pkgrel=2
pkgdesc='Local English voice transcription using whisper.cpp with hold-to-speak daemon'
arch=('x86_64')
url='https://github.com/aldervall/Voicetype'
license=('MIT')
depends=(
'python'
'python-requests'
'python-sounddevice'
'python-scipy'
'python-numpy'
'python-evdev'
)
optdepends=(
'ydotool: for auto-paste in daemon mode (recommended)'
'wl-clipboard: clipboard support on Wayland'
'xclip: clipboard support on X11'
'libnotify: desktop notifications'
'pulseaudio: audio feedback beeps'
)
provides=('voicetype')
conflicts=('voicetype')
source=(
"$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
"ggml-base.en.bin::https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.en.bin"
)
sha256sums=('d8f05fd160f05633b35121c735e99b00301ae6853954ca377e955fb494607337'
'a03779c86df3323075f5e796cb2ce5029f00ec8869eee3fdfb897afe36c6d002')
install=voicetype.install
package() {
cd "$srcdir/Voicetype-$pkgver"
# Install Python modules
install -dm755 "$pkgdir/usr/lib/voicetype"
install -Dm644 src/*.py -t "$pkgdir/usr/lib/voicetype/"
install -Dm644 src/config.py "$pkgdir/usr/lib/voicetype/config.py"
# Install whisper-server binary
install -dm755 "$pkgdir/usr/lib/voicetype/whisper/bin"
install -Dm755 .whisper/bin/whisper-server-linux-x64 \
"$pkgdir/usr/lib/voicetype/whisper/bin/whisper-server"
# Install helper scripts
install -dm755 "$pkgdir/usr/lib/voicetype/whisper/scripts"
install -Dm755 .whisper/scripts/*.sh -t "$pkgdir/usr/lib/voicetype/whisper/scripts/"
# Install whisper model (downloaded during build)
install -dm755 "$pkgdir/usr/lib/voicetype/whisper/models"
install -Dm644 "$srcdir/ggml-base.en.bin" "$pkgdir/usr/lib/voicetype/whisper/models/ggml-base.en.bin"
# Install sound files for audio feedback
install -dm755 "$pkgdir/usr/lib/voicetype/sounds"
install -Dm644 sounds/*.wav -t "$pkgdir/usr/lib/voicetype/sounds/"
# Install launcher scripts
install -Dm755 /dev/stdin "$pkgdir/usr/bin/voicetype-daemon" <<'EOF'
#!/bin/bash
# VoiceType daemon launcher
cd /usr/lib
exec python -m voicetype.voice_holdtospeak "$@"
EOF
install -Dm755 /dev/stdin "$pkgdir/usr/bin/voicetype-input" <<'EOF'
#!/bin/bash
# VoiceType one-shot voice input
cd /usr/lib
exec python -m voicetype.voice_to_text "$@"
EOF
install -Dm755 /dev/stdin "$pkgdir/usr/bin/voicetype-stop-server" <<'EOF'
#!/bin/bash
# Stop whisper.cpp server
pkill -f "whisper-server" && echo "Whisper server stopped" || echo "No server running"
EOF
# Install systemd user service
install -Dm644 /dev/stdin "$pkgdir/usr/lib/systemd/user/voicetype-daemon.service" <<'EOF'
[Unit]
Description=VoiceType Hold-to-Speak Daemon
After=graphical-session.target
[Service]
Type=simple
ExecStart=/usr/bin/voicetype-daemon
Restart=on-failure
RestartSec=5
[Install]
WantedBy=default.target
EOF
# Install license
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
# Install documentation
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |