droidmote-bin

maintainer orphaned · 1 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt binary at build time from videomap.it (the upstream vendor's own website) without any checksum verification. The binary is architecture-selected, fetched outside the source=() array (so no integrity check is performed by makepkg), and directly installed to /usr/bin. While videomap.it appears to be the legitimate upstream vendor for DroidMote, the absence of any hash verification means a compromised or substituted binary would go undetected. This is a genuine supply-chain concern: an executed binary from an external host with no integrity verification constitutes a medium-severity risk regardless of whether the host is the official vendor.

Triggered rules

MEDIUM External download from an untrusted host, not in source=() external_download_not_in_source

curl/wget fetches a URL on a non-allowlisted host that is not part of source=(), so it is not checksum-verified by makepkg.

  • PKGBUILD:46 curl -L "https://videomap.it/script/$_target" -o droidmote
MEDIUM AI review downgraded a static finding llm_review

The static rules flagged this HIGH, but an AI model (anthropic/claude-4.6-sonnet-20260217) reviewed the full PKGBUILD and judged it MEDIUM (confidence 85%): The PKGBUILD downloads a prebuilt binary at build time from videomap.it (the upstream vendor's own website) without any checksum verification. The binary is architecture-selected, fetched outside the source=() array (so no integrity check is performed by makepkg), and directly installed to /usr/bin. While videomap.it appears to be the legitimate upstream vendor for DroidMote, the absence of any hash verification means a compromised or substituted binary would go undetected. This is a genuine supply-chain concern: an executed binary from an external host with no integrity verification constitutes a medium-severity risk regardless of whether the host is the official vendor.

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:47 chmod +x droidmote

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: Faruk Dikcizgi <boogiepop@gmx.de>
2# Contributor: Adrian Lopez <adrianlzt@gmail.com>
3# Contributor: "Amhairghin" Oscar Garcia Amor (https://ogarcia.me)
4
5pkgname=droidmote-bin
6pkgver=3.0.6
7pkgrel=1
8pkgdesc='Server for DroidMote. Use your androd as remote mouse and keyboard.'
9arch=('i686' 'x86_64' 'aarch64' 'arm7f')
10url='http://www.videomap.it/'
11license=('custom:unknown')
12makedepends=('curl')
13depends=('libx11')
14backup=("etc/droidmote.conf")
15source=("droidmote.conf"
16 "service")
17sha256sums=('b6386dec0977b27dff244e04f4fdbf5becc4c12731a261678524c21ffb3e53a4'
18 '0e88c9e0b189e0d8890ddbee8f00da13485973e028811e4e70a8b1c2b7595bbe')
19
20pkgver(){
21 local _ver=$(curl -Ls https://www.videomap.it/download.htm | grep -o1Ei 'inux\s([0-9\.]+)')
22 printf "${_ver#inux }"
23}
24
25build(){
26 local _arch="`uname -m`"
27 local _target=""
28 case "$_arch" in
29 x86 | i?86)
30 _target="dms-ubuntu-x32"
31 ;;
32 x86_64 | amd64)
33 _target="dms-ubuntu-x64"
34 ;;
35 armel)
36 _target="dms-ubuntu-arm"
37 ;;
38 arm64 | aarch64)
39 _target="dms-ubuntu-arm64"
40 ;;
41 arm*)
42 _target="dms-ubuntu-arm"
43 ;;
44 *) error 2 "Invalid architecture '$_arch'.";;
45 esac
46 curl -L "https://videomap.it/script/$_target" -o droidmote
47 chmod +x droidmote
48}
49
50package() {
51 install -D droidmote "${pkgdir}/usr/bin/droidmote"
52 install -Dm644 "droidmote.conf" "${pkgdir}/etc/droidmote.conf"
53 install -Dm644 "service" "${pkgdir}/usr/lib/systemd/system/droidmote.service"
54}
55

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 3
2026-08-02 00:16:08 MEDIUM 3
2026-08-01 00:11:18 MEDIUM 3
2026-07-31 00:14:10 MEDIUM 3
2026-07-30 00:17:23 MEDIUM 3
2026-07-29 00:25:53 MEDIUM 3
2026-07-28 00:07:28 MEDIUM 3
2026-07-27 00:24:32 MEDIUM 3
2026-07-26 00:07:32 MEDIUM 3
2026-07-25 00:13:44 MEDIUM 3
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 00:05:41 MEDIUM 3
2026-07-15 00:09:25 MEDIUM 3

Report a package

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

0 / 4000
Your suggestion