slock-bgimage-cur
maintainer jtlab
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from a public Git repository plausibly owned by the maintainer, building a modified version of slock; the non-whitelisted host does not imply malicious intent as the content is source code built locally, and the checksum is verified.
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 source is a tarball from a public Git repository plausibly owned by the maintainer, building a modified version of slock; the non-whitelisted host does not imply malicious intent as the content is source code built locally, and the checksum is verified.
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}-${pkgver}.tar.gz::https://git.jaytechlab.com/api/v1/repos/public/slock-bgimage/archive/${pkgver}.tar.gz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Brate Z <brate kann karate at gmail dot com>
2
# This is a variant of slock-bgimage of GI_Jack. However, the original source of https://github.com/GIJack/slock-bgimage has been used to patch the actual suckless source repository, keeping a common merge base with upstream.
3
4
pkgname=slock-bgimage-cur
5
_pkgname=slock-bgimage
6
pkgver=1.5
7
pkgrel=1
8
pkgdesc="A simple screen locker for X (patched to allow background images, using the latest upstream)"
9
arch=('x86_64' 'i686' 'pentium4')
10
url="https://git.jaytechlab.com/public/slock-bgimage"
11
license=('MIT')
12
depends=('libxext' 'libxrandr')
13
providies=("slock=${pkgver}")
14
conflicts=("slock")
15
source=("${_pkgname}-${pkgver}.tar.gz::https://git.jaytechlab.com/api/v1/repos/public/slock-bgimage/archive/${pkgver}.tar.gz")
16
#source=("slock-$pkgver.tar.bz2::https://hg.suckless.org/slock/archive/$_pkgver.tar.gz")
17
sha256sums=('95ea8411dbc8f9e2a81277cb18b33760d292e9268e4344f3222012a219a6803a')
18
19
prepare() {
20
cd "$srcdir/${_pkgname}"
21
# TODO: WTF? Why not in source code?
22
sed -i 's|static const char \*group = "nobody";|static const char *group = "nobody";|' config.def.h
23
sed -ri 's/((CPP|C|LD)FLAGS) =/\1 +=/g' config.mk
24
}
25
26
build() {
27
cd "$srcdir/${_pkgname}"
28
make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
29
}
30
31
package() {
32
cd "$srcdir/${_pkgname}"
33
make PREFIX=/usr DESTDIR="$pkgdir" install
34
install -m644 -D LICENSE "$pkgdir/usr/share/licenses/_$pkgname/LICENSE"
35
}
36
37
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 |