rusty-keys-nosystemd-git

LOW
maintainer dreieck 0 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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