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
3pkgname=hkd-git
4pkgver=r109.dfa7976
5pkgrel=2
6pkgdesc='hkd allows to define system-wide hotkeys independent from the graphical session'
7arch=('x86_64')
8url="https://git.alemauri.eu/alema/hkd"
9license=('MIT')
10makedepends+=('git')
11source=('git+https://git.alemauri.eu/alema/hkd')
12sha512sums=('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
19provides=("${_basename}")
20conflicts=("${_basename}")
21
22pkgver() {
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
32build() {
33 cd "${srcdir}/${_basename}"
34 make
35}
36
37package() {
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)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion