battery_status_rs_notification

LOW
maintainer weva 1 votes base battery_status_rs scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The source is a git repository from a university-hosted domain, which is plausibly the maintainer's own project; building from source is standard practice and the checksums are provided, reducing 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 90%): The source is a git repository from a university-hosted domain, which is plausibly the maintainer's own project; building from source is standard practice and the checksums are provided, reducing 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=("git+https://git.unfug.hs-furtwangen.de/weva/battery_status_rs.git/#tag=$pkgver"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Valentin Weber
2pkgbase="battery_status_rs"
3pkgname=("battery_status_rs_notification"
4 "battery_status_rs_sleep"
5 "battery_status_rs_hibernate")
6pkgver="4.0.0"
7pkgrel="1"
8pkgdesc="A utility to watch the battery level."
9arch=('any')
10depends=('systemd')
11makedepends=('cargo'
12 'git')
13
14source=("git+https://git.unfug.hs-furtwangen.de/weva/battery_status_rs.git/#tag=$pkgver"
15 "battery_status_rs_notification.service"
16 "battery_status_rs_sleep.service"
17 "battery_status_rs_hibernate.service")
18
19sha256sums=('5d31fe8a45bcbf594f5f236357dde0d87f584b72ee1dd19173102e009f59171b'
20 '92ecbb16524c4ec6423d87979f655838b502fc0c5206127f34553c5ff837f3f8'
21 'e104c41b6c84c60ebca61545cc06a9e53c169f00d4eab50c2dd4df3d2f22500b'
22 'eead0cc7d1ffff3e6670f8ff2ba9bacb609b2a5df949786e488c378f4e0fee5c')
23
24prepare() {
25 cd battery_status_rs
26 cargo fetch --target "$CARCH-unknown-linux-gnu"
27}
28
29build() {
30 cd battery_status_rs
31 export RUSTUP_TOOLCHAIN=stable
32 export CARGO_TARGET_DIR=target
33 cargo build --frozen --release --all-features
34}
35
36package_battery_status_rs_notification() {
37 install -Dm0755 -t "$pkgdir/usr/lib/systemd/user/" "$pkgname.service"
38 install -Dm0755 -t "$pkgdir/usr/bin/" "battery_status_rs/target/release/$pkgname"
39}
40
41package_battery_status_rs_sleep() {
42 conflicts=('battery_status_rs_hibernate')
43 install -Dm0755 -t "$pkgdir/usr/lib/systemd/system/" "$pkgname.service"
44 install -Dm0755 -t "$pkgdir/usr/bin/" "battery_status_rs/target/release/$pkgname"
45}
46
47package_battery_status_rs_hibernate() {
48 conflicts=('battery_status_rs_sleep')
49 install -Dm0755 -t "$pkgdir/usr/lib/systemd/system/" "$pkgname.service"
50 install -Dm0755 -t "$pkgdir/usr/bin/" "battery_status_rs/target/release/$pkgname"
51}
52

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