hush-mic
maintainer UMCEKO
· 0 votes
· scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged
The package downloads a prebuilt SDK binary (afx-link) from a non-standard, non-whitelisted host (cdn.hush.umceko.com) which could be swapped by an unrelated party, posing a supply-chain risk despite building the main application from source.
Triggered rules
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:20
"afx-link-${_sdkver}.tar.zst::https://cdn.hush.umceko.com/sdk/${_sdkver}/afx-link-x86_64.tar.zst")
MEDIUM
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 85%): The package downloads a prebuilt SDK binary (afx-link) from a non-standard, non-whitelisted host (cdn.hush.umceko.com) which could be swapped by an unrelated party, posing a supply-chain risk despite building the main application from source.
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: umceko <support@stockimg.ai>
2
pkgname=hush-mic
3
pkgver=1.0.0
4
pkgrel=2
5
pkgdesc="NVIDIA Maxine AI noise-suppression virtual microphone (built from source)"
6
arch=('x86_64')
7
url="https://github.com/UMCEKO/hush"
8
license=('MIT')
9
depends=('webkit2gtk-4.1' 'gtk3' 'libsoup3' 'glib-networking' 'pipewire' 'libpulse' 'dbus' 'gcc-libs')
10
makedepends=('rust>=1.88' 'cargo' 'pkgconf' 'clang')
11
optdepends=('nvidia-utils: nvidia-smi GPU detection (required at runtime)')
12
# makepkg's -flto=auto in CFLAGS turns ring's C objects into GCC LTO bitcode,
13
# which rust-lld can't read -> undefined ring_core_* symbols at link time.
14
options=('!lto')
15
provides=('hush-mic')
16
# 'hush'/'hush-bin' (an unrelated Lua shell) also install /usr/bin/hush
17
conflicts=('hush-mic-bin' 'hush' 'hush-bin')
18
_sdkver=2.1.0
19
source=("hush-$pkgver.tar.gz::https://github.com/UMCEKO/hush/archive/refs/tags/v$pkgver.tar.gz"
20
"afx-link-${_sdkver}.tar.zst::https://cdn.hush.umceko.com/sdk/${_sdkver}/afx-link-x86_64.tar.zst")
21
sha256sums=('SKIP'
22
'eb381134dcfae78a35b85f06c6d2c87103efbb7e736e0dcbcd3daa4fc359eba5')
23
24
prepare() {
25
cd "hush-$pkgver"
26
# Fetch the git-pinned dioxus/blitz deps up front (network is allowed here).
27
export CARGO_HOME="$srcdir/cargo-home"
28
cargo fetch --locked --target x86_64-unknown-linux-gnu
29
# Unpack the link libs (libnv_audiofx + libcudart) into a flat NVAFX_LINK_DIR.
30
mkdir -p "$srcdir/linklibs"
31
bsdtar -xf "$srcdir/afx-link-${_sdkver}.tar.zst" -C "$srcdir/linklibs"
32
}
33
34
build() {
35
cd "hush-$pkgver"
36
export CARGO_HOME="$srcdir/cargo-home"
37
export NVAFX_LINK_DIR="$srcdir/linklibs"
38
export RUSTUP_TOOLCHAIN=stable
39
cargo build --frozen --release -p hush-app -p hush-engine --bin hush --bin hushd
40
}
41
42
package() {
43
cd "hush-$pkgver"
44
install -Dm755 target/release/hush "$pkgdir/usr/bin/hush"
45
install -Dm755 target/release/hushd "$pkgdir/usr/bin/hushd"
46
install -Dm644 dist/io.github.umceko.hush.desktop "$pkgdir/usr/share/applications/io.github.umceko.hush.desktop"
47
install -Dm644 dist/hush.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/hush.svg"
48
install -Dm644 dist/NVIDIA_NOTICE.txt "$pkgdir/usr/share/licenses/$pkgname/NVIDIA_NOTICE.txt"
49
install -Dm644 dist/FONT_LICENSES.txt "$pkgdir/usr/share/licenses/$pkgname/FONT_LICENSES.txt"
50
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
51
}
52
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | MEDIUM | 2 |
| 2026-08-02 00:16:08 | MEDIUM | 2 |
| 2026-08-01 00:11:18 | MEDIUM | 2 |
| 2026-07-31 00:14:10 | MEDIUM | 2 |
| 2026-07-30 00:17:23 | MEDIUM | 2 |
| 2026-07-29 00:25:53 | MEDIUM | 2 |
| 2026-07-28 00:07:28 | MEDIUM | 2 |
| 2026-07-27 00:24:32 | MEDIUM | 2 |
| 2026-07-26 00:07:32 | MEDIUM | 2 |
| 2026-07-25 00:13:44 | MEDIUM | 2 |
| 2026-07-24 00:02:28 | MEDIUM | 3 |
| 2026-07-23 00:14:47 | MEDIUM | 3 |
| 2026-07-22 00:29:32 | MEDIUM | 3 |
| 2026-07-21 00:24:15 | MEDIUM | 3 |
| 2026-07-20 00:19:49 | MEDIUM | 3 |
| 2026-07-19 00:17:08 | MEDIUM | 3 |
| 2026-07-18 00:14:48 | MEDIUM | 3 |
| 2026-07-17 00:06:16 | MEDIUM | 3 |
| 2026-07-16 17:52:43 | MEDIUM | 3 |
| 2026-07-16 11:51:28 | MEDIUM | 3 |