rusty-keys-nosystemd-git

LOW
maintainer dreieck 0 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 (code.moparisthebest.com), used to build the project from source; the non-whitelisted host is the contributor's own domain, but the build is transparent and the code is auditable, making this a normal AUR packaging pattern with low risk.

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 (code.moparisthebest.com), used to build the project from source; the non-whitelisted host is the contributor's own domain, but the build is transparent and the code is auditable, making this a normal AUR packaging pattern with low risk.

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:14 source=("rusty-keys::git+https://code.moparisthebest.com/moparisthebest/rusty-keys.git")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: dreieck
2# Contributor: moparisthebest <admin dot archlinux AT moparisthebest dot com>
3
4pkgname=rusty-keys-nosystemd-git
5pkgver=0.0.3.r92.20250219.1eb82d2
6pkgrel=1
7pkgdesc="uinput level keyboard mapper for linux"
8url="https://code.moparisthebest.com/moparisthebest/rusty-keys"
9makedepends=('cargo' 'git')
10depends=()
11arch=('i686' 'x86_64' 'armv7h' 'armv6h')
12license=('AGPL')
13backup=('etc/rusty-keys/keymap.toml')
14source=("rusty-keys::git+https://code.moparisthebest.com/moparisthebest/rusty-keys.git")
15validpgpkeys=('81F1C22DD41109D4A9C0A7B5B070F8D97D1A0BBA') # moparisthebest <admin AT moparisthebest.com>
16sha256sums=(SKIP)
17conflicts=(
18 "rusty-keys"
19)
20provides=(
21 "rusty-keys=$pkgver"
22 "rusty-keys-nosystemd=$pkgver"
23 "rusty-keys-git=$pkgver"
24)
25
26pkgver() {
27 cd "${srcdir}/rusty-keys"
28
29 _ver="$(grep -E '^[[:space:]]*version[[:space:]]*=' Cargo.toml | awk -F= '{print $2}' | tr -d \"\'' ')" # `git describe --tags` is unreliable.
30 _rev="$(git rev-list --count HEAD)"
31 _date="$(git log -1 --date=format:"%Y%m%d" --format="%ad")"
32 _hash="$(git rev-parse --short HEAD)"
33
34 if [ -z "${_ver}" ]; then
35 error "Version could not be determined."
36 return 1
37 else
38 printf '%s' "${_ver}.r${_rev}.${_date}.${_hash}"
39 fi
40}
41
42prepare() {
43 cd "${srcdir}/rusty-keys"
44 export CARGO_HOME="${srcdir}/.cargo"
45 cargo fetch
46}
47
48build() {
49 cd "${srcdir}/rusty-keys"
50 export CARGO_HOME="${srcdir}/.cargo"
51 cargo build --release
52}
53
54package() {
55 cd "${srcdir}/rusty-keys"
56 export CARGO_HOME="${srcdir}/.cargo"
57
58 install -Dm755 target/release/rusty-keys "$pkgdir/usr/bin/rusty-keys"
59 install -Dm644 keymap.toml "${pkgdir}/etc/rusty-keys/keymap.toml"
60
61 install -Dm644 README.md "${pkgdir}/usr/share/doc/rusty-keys/README.md"
62 install -Dm644 systemd/rusty-keys.service "${pkgdir}/usr/share/doc/rusty-keys/rusty-keys.service"
63 install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
64}
65

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