smi-usbdisplay

maintainer dsandall · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads a source archive from the official vendor's website (siliconmotion.com), which is the legitimate provider of the driver; the non-standard host flag is a false positive as the domain is authentic and the content is a self-extracting installer for a proprietary userspace daemon, not untrusted executable code.

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 a source archive from the official vendor's website (siliconmotion.com), which is the legitimate provider of the driver; the non-standard host flag is a false positive as the domain is authentic and the content is a self-extracting installer for a proprietary userspace daemon, not untrusted executable code.

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:13 "SMI-USB-Display-for-Linux-v${pkgver}.zip::https://www.siliconmotion.com/downloads/SMI-USB-Display-for-Linux-v${pkgver}.zip"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Dylan Sandall <dsandalledu@gmail.com>
2pkgname=smi-usbdisplay
3pkgver=2.24.8.0
4pkgrel=1
5pkgdesc="Silicon Motion SMI USB Display driver (userspace daemon for 090c:0768)"
6arch=('x86_64')
7url="https://www.siliconmotion.com"
8license=('custom')
9depends=('evdi-dkms-git' 'libusb')
10optdepends=('xorg-server: Xorg display config is installed')
11install="smi-usbdisplay.install"
12source=(
13 "SMI-USB-Display-for-Linux-v${pkgver}.zip::https://www.siliconmotion.com/downloads/SMI-USB-Display-for-Linux-v${pkgver}.zip"
14 "smiusbdisplay.service"
15 "99-smiusbdisplay.rules"
16 "smi-udev.sh"
17 "20-smi.conf"
18)
19noextract=("SMI-USB-Display-for-Linux-v${pkgver}.zip")
20sha256sums=(
21 'bb22458b526471b79af41874712247ae12dfdcaefca638d1e2c78103751fe07f'
22 'b95a0d56fe93a10ce5177e7a6a5cb52a8e2cca014a35f3976fbecb3e2b1b089a'
23 'b8e1f7313cf088ad8682f534311558d095e6d47fc8824a6854c6683ddf0baa52'
24 '058241b06c90232588c49d1b84b7b75cc6ddd0a0ed678d9ae124ac5517b3d86a'
25 '47258acba683691c75ae897b8e5d7d2ca418a4b4f78c4359c7aca4cbde19dc35'
26)
27
28prepare() {
29 unzip -o "SMI-USB-Display-for-Linux-v${pkgver}.zip"
30 chmod +x "SMIUSBDisplay-driver.${pkgver}.run"
31 "./SMIUSBDisplay-driver.${pkgver}.run" --noexec --target "$srcdir/smi-src"
32}
33
34package() {
35 cd "$srcdir/smi-src"
36
37 # Binary
38 install -Dm755 x64/SMIUSBDisplayManager "$pkgdir/opt/siliconmotion/SMIUSBDisplayManager"
39
40 # Firmware
41 install -Dm644 Bootloader0.bin "$pkgdir/opt/siliconmotion/Bootloader0.bin"
42 install -Dm644 Bootloader1.bin "$pkgdir/opt/siliconmotion/Bootloader1.bin"
43 install -Dm644 firmware0.bin "$pkgdir/opt/siliconmotion/firmware0.bin"
44 install -Dm644 USBDisplay.bin "$pkgdir/opt/siliconmotion/USBDisplay.bin"
45 install -Dm644 USBDisplay770.bin "$pkgdir/opt/siliconmotion/USBDisplay770.bin"
46
47 # smi-installer symlink target
48 install -Dm755 install.sh "$pkgdir/opt/siliconmotion/install.sh"
49 install -dm755 "$pkgdir/usr/bin"
50 ln -s /opt/siliconmotion/install.sh "$pkgdir/usr/bin/smi-installer"
51
52 # udev bootstrap script
53 install -Dm744 "$srcdir/smi-udev.sh" "$pkgdir/opt/siliconmotion/smi-udev.sh"
54
55 # Systemd service
56 install -Dm644 "$srcdir/smiusbdisplay.service" \
57 "$pkgdir/usr/lib/systemd/system/smiusbdisplay.service"
58
59 # udev rules
60 install -Dm644 "$srcdir/99-smiusbdisplay.rules" \
61 "$pkgdir/etc/udev/rules.d/99-smiusbdisplay.rules"
62
63 # Xorg config
64 install -Dm644 "$srcdir/20-smi.conf" \
65 "$pkgdir/usr/share/X11/xorg.conf.d/20-smi.conf"
66
67 # Module autoload + options
68 install -Dm644 /dev/stdin "$pkgdir/etc/modules-load.d/evdi.conf" <<< "evdi"
69 install -Dm644 /dev/stdin "$pkgdir/etc/modprobe.d/evdi.conf" \
70 <<< "options evdi initial_device_count=4"
71
72 # Log directory
73 install -dm755 "$pkgdir/var/log/SMIUSBDisplay"
74
75 # License
76 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
77}
78

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