rsrpc-git

maintainer k1f0 · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The non-standard host (discord.com) provides a JSON data file used by the application, not executable code; the worst case of tampering is service disruption, not remote code execution, and the primary source is the project's own Git repository built from scratch.

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 non-standard host (discord.com) provides a JSON data file used by the application, not executable code; the worst case of tampering is service disruption, not remote code execution, and the primary source is the project's own Git repository built from scratch.

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:15 "https://discord.com/api/v10/applications/detectable"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: k1f0 <archlinux at k1f0.mozmail.com>
2
3pkgname=rsrpc-git
4pkgver=r243.4ff3d5e
5pkgrel=1
6pkgdesc="Rust implementation of Discord RPC server"
7arch=("x86_64" "aarch64")
8url="https://github.com/SpikeHD/rsRPC"
9license=("MIT")
10makedepends=("cargo" "git")
11provides=("${pkgname%-git}")
12conflics=("${pkgname%-git}")
13install="rsrpc.install"
14source=("${pkgname%-git}::git+${url}.git"
15 "https://discord.com/api/v10/applications/detectable"
16 "rsrpc.install"
17 "rsrpc.service")
18sha256sums=('SKIP'
19 'SKIP'
20 'c96484996efde8defc8eb35b84766875732d0a105ef3b7c9bbabe9645f594ac3'
21 '6e39467d6d5a5fd93e4e8c8607296771958b70f5744aeb5940adf04ecaf58df4')
22options=(!debug)
23
24pkgver() {
25 cd "${srcdir}/${pkgname%-git}"
26 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
27}
28
29prepare() {
30 cd "${srcdir}/${pkgname%-git}"
31 cargo fetch --locked --target "${CARCH}-unknown-linux-gnu"
32}
33
34build() {
35 cd "${srcdir}/${pkgname%-git}"
36 export RUSTUP_TOOLCHAIN=stable
37 export CARGO_TARGET_DIR=target
38 cargo build --frozen --release --package rsrpc-cli
39}
40
41package() {
42 # install binary
43 cd "${srcdir}/${pkgname%-git}"
44 install -Dm0755 "target/release/${pkgname%-git}-cli" "${pkgdir}/usr/bin/${pkgname%-git}-cli"
45 # license
46 install -Dm0644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname%-git}"
47 # install detectable database
48 cd "${srcdir}"
49 mkdir -p "${pkgdir}/opt/rsrpc"
50 install -Dm0644 "detectable" "${pkgdir}/opt/rsrpc/detectable.json"
51 # install system service
52 install -Dm0644 "rsrpc.service" "${pkgdir}/usr/lib/systemd/user/rsrpc.service"
53}
54

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