hkd-git

LOW
maintainer BrainDamage 1 votes scanned 2026-09-17 00:27:14.276658
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-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

Report a package

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

0 / 4000
Your suggestion