pigami-bin
maintainer vitaliikuzhdin
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads prebuilt Snap packages from the official snapcraft.io API, which is a legitimate source; while not a standard host, it hosts verified publisher content, and the binaries are integrity-checked via b2sums, 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 packages from the official snapcraft.io API, which is a legitimate source; while not a standard host, it hosts verified publisher content, and the binaries are integrity-checked via b2sums, 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:44
"https://api.snapcraft.io/api/v1/snaps/download/PTHyNliL7fpWlPZvayBEynVfWdBzYUuB_545.snap"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Vitalii Kuzhdin <vitaliikuzhdin@gmail.com>
2
3
_pkgname="pigami"
4
pkgname="${_pkgname}-bin"
5
pkgver=30
6
_commit="cf8b986741504506764da2185eaff93bc15102da" # 30
7
pkgrel=3
8
pkgdesc="Roll a rectangular cube and reach the finish without falling! Platform/puzzle game."
9
arch=(
10
'aarch64'
11
'armv7h'
12
'i686'
13
'powerpc64le'
14
'x86_64'
15
)
16
url="https://arthursonzogni.com/en/Pigami/"
17
_url="https://github.com/ArthurSonzogni/${_pkgname}"
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
"${_pkgsrc}-LICENSE::${_url}/raw/${_commit}/LICENSE"
41
)
42
# https://askubuntu.com/a/1196449
43
source_aarch64=(
44
"https://api.snapcraft.io/api/v1/snaps/download/PTHyNliL7fpWlPZvayBEynVfWdBzYUuB_545.snap"
45
)
46
source_armv7h=(
47
"https://api.snapcraft.io/api/v1/snaps/download/PTHyNliL7fpWlPZvayBEynVfWdBzYUuB_547.snap"
48
)
49
source_i686=(
50
"https://api.snapcraft.io/api/v1/snaps/download/PTHyNliL7fpWlPZvayBEynVfWdBzYUuB_541.snap"
51
)
52
source_powerpc64le=(
53
"https://api.snapcraft.io/api/v1/snaps/download/PTHyNliL7fpWlPZvayBEynVfWdBzYUuB_546.snap"
54
)
55
source_x86_64=(
56
"https://api.snapcraft.io/api/v1/snaps/download/PTHyNliL7fpWlPZvayBEynVfWdBzYUuB_544.snap"
57
)
58
b2sums=('10bc6ccc1813858951e758159c5f2da70085ca7b4a580a1ae4d524869de713adb365dc5d362679dd8d9ed4576d7421c87247a7bd41da8aeb7ae06e2e69cd0c90'
59
'0a9aa4eab3e6f902305669987b6fbc5142e71f522aa10b5ff5a3896ed9cdc8541e396e0224a6313b90096743f9696b3d16887b619962c088780884137ae2e496')
60
b2sums_aarch64=('f7a37492c220c646ebf43cd93390a919405c66eeca408c6cf802ae5504c17677e696ed57e0893049ca1facd6f3c37f85a06272ab08cb8f13f6a16b35cd8f9da0')
61
b2sums_armv7h=('9cfb27dbecd260499de87b12bfc83156784bbb0fb0188dd2f76d8fb70729daf922aef7f3704bebf67673258d347cd0f5ddfbcea43c64706ee4b272161e854770')
62
b2sums_i686=('7e17bbcb39a6b5aa954297fb17b155176e783b64fe2d5deeed6e551a6de53579635e5692935d1361443839c5eea26444c09ef05c390ad041125da5c01d5b8554')
63
b2sums_powerpc64le=('beb14f98a4b00592122b8e649997155cf5288202ee11d05d3b3140f9d0fb332bade4147d71792159b5a73757ab6144ab6a8e6c382a0f11c0e166b2707c79883c')
64
b2sums_x86_64=('1ee5d53e7e4fbe738ad5834e8a2b3feb37e97d1366a56f59df7297769df30ada54cfdbdcceab5387131aae29ea0d28f0b618251d761fd0d574b82fecf25bf0e4')
65
66
prepare() {
67
local source_array="source_${CARCH}[0]"
68
local source_url="${!source_array}"
69
local source_artifact="${source_url##*/}"
70
71
cd "${srcdir}"
72
unsquashfs -f -d "${srcdir}/${source_artifact%.snap}" "${source_artifact}"
73
74
cd "${source_artifact%.snap}/meta/gui"
75
sed -e "s|^Icon=.*|Icon=${_pkgname}|g" \
76
-i "${_pkgname}.desktop"
77
}
78
79
package() {
80
local source_array="source_${CARCH}[0]"
81
local source_url="${!source_array}"
82
local source_artifact="${source_url##*/}"
83
84
cd "${srcdir}"
85
install -vDm644 "${_pkgsrc}-README.md" "${pkgdir}/usr/share/doc/${_pkgname}/README.md"
86
install -vDm644 "${_pkgsrc}-LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
87
88
cd "${source_artifact%.snap}"
89
install -vDm755 "usr/bin/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
90
91
cp -va --parents --no-preserve=ownership "usr/share/${_pkgname}" -t "${pkgdir}"
92
93
cd "meta/gui"
94
install -vDm644 "${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
95
install -vDm644 "${_pkgname}.png" "${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
96
}
97
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 |