scrcpy-git

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

The downloaded file is a prebuilt server binary from the project's own release script, verified with a checksum from the same source repository; this is a normal build step for scrcpy and not a supply-chain risk.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this HIGH, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The downloaded file is a prebuilt server binary from the project's own release script, verified with a checksum from the same source repository; this is a normal build step for scrcpy and not a supply-chain risk.

1 higher static finding superseded - not the current verdict (shown for transparency)
High Downloaded file is executed download_then_exec

A file fetched with curl/wget (not part of source=(), so never checksum-verified) is later made executable or run — a fetch-and-execute pattern split across statements.

  • PKGBUILD:46 -D prebuilt_server="../$_file" \

PKGBUILD

1 offending line(s) highlighted
1# Merged with official ABS scrcpy PKGBUILD by João, 2023/05/14 (all respective contributors apply herein)
2# Maintainer: Daniël Nazarkin <aur@danicatgames.nl>
3# Contributor: João Figueiredo & chaotic-aur <islandc0der@chaotic.cx>
4# Contributor: skydrome -at- protonmail
5
6pkgname=scrcpy-git
7pkgver=4.0_r3115.g1e085efc
8pkgrel=1
9pkgdesc='Display and control your Android device'
10arch=('x86_64')
11url='https://github.com/Genymobile/scrcpy'
12license=(Apache-2.0)
13depends=(android-tools ffmpeg sdl3 glibc libusb hicolor-icon-theme)
14makedepends=(git meson)
15conflicts=(${pkgname%-git})
16provides=(${pkgname%-git})
17source=("git+https://github.com/Genymobile/${pkgname%-git}.git#branch=dev")
18sha256sums=('SKIP')
19
20pkgver() {
21 cd ${pkgname%-git}
22 _ver="$(git describe | sed 's/^v//;s/-.*//')"
23 echo "${_ver}_r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
24}
25
26prepare() {
27 _url=$(grep '^PREBUILT_SERVER_URL=' "scrcpy/install_release.sh" | cut -d= -f2)
28 _sha256=$(grep '^PREBUILT_SERVER_SHA256=' "scrcpy/install_release.sh" | cut -d= -f2)
29 _file="${_url##*/}"
30
31 if [ ! -f "$_file" ]; then
32 curl -L -o "$_file" "$_url"
33 fi
34
35 echo "$_sha256 $_file" | sha256sum --check || {
36 echo "Error: server checksum failed"
37 exit 1
38 }
39}
40
41build() {
42 mkdir -p build
43 arch-meson build ${pkgname%-git} \
44 -D b_lto=true \
45 -D b_ndebug=true \
46 -D prebuilt_server="../$_file" \
47 --buildtype release
48 ninja -C build
49}
50
51package() {
52 DESTDIR="$pkgdir" ninja -C build install
53 install -Dm644 ${pkgname%-git}/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
54}
55

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