danbooru-client-git
LOW
maintainer sl1pkn07
3 votes
scanned 2026-09-17 00:27:14.276658
Why flagged
The non-standard host hosts only a logo image (non-executable data), and the main source is a legitimate Git repository; the worst case of a swapped image is cosmetic.
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 non-standard host hosts only a logo image (non-executable data), and the main source is a legitimate Git repository; the worst case of a swapped image is cosmetic.
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:38
'git+https://git.dennogumi.org/kde/danbooru-client.git'
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
2
# Contributor: archtux <antonio dot arias99999 at gmail dot com>
3
4
pkgname=danbooru-client-git
5
pkgver=0.3.0.r401.0eb9232
6
pkgrel=1
7
pkgdesc="Application to access Danbooru-based image boards. (GIT Version)"
8
arch=('x86_64')
9
url='http://www.dennogumi.org/projects/danbooru-client'
10
license=('GPL3')
11
depends=(
12
'gcc-libs' # libstdc++.so
13
'glibc' # libc.so
14
'kio5' # libKF5KIOCore.so libKF5KIOFileWidgets.so
15
'kwallet5' # libKF5Wallet.so
16
'kwidgetsaddons5' # libKF5WidgetsAddons.so
17
'kxmlgui5' # libKF5XmlGui.so
18
'ktextwidgets5' # libKF5TextWidgets.so
19
'kdeclarative5' # libKF5Declarative.so
20
'ki18n5' # libKF5I18n.so
21
'kconfigwidgets5' # libKF5ConfigWidgets.so
22
'kcompletion5' # libKF5Completion.so
23
'kconfig5' # libKF5ConfigCore.so libKF5ConfigGui.so
24
'kcoreaddons5' # libKF5CoreAddons.so
25
'kfilemetadata5' # libKF5FileMetaData.so
26
'qt5-base' # libQt5Core.so libQt5Gui.so libQt5Widgets.so
27
'qt5-declarative' # libQt5Qml.so libQt5QuickWidgets.so
28
)
29
makedepends=(
30
'extra-cmake-modules'
31
'kdoctools5'
32
'git'
33
'python'
34
)
35
conflicts=('danbooru-client')
36
provides=('danbooru-client')
37
source=(
38
'git+https://git.dennogumi.org/kde/danbooru-client.git'
39
'https://github.com/lbeltrame/danbooru-client/raw/master/danbooru/img/logo.png'
40
)
41
sha256sums=(
42
'SKIP'
43
'395a907c61a3450e22a695f6d5e04bf3fbaf3342b02474ba401acbd595609b8b'
44
)
45
46
pkgver() {
47
cd danbooru-client
48
_ver="$(cat CMakeLists.txt | grep -m3 -e MAJOR -e MINOR -e PATCH | grep -o "[[:digit:]]*" | paste -sd'.')"
49
echo "${_ver}.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
50
}
51
52
prepare() {
53
sed '/danbooruservice.h/d' -i danbooru-client/src/danbooruconnectwidget.cpp
54
}
55
56
build() {
57
cmake -S danbooru-client -B build \
58
-DCMAKE_BUILD_TYPE=None \
59
-DCMAKE_INSTALL_PREFIX=/usr \
60
-DKDE_INSTALL_LIBDIR=lib \
61
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
62
-DBUILD_TESTING=OFF
63
64
cmake --build build
65
}
66
67
package() {
68
DESTDIR="${pkgdir}" cmake --install build
69
install -Dm644 logo.png "${pkgdir}/usr/share/pixmaps/danbooru.png"
70
sed 's|Icon=danbooru_client|Icon=danbooru|g' -i "${pkgdir}/usr/share/applications/"*.desktop
71
}
72
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |