cubieboard-livesuit
maintainer lillyforsberg
· 12 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a prebuilt LiveSuit binary from the official cubieboard.org domain, which is a plausible project-owned host; the binary is not executed during build and the source is otherwise legitimate, making the risk low despite the non-whitelisted host.
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 prebuilt LiveSuit binary from the official cubieboard.org domain, which is a plausible project-owned host; the binary is not executed during build and the source is otherwise legitimate, making the risk low despite the non-whitelisted host.
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:16
"http://dl.cubieboard.org/software/tools/livesuit/LiveSuitV${pkgver}_For_Linux64.zip"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Figue <ffigue@gmail.com>
2
# Contributor: Pirea Radu <pirea.radu@gmail.com>
3
4
pkgname=cubieboard-livesuit
5
pkgver=306
6
pkgrel=4
7
pkgdesc="LiveSuit is a tool to flash Images to the NAND of Allwinner devices, such as Cubieboard1, Cubieboard2, and Cubietruck. This package use the ZIP that comes from official Cubieboard download page."
8
arch=('i686' 'x86_64')
9
url="http://cubieboard.org"
10
license=('GPL')
11
depends=('libpng12' 'qt4' 'linux-headers')
12
makedepends=('git' 'dkms')
13
conflicts=()
14
install=${pkgname}.install
15
source_x86_64=("${pkgname}"::'git+https://github.com/linux-sunxi/sunxi-livesuite.git'
16
"http://dl.cubieboard.org/software/tools/livesuit/LiveSuitV${pkgver}_For_Linux64.zip"
17
"50-awusb.rules" "awusb-fix.patch")
18
19
source_i686=("${pkgname}"::'git+https://github.com/linux-sunxi/sunxi-livesuite.git'
20
"http://dl.cubieboard.org/software/tools/livesuit/LiveSuitV${pkgver}_For_Linux32.zip"
21
"50-awusb.rules" "awusb-fix.patch")
22
23
sha256sums_i686=('SKIP'
24
'91553f7dc0a8dc467a6f584b8faea73ddbd6fa6ba39fb3701d208d519a7173be'
25
'21e03a459c30fbf92bef5b086f8c93c6ac7071d97e7855dce7627e624969081f'
26
'033a91cd366b1ecd13ea44e49ee454830623b4db42c76d74e084360a8f33f966')
27
sha256sums_x86_64=('SKIP'
28
'12c042080e6b49e3edff7052cbb9ff0a89badce12be04d1443b1c9d5163d9bf3'
29
'21e03a459c30fbf92bef5b086f8c93c6ac7071d97e7855dce7627e624969081f'
30
'033a91cd366b1ecd13ea44e49ee454830623b4db42c76d74e084360a8f33f966')
31
32
build() {
33
# LiveSuit
34
if [ "$CARCH" = "x86_64" ]; then
35
cd ${srcdir}/LiveSuit_For_Linux64
36
elif [ "$CARCH" = "i686" ]; then
37
cd ${srcdir}/LiveSuit_For_Linux32
38
fi
39
tail -n +60 LiveSuit.run > LiveSuit.tar.bz2
40
tar xjvf LiveSuit.tar.bz2
41
42
# Kernel module awusb
43
cd ${srcdir}/${pkgname}/awusb
44
patch -Np1 -i ${srcdir}/awusb-fix.patch
45
46
# Kernels greater than 5.4 fails to build
47
function ver { printf "%03d%03d%03d" $(echo "$1" | tr '.' ' '); }
48
kernel_ver=$(uname -r | cut -d'-' -f1)
49
if [ "$(ver $kernel_ver)" -gt "$(ver 5.4)" ]; then sed -E -e 's:SUBDIRS=([^ ]+) :M=\1 &:g' -i Makefile ; fi
50
51
make
52
}
53
54
package() {
55
# LiveSuit
56
if [ "$CARCH" = "x86_64" ]; then
57
cd ${srcdir}/LiveSuit_For_Linux64
58
elif [ "$CARCH" = "i686" ]; then
59
cd ${srcdir}/LiveSuit_For_Linux32
60
fi
61
mkdir -p "${pkgdir}/opt/${pkgname}"
62
cp -r LiveSuit/* ${pkgdir}/opt/${pkgname}/
63
64
# Kernel module awusb
65
mkdir -p ${pkgdir}/usr/lib/modules/`uname -r`/kernel/ ${pkgdir}/etc/udev/rules.d
66
cp ${srcdir}/${pkgname}/awusb/awusb.ko ${pkgdir}/usr/lib/modules/`uname -r`/kernel/
67
cp ${srcdir}/50-awusb.rules ${pkgdir}/etc/udev/rules.d/
68
}
69
70
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |