icemaze-bin
maintainer vitaliikuzhdin
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads prebuilt snap binaries from the official snapcraft.io API, which is a legitimate distribution platform; while the host is not a typical source for AUR packages, the snap files are checksummed and come from a trusted service, reducing supply-chain risk.
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 prebuilt snap binaries from the official snapcraft.io API, which is a legitimate distribution platform; while the host is not a typical source for AUR packages, the snap files are checksummed and come from a trusted service, reducing supply-chain risk.
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:43
"https://api.snapcraft.io/api/v1/snaps/download/SNmBc9RKeGGSR5IntLSHw2TdKwcpq77f_1131.snap"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Vitalii Kuzhdin <vitaliikuzhdin@gmail.com>
2
3
_pkgname="icemaze"
4
pkgname="${_pkgname}-bin"
5
pkgver=39
6
_commit="24515a6142624985eb46f8b10fbd99f57a0ccaec" # 39
7
pkgrel=3
8
pkgdesc="A sliding block adventure. Platform/puzzle game."
9
arch=(
10
'aarch64'
11
'armv7h'
12
'i686'
13
'powerpc64le'
14
'x86_64'
15
)
16
url="https://arthursonzogni.com/en/IceMaze/"
17
_url="https://github.com/ArthurSonzogni/IceMaze"
18
license=(
19
'MIT'
20
)
21
depends=(
22
'glibc'
23
'libgcc'
24
'libglvnd'
25
'libstdc++'
26
'libx11'
27
)
28
makedepends=(
29
'squashfs-tools'
30
)
31
provides=(
32
"${_pkgname}"
33
)
34
conflicts=(
35
"${_pkgname}"
36
)
37
_pkgsrc="${_pkgname}-${pkgver}"
38
source=(
39
"${_pkgsrc}-README.md::${_url}/raw/${_commit}/README.md"
40
)
41
# https://askubuntu.com/a/1196449
42
source_aarch64=(
43
"https://api.snapcraft.io/api/v1/snaps/download/SNmBc9RKeGGSR5IntLSHw2TdKwcpq77f_1131.snap"
44
)
45
source_armv7h=(
46
"https://api.snapcraft.io/api/v1/snaps/download/SNmBc9RKeGGSR5IntLSHw2TdKwcpq77f_1132.snap"
47
)
48
source_i686=(
49
"https://api.snapcraft.io/api/v1/snaps/download/SNmBc9RKeGGSR5IntLSHw2TdKwcpq77f_1127.snap"
50
)
51
source_powerpc64le=(
52
"https://api.snapcraft.io/api/v1/snaps/download/SNmBc9RKeGGSR5IntLSHw2TdKwcpq77f_1133.snap"
53
)
54
source_x86_64=(
55
"https://api.snapcraft.io/api/v1/snaps/download/SNmBc9RKeGGSR5IntLSHw2TdKwcpq77f_1130.snap"
56
)
57
sha384sums=('fd69ceeb2f3b40ea2379fc8508430a3cf17d46402bf23e6305b547a174cd24d447b0b33da7180d19aa543ae704cce259')
58
sha384sums_aarch64=('7a69d4c5550440319136f4afdab1219fdee5a58c976da81813a8710fbd3678c12db95197ea4c3ce37f39c2d4a42af41e')
59
sha384sums_armv7h=('ddbe2157e7bc81b7fc11a366b62850b39d5777d0d5bbc4fa9804c4a996c46cc8574abbaa177e4e288c7f192623a4d0c6')
60
sha384sums_i686=('f8207497c57133f8240a79a55f1a63d563a4b21503696e7618daabfca05479e520dd18030849cdacfe165ffd77899d53')
61
sha384sums_powerpc64le=('34c85807906fdec3f92bf7f8ce2581291feeae1af0cd160b44f1346408b5b4d90b598017211afda4d99eabf3d3c1ca94')
62
sha384sums_x86_64=('ec67ab6897546762427fc482ce3ce139828596e7cbad04ff270c3e602945327875607cbccb7d04c4e28147b16f8b1ffc')
63
64
prepare() {
65
local source_array="source_${CARCH}[0]"
66
local source_url="${!source_array}"
67
local source_artifact="${source_url##*/}"
68
69
cd "${srcdir}"
70
unsquashfs -f -d "${srcdir}/${source_artifact%.snap}" "${source_artifact}"
71
72
cd "${source_artifact%.snap}/meta/gui"
73
sed -e "s|^Icon=.*|Icon=${_pkgname}|g" \
74
-i "${_pkgname}.desktop"
75
}
76
77
package() {
78
local source_array="source_${CARCH}[0]"
79
local source_url="${!source_array}"
80
local source_artifact="${source_url##*/}"
81
82
cd "${srcdir}"
83
install -vDm644 "${_pkgsrc}-README.md" "${pkgdir}/usr/share/doc/${_pkgname}/README.md"
84
85
cd "${source_artifact%.snap}"
86
install -vDm755 "usr/bin/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
87
88
cp -va --parents --no-preserve=ownership "usr/share/${_pkgname}" -t "${pkgdir}"
89
90
cd "meta/gui"
91
install -vDm644 "${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
92
install -vDm644 "icon.png" "${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
93
}
94
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 |