hkd-git
maintainer BrainDamage
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a Git repository from a plausible project-owned host, used to build the software from source, which is standard for AUR -git packages; the non-whitelisted host is not inherently dangerous in this context.
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 Git repository from a plausible project-owned host, used to build the software from source, which is standard for AUR -git packages; the non-whitelisted host is not inherently dangerous in this context.
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:11
source=('git+https://git.alemauri.eu/alema/hkd')
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: BrainDamage
2
3
pkgname=hkd-git
4
pkgver=r109.dfa7976
5
pkgrel=2
6
pkgdesc='hkd allows to define system-wide hotkeys independent from the graphical session'
7
arch=('x86_64')
8
url="https://git.alemauri.eu/alema/hkd"
9
license=('MIT')
10
makedepends+=('git')
11
source=('git+https://git.alemauri.eu/alema/hkd')
12
sha512sums=('SKIP')
13
14
15
# strip the -git suffix from name
16
_basename="${pkgname%-git}"
17
18
# conflict/provide the same package as the non -git version
19
provides=("${_basename}")
20
conflicts=("${_basename}")
21
22
pkgver() {
23
cd "${srcdir}/${_basename}"
24
( set -o pipefail
25
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
26
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
27
)
28
# 0.9.9.r27.g2b039da # if tags exist
29
# r1581.2b039da # else fallback
30
}
31
32
build() {
33
cd "${srcdir}/${_basename}"
34
make
35
}
36
37
package() {
38
cd "${srcdir}/${_basename}"
39
make PREFIX='/usr' INSTALL_ROOT="${pkgdir}" DESTDIR="${pkgdir}" install
40
install -Dvm644 LICENSE "${pkgdir}/usr/share/licenses/${_basename}/LICENSE"
41
install -Dvm644 README.md "${pkgdir}/usr/share/doc/${_basename}/README.md"
42
install -Dvm644 config.template "${pkgdir}/usr/share/doc/${_basename}/config.template"
43
install -Dvm644 keys.h "${pkgdir}/usr/share/doc/${_basename}/keys.h"
44
}
45
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 |