xcursor-perspective
maintainer SwooshyCueb
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a cursor theme (non-executable data) from a KDE-look API and verifies its integrity; the non-whitelisted host is part of the project's ecosystem, and the worst case of a swapped source is cosmetic tampering.
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 cursor theme (non-executable data) from a KDE-look API and verifies its integrity; the non-whitelisted host is part of the project's ecosystem, and the worst case of a swapped source is cosmetic tampering.
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:15
source=("${pkgname}_dl.xml::https://api.kde-look.org/ocs/v1/content/download/${_ocsid}/${_fileidx}"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Markus Kitsinger (SwooshyCueb) <root@swooshalicio.us>
2
3
pkgname=xcursor-perspective
4
pkgver=1.1
5
pkgrel=1
6
_ocsid=999679
7
_fileidx=1
8
pkgdesc="White, traditional, high contrast cursor theme made for Plasma Next"
9
arch=('any')
10
url="https://www.pling.com/p/${_ocsid}/"
11
depends=('libxcursor')
12
makedepends=('libxml2')
13
options=('!debug')
14
# the acutal download URL changes occasionally, so we have to use the API to fetch it
15
source=("${pkgname}_dl.xml::https://api.kde-look.org/ocs/v1/content/download/${_ocsid}/${_fileidx}"
16
"index.theme")
17
sha256sums=('SKIP'
18
'2380ccb9b9cc6a0099410113c58953d66d5adfed7700e06b6319b8a0da7d3f09')
19
20
prepare() {
21
echo -n ' '; msg "$(gettext "Retrieving sources...")"
22
cd "${startdir}"
23
_downloadlink=$(xmllint --xpath '//ocs/data/content[@details="download"]/downloadlink/text()' "${srcdir}/${pkgname}_dl.xml")
24
_netfile="${pkgname}-${pkgver}.tar.gz::${_downloadlink}"
25
download_file "${_netfile}"
26
27
echo -n ' '; msg "$(gettext "Validating %s files with %s...")" "source" "sha256sums"
28
verify_integrity_one "${_netfile}" sha256 "e9974a1d29360ebf22324d36014f3406ddae6272476a3c11af5101e686e84f81"
29
30
echo -n ' '; msg "$(gettext "Extracting sources...")"
31
cd "${srcdir}"
32
extract_file "${_netfile}"
33
}
34
35
package() {
36
install -d "${pkgdir}/usr/share/icons"
37
cp -r "${srcdir}/Perspective" "${pkgdir}/usr/share/icons"
38
install -Dm644 "${srcdir}/index.theme" "${pkgdir}/usr/share/icons/Perspective/index.theme"
39
}
40
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 |