rusty-keys-nosystemd-git
maintainer dreieck
· 0 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 (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
4
pkgname=rusty-keys-nosystemd-git
5
pkgver=0.0.3.r92.20250219.1eb82d2
6
pkgrel=1
7
pkgdesc="uinput level keyboard mapper for linux"
8
url="https://code.moparisthebest.com/moparisthebest/rusty-keys"
9
makedepends=('cargo' 'git')
10
depends=()
11
arch=('i686' 'x86_64' 'armv7h' 'armv6h')
12
license=('AGPL')
13
backup=('etc/rusty-keys/keymap.toml')
14
source=("rusty-keys::git+https://code.moparisthebest.com/moparisthebest/rusty-keys.git")
15
validpgpkeys=('81F1C22DD41109D4A9C0A7B5B070F8D97D1A0BBA') # moparisthebest <admin AT moparisthebest.com>
16
sha256sums=(SKIP)
17
conflicts=(
18
"rusty-keys"
19
)
20
provides=(
21
"rusty-keys=$pkgver"
22
"rusty-keys-nosystemd=$pkgver"
23
"rusty-keys-git=$pkgver"
24
)
25
26
pkgver() {
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
42
prepare() {
43
cd "${srcdir}/rusty-keys"
44
export CARGO_HOME="${srcdir}/.cargo"
45
cargo fetch
46
}
47
48
build() {
49
cd "${srcdir}/rusty-keys"
50
export CARGO_HOME="${srcdir}/.cargo"
51
cargo build --release
52
}
53
54
package() {
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) | 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 |